Skip to main content
Connect GPT, Claude, Gemini, DeepSeek, and more with one OpenAI-compatible API key. Set your client’s base_url to https://router.flatkey.ai/v1 to get started.

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.

At least 20% savings

API prices are at least 20% below the official API list price for the same model. Top up $200 and get $100 in bonus credit.

99.9% reliability

Automatic failover across upstream providers. Live health dashboards show real success rates from production traffic.

Data handling

Review the current privacy terms of Flatkey and your selected provider. Contact support to confirm retention periods.

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 300+ models with live pricing and health data.

How it works

Flatkey sits between your application and AI providers. When you send a request:
  1. Your client calls https://router.flatkey.ai/v1 with your Flatkey API key.
  2. Flatkey authenticates the request and deducts the cost from your prepaid balance.
  3. The request is forwarded to the official provider API (OpenAI, Anthropic, etc.).
  4. The response is returned directly to your client — no transformation of the content.
Review Flatkey’s current privacy terms and those of your selected provider for data handling requirements. Contact support@flatkey.ai to confirm retention periods or discuss a security review.

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