Baltor Get started

Endpoints

UnoRouter

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://api.unorouter.com/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in UNOROUTER_API_KEY models.dev, read
Structured output
Unknown
Tool calling
23 of 23 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 claude-haiku-4-5-20251001 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "unorouter": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "UnoRouter",
      "options": {
        "baseURL": "https://api.unorouter.com/v1",
        "apiKey": "{env:UNOROUTER_API_KEY}"
      },
      "models": {
        "claude-haiku-4-5-20251001": {
          "name": "claude-haiku-4-5-20251001"
        }
      }
    }
  }
}
  • 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": {
    "unorouter": {
      "baseUrl": "https://api.unorouter.com/v1",
      "api": "openai-completions",
      "apiKey": "$UNOROUTER_API_KEY",
      "models": [
        {
          "id": "claude-haiku-4-5-20251001"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and UnoRouter 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 UnoRouter 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 Haiku 4.5 claude-haiku-4-5-202510011.20 USD6.00 USD200,000 older than 30 days
Claude Opus 4.8 claude-opus-4-80.425 USD2.12 USD1,000,000 older than 30 days
Claude Sonnet 5 claude-sonnet-51.44 USD7.20 USD1,000,000 older than 30 days
DeepSeek V4 Flash deepseek-v4-flash0.062 USD0.125 USD1,000,000 older than 30 days
DeepSeek V4 Flash deepseek-v4-flash:free0 USD0 USD1,000,000 older than 30 days
DeepSeek V4 Pro deepseek-v4-pro0.900 USD1.80 USD1,000,000 older than 30 days
DeepSeek V4 Pro deepseek-v4-pro:free0 USD0 USD1,000,000 older than 30 days
Gemini 3.5 Flash gemini-3.5-flash0.186 USD1.11 USD1,048,576 older than 30 days
Gemma 4 31B IT gemma-4-31b-it:free0 USD0 USD262,144 older than 30 days
GLM-4.5-Flash glm-4.5-flash:free0 USD0 USD131,072 older than 30 days
GLM-5.2 glm-5.21.60 USD5.03 USD1,000,000 older than 30 days
GLM-5.2 glm-5.2:free0 USD0 USD1,000,000 older than 30 days
GPT-5.2 gpt-5.21.05 USD8.40 USD400,000 older than 30 days
GPT-5.4 gpt-5.41.80 USD10.80 USD1,050,000 older than 30 days
GPT-5.4 gpt-5.4:free0 USD0 USD1,050,000 older than 30 days
GPT-5.5 gpt-5.50.188 USD1.12 USD1,050,000 older than 30 days
GPT-5.5 gpt-5.5:free0 USD0 USD1,050,000 older than 30 days
Kimi K2.6 kimi-k2.61.27 USD5.34 USD262,144 older than 30 days
MiniMax-M2.7 minimax-m2.70.819 USD3.28 USD204,800 older than 30 days
MiniMax-M2.7 minimax-m2.7:free0 USD0 USD204,800 older than 30 days
Nemotron 3 Ultra 550B A55B nemotron-3-ultra-550b-a55b:free0 USD0 USD1,000,000 older than 30 days
Qwen3.5 397B-A17B qwen3.5-397b-a17b:free0 USD0 USD262,144 older than 30 days
Step 3.7 Flash step-3.7-flash:free0 USD0 USD256,000 older than 30 days

Sources of this page