Baltor Get started

Endpoints

CommandCode

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.commandcode.ai/provider/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in CMD_API_KEY models.dev, read
Structured output
Unknown
Tool calling
71 of 71 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 MiniMaxAI/MiniMax-M2.5 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "commandcode": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "CommandCode",
      "options": {
        "baseURL": "https://api.commandcode.ai/provider/v1",
        "apiKey": "{env:CMD_API_KEY}"
      },
      "models": {
        "MiniMaxAI/MiniMax-M2.5": {
          "name": "MiniMaxAI/MiniMax-M2.5"
        }
      }
    }
  }
}
  • 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": {
    "commandcode": {
      "baseUrl": "https://api.commandcode.ai/provider/v1",
      "api": "openai-completions",
      "apiKey": "$CMD_API_KEY",
      "models": [
        {
          "id": "MiniMaxAI/MiniMax-M2.5"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and CommandCode 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 CommandCode 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
MiniMax-M2.5 MiniMaxAI/MiniMax-M2.50.300 USD1.20 USD200,000 older than 30 days
MiniMax-M2.7 MiniMaxAI/MiniMax-M2.70.300 USD1.20 USD200,000 older than 30 days
MiniMax-M3 MiniMaxAI/MiniMax-M30.300 USD1.20 USD1,000,000 older than 30 days
Qwen3.8 27B Qwen/Qwen3.8-27B0.400 USD3.00 USD262,144 older than 30 days
Qwen3.8 Flash Qwen/Qwen3.8-Flash0.160 USD0.470 USD1,000,000 older than 30 days
Qwen3.8 Max Qwen/Qwen3.8-Max2.00 USD6.00 USD1,000,000 older than 30 days
Qwen3.8 Max 0902 Qwen/Qwen3.8-Max-09022.00 USD6.00 USD1,000,000 older than 30 days
Qwen3.8 Omni Flash Qwen/Qwen3.8-Omni-Flash0.150 USD0.470 USD1,000,000 older than 30 days
Claude Fable 5 claude-fable-510.00 USD50.00 USD1,000,000 older than 30 days
Claude Fable 5.1 claude-fable-5-110.00 USD50.00 USD1,000,000 older than 30 days
Claude Haiku 4.5 claude-haiku-4-5-202510011.00 USD5.00 USD200,000 older than 30 days
Claude Haiku 5.5 claude-haiku-5-50.100 USD0.500 USD1,000,000
Claude Opus 4.7 claude-opus-4-75.00 USD25.00 USD1,000,000 older than 30 days
Claude Opus 4.8 claude-opus-4-85.00 USD25.00 USD1,000,000 older than 30 days
Claude Opus 5 claude-opus-55.00 USD25.00 USD1,000,000 older than 30 days
Claude Opus 5.5 claude-opus-5-54.00 USD20.00 USD1,000,000
Claude Sonnet 4.6 claude-sonnet-4-63.00 USD15.00 USD1,000,000 older than 30 days
Claude Sonnet 5 claude-sonnet-52.00 USD10.00 USD1,000,000 older than 30 days
Claude Sonnet 5.5 claude-sonnet-5-52.00 USD10.00 USD1,000,000
DeepSeek V4 Flash deepseek/deepseek-v4-flash0.150 USD0.600 USD1,000,000 older than 30 days
DeepSeek V4 Flash Fast deepseek/deepseek-v4-flash-fast0.280 USD0.560 USD1,000,000 older than 30 days
DeepSeek V4 Flash Vision Exp deepseek/deepseek-v4-flash-vision-exp0.150 USD0.600 USD1,000,000 older than 30 days
DeepSeek V4 Pro deepseek/deepseek-v4-pro0.660 USD1.98 USD1,000,000 older than 30 days
DeepSeek V4.1 Flash deepseek/deepseek-v4.1-flash0.150 USD0.600 USD1,000,000 older than 30 days
DeepSeek V4.1 Flash Fast deepseek/deepseek-v4.1-flash-fast0.160 USD0.580 USD1,000,000 older than 30 days
Gemini 3.1 Flash Lite google/gemini-3.1-flash-lite0.250 USD1.50 USD1,000,000 older than 30 days
Gemini 3.5 Flash google/gemini-3.5-flash1.50 USD9.00 USD1,000,000 older than 30 days
Gemini 3.5 Flash Lite google/gemini-3.5-flash-lite0.300 USD2.50 USD1,000,000 older than 30 days
Gemini 3.6 Flash google/gemini-3.6-flash1.50 USD7.50 USD1,000,000 older than 30 days
Gemini 3.7 Flash google/gemini-3.7-flash1.50 USD7.50 USD1,048,576 older than 30 days
Gemini 3.8 Flash google/gemini-3.8-flash1.50 USD7.50 USD1,000,000 older than 30 days
Gemini 4 Argon google/gemini-4-argon2.00 USD10.00 USD1,000,000
GPT-5.3 Codex gpt-5.3-codex2.00 USD8.00 USD400,000 older than 30 days
GPT-5.4 gpt-5.42.50 USD15.00 USD400,000 older than 30 days
GPT-5.4 mini gpt-5.4-mini0.750 USD4.50 USD400,000 older than 30 days
GPT-5.5 gpt-5.55.00 USD30.00 USD400,000 older than 30 days
GPT-5.6 Luna gpt-5.6-luna0.200 USD1.20 USD1,050,000 older than 30 days
GPT-5.6 Sol gpt-5.6-sol5.00 USD30.00 USD1,050,000 older than 30 days
GPT-5.6 Terra gpt-5.6-terra2.00 USD12.00 USD1,050,000 older than 30 days
GPT-6 Astra gpt-6-astra10.00 USD50.00 USD1,050,000 older than 30 days
GPT-6 Luna gpt-6-luna0.100 USD0.500 USD1,050,000
GPT-6 Sol gpt-6-sol2.00 USD10.00 USD1,050,000
GPT-6.1 Sol gpt-6.1-sol2.00 USD10.00 USD1,050,000
Ling 3.1 Flash inclusionai/ling-3.1-flash:free0 USD0 USD262,144
Muse Spark 1.1 meta/muse-spark-1.11.25 USD4.25 USD1,048,576 older than 30 days
Muse Spark 1.2 meta/muse-spark-1.21.25 USD4.25 USD1,048,576 older than 30 days
Muse Spark 1.2 (Contributor) meta/muse-spark-1.2-contributor0.100 USD0.200 USD1,048,576 older than 30 days
Muse Spark 1.3 meta/muse-spark-1.31.25 USD4.25 USD1,048,576 older than 30 days
Muse Spark 1.3 (Contributor) meta/muse-spark-1.3-contributor0.100 USD0.200 USD1,048,576 older than 30 days
Muse Wonder meta/muse-wonder-1.04.00 USD20.00 USD1,048,576
Mistral Large 4 mistral/mistral-large-41.36 USD4.18 USD524,288
Kimi K2.7 Code moonshotai/Kimi-K2.7-Code0.950 USD4.00 USD256,000 older than 30 days
Kimi K2.7 Code Highspeed moonshotai/Kimi-K2.7-Code-Highspeed1.90 USD8.00 USD262,000 older than 30 days
Kimi K3 moonshotai/Kimi-K33.00 USD15.00 USD1,000,000 older than 30 days
Nemotron 3 Ultra 550B A55B nvidia/nemotron-3-ultra-550b-a55b0.600 USD2.40 USD1,000,000 older than 30 days
Fugu Ultra sakana/fugu-ultra5.00 USD30.00 USD1,000,000 older than 30 days
Step 3.5 Flash stepfun/Step-3.5-Flash0.090 USD0.300 USD256,000 older than 30 days
Step 3.7 Flash stepfun/Step-3.7-Flash0.200 USD1.15 USD256,000 older than 30 days
Step 5 Preview stepfun/Step-5-Preview1.00 USD2.70 USD1,000,000
Hy3 tencent/hy3-paid0.140 USD0.580 USD256,000 older than 30 days
Hy4 preview tencent/hy4-preview0.834 USD2.50 USD1,024,000 older than 30 days
Inkling thinkingmachines/inkling1.00 USD4.05 USD256,000 older than 30 days
Inkling Small thinkingmachines/inkling-small0.500 USD1.20 USD1,000,000 older than 30 days
Grok 4.5 xai/grok-4.52.00 USD6.00 USD500,000 older than 30 days
Grok 4.6 xai/grok-4.62.00 USD6.00 USD500,000 older than 30 days
Grok 4.7 xai/grok-4.72.00 USD6.00 USD500,000
GLM-5.3-Flash z-ai/glm-5.3-flash0.150 USD0.500 USD1,000,000 older than 30 days
GLM-5.3-FlashX z-ai/glm-5.3-flashx0.370 USD1.25 USD1,000,000 older than 30 days
GLM-5.2 zai-org/GLM-5.21.40 USD4.40 USD1,000,000 older than 30 days
GLM-5.2-Fast zai-org/GLM-5.2-Fast3.00 USD10.25 USD1,000,000 older than 30 days
GLM-5.3 zai-org/GLM-5.31.40 USD4.40 USD1,000,000 older than 30 days

Sources of this page