every model.
one key. flat rate.
OpenAI-compatible gateway to every major LLM. Wholesale token pricing, 99.95% uptime, automatic provider failover.
uptime
uptime
median TTFT
models
$ drop-in
Change one URL. Your code already works.
Anthropic and OpenAI SDKs. Drop-in compatible.
from anthropic import Anthropic
client = Anthropic(
api_key="sk-fk-your-key",
base_url="https://flatkey.ai"
)
response = client.messages.create(
model="claude-haiku",
max_tokens=256,
messages=[{"role": "user", "content": "Hello!"}]
)$ pricing
Built for the line in your finance dashboard.
Compare us against the official APIs and OpenRouter.
| Model | Anthropic | OpenAI | OpenRouter | flatkey |
|---|---|---|---|---|
| Claude Haiku | $0.80 / $4.00 | — | $0.84 / $4.20 | $0.65 / $3.20 |
| Claude Sonnet | $3.00 / $15.00 | — | $3.15 / $15.75 | $2.40 / $12.00 |
| GPT-4o | — | $2.50 / $10.00 | $2.63 / $10.50 | $2.00 / $8.00 |
| Qwen 2.5 72B | — | — | $0.30 / $0.90 | $0.10 / $0.30 |
| DeepSeek V3 | — | — | $0.27 / $1.10 | $0.22 / $0.90 |
Prices in USD per 1M tokens. OpenRouter adds 5% on top of provider price.
$ why
Wholesale rates. No surge. No surprise.
Three things that beat the official APIs and resellers.
Up to 40% off list
We pass on wholesale token discounts. Same Claude, same GPT-4o, same Gemini — just cheaper.
99.95% uptime
Multi-provider failover routes around any single outage. Your code never sees a 503.
Drop-in replacement
Anthropic & OpenAI SDKs work as-is. Change one URL. Streaming, tools, vision — all of it.
$ models
Every model worth using.
Switch models with a string. No new SDK, no new auth.
| Model | Provider | Input /1M | Output /1M | vs official |
|---|---|---|---|---|
Claude Haiku 4.5 claude-haiku | Anthropic | $0.65 | $3.20 | −20% |
Claude Sonnet 4.7 claude-sonnet | Anthropic | $2.40 | $12.00 | −20% |
Claude Opus 4.7 claude-opus | Anthropic | $12.00 | $60.00 | −20% |
GPT-4o gpt-4o | OpenAI | $2.00 | $8.00 | −20% |
GPT-4o mini gpt-4o-mini | OpenAI | $0.12 | $0.50 | −17% |
OpenAI o1 o1 | OpenAI | $12.00 | $48.00 | −20% |
Gemini 2.0 Pro gemini-2.0-pro | $1.50 | $8.00 | −21% | |
Gemini 2.0 Flash gemini-2.0-flash | $0.08 | $0.32 | −20% | |
Llama 3.3 70B llama-3.3-70b | Meta | $0.40 | $0.55 | −32% |
Grok 3 grok-3 | xAI | $4.00 | $12.00 | −20% |
Wholesale price means nothing if it's down.
Email signup, get a key, start calling. Free during beta.
Get a key →No card. No commitment.