Using Trinity-Large-Thinking on Vercel AI Gateway
Implementation guide · Trinity · Arcee AI
ServerlessOpen Source
Vercel AI Gateway exposes Trinity-Large-Thinking through model ID arcee-ai/trinity-large-thinking. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-06-29. Next refresh: weekly.
Quick Start
- 1
- 2Use the Vercel AI Gateway SDK or REST API to call
arcee-ai/trinity-large-thinking— see the documentation for request format. - 3
Code Examples
Install
pip install openaiAPI key
AI_GATEWAY_API_KEYModel ID
arcee-ai/trinity-large-thinkingcreator/model-name e.g. kwaipilot/kat-coder-pro-v2
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AI_GATEWAY_API_KEY"],
base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
model="arcee-ai/trinity-large-thinking",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on Vercel AI Gateway
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.25 |
| Output tokens | $0.90 |
Capabilities
ReasoningJSON / Tool useStructured Outputs
About Trinity-Large-Thinking
Arcee AI's flagship 400B sparse MoE reasoning model with 13B active parameters per token. Trained on 20T tokens with a STEM-focused curriculum. Designed for agentic workflows, chain-of-thought reasoning, and long-context tasks up to 256K tokens (BF16 API). Open-source under Apache 2.0. Available via Arcee AI API.
Model Specs
Released2026-04-01
Parameters400B
Context256k
ArchitectureMixture of Experts