Skip to main content
This page covers the most common questions about using Flatkey. If you have a question not answered here, contact support@flatkey.ai or use the live chat in the console.

Getting started

Flatkey is an AI API gateway that provides access to 160+ official AI models from OpenAI, Anthropic, Google, DeepSeek, Qwen, GLM, and more — all through a single OpenAI-compatible API key. It is a drop-in replacement for any OpenAI-compatible client: change base_url to https://router.flatkey.ai/v1, use your Flatkey key, and route to any model at discounted rates.
No. One Flatkey API key routes to all 160+ models across all providers. You do not need separate OpenAI, Anthropic, or Google API keys.
Yes. Flatkey routes your requests to the official vendor APIs — OpenAI, Anthropic, Google, DeepSeek, etc. The model outputs come directly from the original provider infrastructure. Flatkey does not host, fine-tune, or modify any models.

Billing and pricing

Flatkey is prepaid. You top up your balance (10,10, 20, $200, or custom enterprise) and the cost of each API request is deducted from your balance in real time. There are no subscriptions or recurring charges.
Every top-up earns bonus credit: +3on3 on 10, +8on8 on 20, +100on100 on 200. Bonus credit is added to your balance instantly, never expires, and spends just like paid credit. It is not a discount code — it is real credit that appears in your balance.
Yes. You can top up as many times as you like, and you earn bonus credit on each top-up. Three 200topupsearn200 top-ups earn 300 in bonus credit total.
API requests return a 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

Yes. The OpenAI Python and Node.js SDKs support a base_url parameter. Set it to https://router.flatkey.ai/v1 and use your Flatkey API key. No other changes are needed.
Yes. Set 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.
Use the same canonical model IDs you would use with the original provider — for example gpt-4o, claude-sonnet-4-5, gemini-2.5-flash. The full list is in the Model Directory.
Yes. Set 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

No. Flatkey has zero retention of request content — prompts and completions are never written to disk or stored. Only metadata (model, token counts, timestamps, cost) is recorded for billing and analytics.
Flatkey operates under GDPR-compliant infrastructure and maintains controls aligned with SOC 2 and ISO 27001 standards.
Revoke the key immediately from the Keys page in the console. Revocation is instant. Then create a new key and update your application. See API Key Management for details.

Enterprise

Yes. Enterprise accounts support invoice billing, custom monthly usage, team procurement, and dedicated routing discounts. Contact support@flatkey.ai to discuss terms.
Yes. Use Groups in the console to set model access policies and spend quotas on individual keys or groups of keys.

Support