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.
Terminal
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"}]
}'| Protocol | Base URL | Auth header | Best for |
|---|---|---|---|
| OpenAI compatible | https://api.flyrouter.ai/v1 | Authorization: Bearer | Most SDKs and clients, GPT models |
| Anthropic native | https://api.flyrouter.ai | x-api-key or Authorization: Bearer | Claude models, Claude Code |
| Gemini native | https://api.flyrouter.ai | Authorization: Bearer or x-goog-api-key | Gemini models, Google Gen AI SDK |
Start here
QuickstartCreate an API key and send your first request with Python, TypeScript or cURL.API referenceEndpoints, request parameters, response shapes and error codes for all three protocols.IntegrationsSet up Claude Code, Codex, Cursor, Cherry Studio and other tools.Model pricingLive prices for every available model, billed by actual usage.