Getting started
What is Flatkey?
What is Flatkey?
base_url to https://router.flatkey.ai/v1, use your Flatkey key, and route to any model at discounted rates.Do I need a separate API key for each provider?
Do I need a separate API key for each provider?
Are the models official versions from the original providers?
Are the models official versions from the original providers?
Billing and pricing
How does billing work?
How does billing work?
How does the top-up bonus work?
How does the top-up bonus work?
Can I top up multiple times?
Can I top up multiple times?
What happens if my balance hits zero?
What happens if my balance hits zero?
401 Insufficient Balance error. There are no automatic charges. Top up your balance to resume. Enable low-balance alerts in Settings → Notifications to avoid interruptions.Compatibility and models
Is Flatkey compatible with the official OpenAI SDK?
Is Flatkey compatible with the official OpenAI SDK?
base_url parameter. Set it to https://router.flatkey.ai/v1 and use your Flatkey API key. No other changes are needed.Can I use Flatkey with the Anthropic SDK?
Can I use Flatkey with the Anthropic SDK?
base_url to https://router.flatkey.ai (no /v1) in the Anthropic SDK constructor and use your Flatkey API key. See the Anthropic SDK guide for details.Which model names should I use?
Which model names should I use?
gpt-4o, claude-sonnet-4-5, gemini-2.5-flash. The full list is in the Model Directory.Does Flatkey support streaming?
Does Flatkey support streaming?
stream: true in your request. Flatkey returns server-sent events (SSE) in the same format as the OpenAI API. Streaming works for all chat and text generation models.Privacy and security
Does Flatkey store my prompts or completions?
Does Flatkey store my prompts or completions?
What compliance certifications does Flatkey have?
What compliance certifications does Flatkey have?
What should I do if my API key is compromised?
What should I do if my API key is compromised?
Enterprise
Does Flatkey offer invoice-based billing?
Does Flatkey offer invoice-based billing?
Can I restrict which models a key can access?
Can I restrict which models a key can access?
Support
How do I contact support?
How do I contact support?
- Email: support@flatkey.ai
- Live chat: Available at flatkey.ai and in the console
- X (Twitter): @flatkey101