Flatrouter

Other Tool Integrations

Flatrouter speaks OpenAI, Anthropic and Gemini, so Continue, Aider, BoltAI and similar tools connect with the same few fields.

Flatrouter speaks the OpenAI, Anthropic and Gemini protocols, so any tool that uses one of them can connect. Below are a few common setups.

Chatbox still works with the generic steps below. A dedicated guide is not ready yet.

Generic rules

Whatever the tool, the mapping is the same:

Protocol the tool usesBase URLAPI key header
OpenAI-compatiblehttps://api.flatrouter.com/v1Authorization: Bearer sk-xxx
Native Anthropichttps://api.flatrouter.com/anthropicx-api-key: sk-xxx
Native Geminihttps://api.flatrouter.com/geminix-goog-api-key: sk-xxx

Continue (VS Code / JetBrains)

Continue is an open-source coding assistant for VS Code and JetBrains IDEs.

{
  "models": [
    {
      "title": "Flatrouter GPT-4o",
      "provider": "openai",
      "model": "openai/gpt-4o",
      "apiBase": "https://api.flatrouter.com/v1",
      "apiKey": "<your Flatrouter API key>"
    },
    {
      "title": "Flatrouter Claude Sonnet",
      "provider": "openai",
      "model": "anthropic/claude-sonnet-4.6",
      "apiBase": "https://api.flatrouter.com/v1",
      "apiKey": "<your Flatrouter API key>"
    }
  ]
}

Aider

Aider is a command-line AI pair-programming tool.

export OPENAI_API_KEY=<your Flatrouter API key>
export OPENAI_API_BASE=https://api.flatrouter.com/v1
aider --model openai/gpt-4o

BoltAI (macOS)

BoltAI is a native macOS AI assistant.

  1. Open BoltAI → Preferences → Providers
  2. Add Custom OpenAI
  3. Base URL: https://api.flatrouter.com/v1
  4. Paste your API key

TypingMind

TypingMind is an AI chat UI.

  1. Go to Settings → Custom Endpoint
  2. API Endpoint: https://api.flatrouter.com/v1
  3. API Key: your Flatrouter API key

Custom integrations

For anything not listed here:

  1. Find the tool's API settings
  2. Set the API base URL to https://api.flatrouter.com/v1
  3. Set the API key to your Flatrouter key
  4. Use provider/model-name as the model name

If you get Flatrouter working in another tool, a contribution is welcome.

On this page