Guides

FlyRouter developer docs

One API key for Claude, GPT, Gemini, Grok, DeepSeek and more. FlyRouter speaks the OpenAI, Anthropic and Gemini protocols, so official SDKs and the tools you already use only need a new base URL and API key.

Three protocols, one key

Pick the protocol that matches your existing code or tool. All three share the same API key and account balance.

curl https://api.flyrouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $FLYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-6.1-sol",
    "messages": [{"role": "user", "content": "Introduce yourself in one sentence"}]
  }'
ProtocolBase URLAuth headerBest for
OpenAI compatiblehttps://api.flyrouter.ai/v1Authorization: BearerMost SDKs and clients, GPT models
Anthropic nativehttps://api.flyrouter.aix-api-key or Authorization: BearerClaude models, Claude Code
Gemini nativehttps://api.flyrouter.aiAuthorization: Bearer or x-goog-api-keyGemini models, Google Gen AI SDK

Start here

FlyRouter

One key, every top AI model