Baltor Get started

Endpoints

FastRouter

A hosted service with its own key and prices. This page lists the addresses it answers, the facts its documentation states, and the setup of each harness.

Addresses and facts

  • OpenAI Chat Completions: https://go.fastrouter.ai/api/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in FASTROUTER_API_KEY models.dev, read
Structured output
Unknown
Tool calling
34 of 47 listed models The share of this provider's models that models.dev records with tool calling. models.dev, read
Rate limits
Unknown
Prices
Unknown
Data retention
Unknown
Documentation
Read the page models.dev, read
Output limits Baltor recorded
Unknown

Harness setup

Replace anthropic/claude-opus-4.1 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "fastrouter": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "FastRouter",
      "options": {
        "baseURL": "https://go.fastrouter.ai/api/v1",
        "apiKey": "{env:FASTROUTER_API_KEY}"
      },
      "models": {
        "anthropic/claude-opus-4.1": {
          "name": "anthropic/claude-opus-4.1"
        }
      }
    }
  }
}
  • OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.

From OpenCode documentation, read .

Pi

Put this in ~/.pi/agent/models.json:

{
  "providers": {
    "fastrouter": {
      "baseUrl": "https://go.fastrouter.ai/api/v1",
      "api": "openai-completions",
      "apiKey": "$FASTROUTER_API_KEY",
      "models": [
        {
          "id": "anthropic/claude-opus-4.1"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and FastRouter documents no Responses address. A gateway that offers one can sit in between.

  • Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.

From Codex documentation, read .

Claude Code

Claude Code sends Anthropic Messages requests, and FastRouter documents no such address. A gateway that translates to that API can sit in between.

  • Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.

From Claude Code documentation, read .

Models it lists

Prices in US dollars per million tokens, input and output, as models.dev, read records them.

ModelInputOutputContextAs of
Claude Opus 4.1 anthropic/claude-opus-4.115.00 USD75.00 USD200,000 older than 30 days
Claude Opus 4.8 anthropic/claude-opus-4.85.00 USD25.00 USD1,000,000 older than 30 days
Claude Sonnet 4 anthropic/claude-sonnet-43.00 USD15.00 USD200,000 older than 30 days
Claude Sonnet 4.6 anthropic/claude-sonnet-4.63.00 USD15.00 USD1,000,000 older than 30 days
Seedance 2 bytedance/seedance-2UnknownUnknown4,096
DeepSeek R1 Distill Llama 70B deepseek-ai/deepseek-r1-distill-llama-70b0.030 USD0.140 USD131,072 older than 30 days
DeepSeek V4 Pro deepseek/deepseek-v4-pro1.74 USD3.48 USD1,000,000 older than 30 days
Gemini 2.5 Flash google/gemini-2.5-flash0.300 USD2.50 USD1,048,576 older than 30 days
Gemini 2.5 Pro google/gemini-2.5-pro1.25 USD10.00 USD1,048,576 older than 30 days
Nano Banana Pro Preview google/gemini-3-pro-image-preview2.00 USD12.00 USD65,536 older than 30 days
Nano Banana 2 Preview google/gemini-3.1-flash-image-preview0.500 USD3.00 USD65,536 older than 30 days
Gemini 3.1 Pro Preview google/gemini-3.1-pro-preview2.00 USD12.00 USD1,048,576 older than 30 days
Gemini 3.5 Flash google/gemini-3.5-flash1.50 USD9.00 USD1,048,576 older than 30 days
Gemma 4 31B IT google/gemma-4-31b-it0.130 USD0.380 USD262,144 older than 30 days
Imagen 4 Fast google/imagen-4.0-fastUnknownUnknown480
Imagen 4 Ultra google/imagen-4.0-ultraUnknownUnknown480
Veo 3.1 google/veo3.1UnknownUnknown400,000
Veo 3.1 Fast google/veo3.1-fastUnknownUnknown400,000
Veo 3.1 Lite google/veo3.1-liteUnknownUnknown400,000
Lucid Origin leonardo-ai/lucid-originUnknownUnknown4,096
Lucid Realism leonardo-ai/lucid-realismUnknownUnknown4,096
MiniMax-M2.7 minimax/minimax-m2.70.300 USD1.20 USD204,800 older than 30 days
MiniMax-M2.7-highspeed minimax/minimax-m2.7-highspeed0.600 USD2.40 USD204,800 older than 30 days
Kimi K2 moonshotai/kimi-k20.550 USD2.20 USD131,072 older than 30 days
Kimi K2.6 moonshotai/kimi-k2.60.750 USD3.50 USD262,144 older than 30 days
GPT-4.1 openai/gpt-4.12.00 USD8.00 USD1,047,576 older than 30 days
GPT-5 openai/gpt-51.25 USD10.00 USD400,000 older than 30 days
GPT-5 Mini openai/gpt-5-mini0.250 USD2.00 USD400,000 older than 30 days
GPT-5 Nano openai/gpt-5-nano0.050 USD0.400 USD400,000 older than 30 days
GPT-5.3 Codex openai/gpt-5.3-codex1.75 USD14.00 USD400,000 older than 30 days
GPT-5.4 mini openai/gpt-5.4-mini0.750 USD4.50 USD400,000 older than 30 days
GPT-5.4 nano openai/gpt-5.4-nano0.200 USD1.25 USD400,000 older than 30 days
GPT-5.5 openai/gpt-5.55.00 USD30.00 USD1,050,000 older than 30 days
GPT-5.5 Pro openai/gpt-5.5-pro30.00 USD180.00 USD1,050,000 older than 30 days
GPT Image 2 openai/gpt-image-2UnknownUnknown128,000
GPT OSS 120B openai/gpt-oss-120b0.150 USD0.600 USD131,072 older than 30 days
GPT OSS 20B openai/gpt-oss-20b0.050 USD0.200 USD131,072 older than 30 days
GPT Realtime 1.5 openai/gpt-realtime-1.54.00 USD16.00 USD32,000 older than 30 days
Qwen3 Coder qwen/qwen3-coder0.300 USD1.20 USD262,144 older than 30 days
Sarvam 105B sarvam/sarvam-105b0.040 USD0.160 USD131,072 older than 30 days
Sarvam 30B sarvam/sarvam-30b0.020 USD0.100 USD128,000 older than 30 days
Wan 2.6 wanx/wan-v2-6UnknownUnknown400,000
Grok 4 x-ai/grok-43.00 USD15.00 USD256,000 older than 30 days
Grok 4.3 x-ai/grok-4.31.25 USD2.50 USD1,000,000 older than 30 days
Grok Build 0.1 x-ai/grok-build-0.11.00 USD2.00 USD256,000 older than 30 days
GLM-5 z-ai/glm-50.950 USD3.15 USD204,800 older than 30 days
GLM-5.1 z-ai/glm-5.11.05 USD3.50 USD200,000 older than 30 days

Sources of this page