One key, every major model
GPT, Gemini, Claude, DeepSeek, and Seedance behind a single OpenAI-compatible endpoint — swap models by changing one string.
One API key routes to every major model — GPT, Gemini, Claude, DeepSeek, Seedance — with automatic failover, usage analytics, and a single invoice instead of five provider accounts.
GPT · Gemini · Claude · DeepSeek · Seedance — one key, one invoice · no credit card to start
Sample output pricing
| GPT-5 / 1M tokens | $6.67 | $10.00 |
| Gemini 2.5 Pro / 1M tokens | $6.67 | $10.00 |
| DeepSeek V4 Flash / 1M tokens | $0.07 | $0.14 |
* Illustrative pricing — see the flatkey pricing page for live rates.
from openai import OpenAI
client = OpenAI(
base_url="https://router.flatkey.ai/v1",
api_key="YOUR_FLATKEY_KEY",
)
response = client.chat.completions.create(
model="gpt-5",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)curl https://router.flatkey.ai/v1/chat/completions \
-H "Authorization: Bearer $FLATKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5",
"messages": [{"role": "user", "content": "Hello"}]
}'GPT, Gemini, Claude, DeepSeek, and Seedance behind a single OpenAI-compatible endpoint — swap models by changing one string.
Health-checked upstream channels with automatic retries and failover, so one provider outage does not take your product down.
Per-key and per-model usage, live spend tracking, and prepaid limits keep costs visible and bounded.
Consolidate five provider bills into one balance and one invoice — simpler procurement, simpler accounting.
One API key routes to every major model — GPT, Gemini, Claude, DeepSeek, Seedance — with automatic failover, usage analytics, and a single invoice instead of five provider accounts.
Get your gateway keyGPT · Gemini · Claude · DeepSeek · Seedance — one key, one invoice · no credit card to start
The gateway continuously health-checks upstream channels and retries or reroutes failed requests automatically — no client-side changes required.
No. flatkey.ai is OpenAI-compatible: keep your existing OpenAI SDK and switch base_url plus api_key. Model ids stay the same.
One prepaid balance covers every model. Usage analytics and a single invoice keep spend bounded before you scale.