base_url) and your requests are routed through Flatkey at up to 50% off official pricing, thanks to discounted base rates and stackable bonus credits on every top-up.
What Flatkey gives you
One key, all models
A single API key and base URL routes to GPT, Claude, Gemini, DeepSeek, Qwen, GLM, and more. No per-provider keys to manage.
Up to 50% savings
Models priced at 60–90% of official list. Top up 100 bonus credit — stacked, as low as half the official price.
99.9% reliability
Automatic failover across upstream providers. Live health dashboards show real success rates from production traffic.
Zero data retention
Prompts and completions are never stored. GDPR compliant, SOC 2 and ISO 27001 aligned controls.
Prepaid balance
Top up once, consume as you go. No subscriptions, no surprise invoices.
Full API compatibility
OpenAI-compatible endpoints: chat completions, responses, embeddings, image generation, and models list.
Supported providers
Flatkey routes to official APIs from every major AI vendor:
See the full Model Directory for all 160+ models with live pricing and health data.
How it works
Flatkey sits between your application and AI providers. When you send a request:- Your client calls
https://router.flatkey.ai/v1with your Flatkey API key. - Flatkey authenticates the request and deducts the cost from your prepaid balance.
- The request is forwarded to the official provider API (OpenAI, Anthropic, etc.).
- The response is returned directly to your client — no transformation of the content.
Next steps
Quickstart
Create an account and make your first API call in under 5 minutes
Authentication
Learn how to create and use your Flatkey API key
OpenAI SDK Guide
Use Flatkey with the official OpenAI SDK — Python or Node.js
API Reference
Full endpoint reference for all supported API methods