Using Trinity Mini on Vercel AI Gateway
Implementation guide · Trinity · Arcee AI
ServerlessOpen Source
Vercel AI Gateway exposes Trinity Mini through model ID arcee-ai/trinity-mini. 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-mini— see the documentation for request format. - 3
Code Examples
Install
pip install openaiAPI key
AI_GATEWAY_API_KEYModel ID
arcee-ai/trinity-minicreator/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-mini",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on Vercel AI Gateway
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.04 |
| Output tokens | $0.15 |
Capabilities
JSON / Tool useStructured Outputs
About Trinity Mini
26B sparse MoE with 3B active parameters per token and 128K context window. Trained on 10T tokens. Fully post-trained for reasoning and instruction following, suitable for cloud or on-premises deployment. Available via Arcee AI API and OpenRouter.
Model Specs
Released2025-12-01
Parameters26B
Context128k
ArchitectureMixture of Experts