Tool Integrations
Flatrouter speaks the OpenAI, Anthropic and Gemini SDK protocols — one API key works everywhere.
Flatrouter is compatible with the OpenAI, Anthropic and Gemini SDK protocols, so it drops into any tool that speaks one of them. One API key, everywhere.
Get an API key first
Every guide here needs a Flatrouter API key. Create one under Console → API Keys.
Endpoints at a glance
| Protocol | Base URL |
|---|---|
| Anthropic Messages (native) | https://api.flatrouter.com/anthropic |
| OpenAI-compatible | https://api.flatrouter.com/v1 |
| OpenAI Chat Completions (full path) | https://api.flatrouter.com/v1/chat/completions |
| Image Generation API (POST, full path) | https://api.flatrouter.com/v1/images/generations |
| Image Editing API (POST, full path) | https://api.flatrouter.com/v1/images/edits |
| Async Image Generation Task (POST, full path) | https://api.flatrouter.com/v1/images/generations/async |
| Query Async Image Task (GET, full path) | https://api.flatrouter.com/v1/images/tasks/{task_id} |
| Native Gemini | https://api.flatrouter.com/gemini |
Supported tools
| Tool | Category | Protocol | Guide |
|---|---|---|---|
| Claude Code | Coding agent | Anthropic | Setup guide → |
| Codex CLI | Coding agent | OpenAI | Setup guide → |
| Gemini CLI | Coding agent | Gemini | Coming soon |
| Cursor | Code editor | ⚠️ Not compatible — see the guide for alternatives | Compatibility notes → |
| GitHub Copilot | VS Code extension | OpenAI | Setup guide → |
| Claude Coworks | Desktop AI client | Anthropic | Coming soon |
| Zed Editor | Code editor | OpenAI | Coming soon |
| Cline | VS Code extension | OpenAI / Anthropic / Gemini | Coming soon |
| OpenClaw | Desktop AI client | OpenAI / Anthropic / Gemini | Setup guide → |
| Cherry Studio | Desktop AI client | OpenAI / Anthropic / Gemini | Setup guide → |
| CC-Switch | Multi-provider manager | OpenAI / Anthropic / Gemini | Setup guide → |
| BotGem | Desktop AI client | OpenAI / Anthropic / Gemini | Coming soon |
| Chatbox | Desktop AI client | OpenAI / Anthropic / Gemini | Coming soon |
| WorkBuddy | AI agent desktop app | OpenAI | Setup guide → |
| PicoClaw | Lightweight AI assistant | OpenAI | Coming soon |
| LobeHub | Desktop AI client | OpenAI / Anthropic / Gemini | Coming soon |
| OpenCat | Desktop AI client | OpenAI | Coming soon |
| NextChat | Desktop AI client | OpenAI / Anthropic / Gemini | Coming soon |
| Immersive Translate | Browser translation extension | OpenAI / Anthropic | Coming soon |
| OpenCode | Coding agent | OpenAI / Anthropic | Setup guide → |
| ZCode | AI coding tool | OpenAI / Anthropic | Setup guide → |
| OpenAI SDK | SDK | OpenAI | Coming soon |
| LangChain | Framework | OpenAI | Coming soon |
| LlamaIndex | Framework | OpenAI | Coming soon |
| Other tools | Other | OpenAI | See more → |
Anything marked "Coming soon" still works today — each of these speaks one of the protocols above, so pasting in the base URL and your API key is enough. Only the step-by-step guide is still being written.
Start here
Claude Code
Anthropic's coding CLI, over the native Anthropic protocol
Codex CLI
OpenAI's coding CLI and desktop app, over the OpenAI protocol
CC-Switch
Manage several providers visually, with usage lookup built in
WorkBuddy
Tencent's AI agent desktop app
Cherry Studio
Cross-platform desktop client, 100+ models from one key
OpenCode
Open-source coding agent, over the OpenAI-compatible protocol