An OpenAI-compatible unified model gateway: one key, one endpoint, smart-routed across 50+ LLMs with automatic multi-upstream failover.
Sign up, add a payment method, then claim your key on the onboarding page (5M free tokens included).
Set base URL to https://kopiaiagent.com/v1 — any OpenAI-SDK-compatible client just works.
Recommended: kopi-o (daily) / kopi-flash (fastest) / kopi-o-pro (flagship). Switch per task anytime.
Prices per million tokens (USD). “Metered” means real-time pricing — query /v1/pricing.
| Model | Tier | Context | Input $/M | Output $/M | Notes |
|---|---|---|---|---|---|
| kopi-oRecommended | T2 Standard | 262K | $0.30 | $0.30 | Daily driver · reasoning + multimodal |
| kopi-flash | T3 Fast | 128K | $0.30 | $0.30 | Fastest · everyday chat |
| kopi-o-pro | T1 Flagship | 1M | $0.30 | $0.30 | Flagship reasoning · strongest |
| kopi-o-flash | T3 Fast | 262K | $0.80 | $2.00 | Fast & lightweight |
| kopi-qwen | T2 Standard | 1M | $1.25 | $5.00 | Ultra-long context |
| kopi-kimi | T2 Standard | 262K | $0.74 | $2.50 | Code specialist |
| kopi-gemini | T3 Fast | 1M | $1.50 | $5.00 | Fast multimodal |
| kopi-gpt5 | T1 Flagship | 1M | $5.00 | $15.00 | Strongest closed-source reasoning |
| kopi-opus | T1 Flagship | 1M | $7.00 | $35.00 | Deep analysis |
| kopi-ds-r1 | T2 Standard | 128K | Metered | Metered | Open reasoning · usage-based pricing |
Fully OpenAI Chat Completions compatible — just swap the base_url, no code changes.
curl https://bill.kopiagent.ai/v1/chat/completions \
-H "Authorization: Bearer <your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"model": "kopi-o",
"messages": [{"role": "user", "content": "Hello!"}],
"max_tokens": 1024
}'from openai import OpenAI
client = OpenAI(
api_key="<your_api_key>",
base_url="https://bill.kopiagent.ai/v1",
)
response = client.chat.completions.create(
model="kopi-o",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)curl https://bill.kopiagent.ai/v1/chat/completions \
-H "Authorization: Bearer <your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"model": "kopi-flash",
"messages": [{"role": "user", "content": "Hi"}],
"stream": true
}'TokenMax routes each request to the best-fit model; if an upstream times out, rate-limits or errors, it automatically falls through a 5-level chain — zero downtime, no client retries.
Sign up to start — 5,000,000 free tokens after adding a payment method.
Start for freeor reach us at contact@kopiaiagent.com