Baltor Get started

Endpoints

302.AI

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.302.ai/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in 302AI_API_KEY models.dev, read
Structured output
Unknown
Tool calling
113 of 117 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 MiniMax-M1 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

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

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and 302.AI 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 302.AI 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-M1 MiniMax-M10.132 USD1.25 USD1,000,000 older than 30 days
MiniMax-M2 MiniMax-M20.330 USD1.32 USD1,000,000 older than 30 days
MiniMax-M2.1 MiniMax-M2.10.300 USD1.20 USD204,800 older than 30 days
MiniMax-M2.5 MiniMax-M2.50.300 USD1.20 USD204,800 older than 30 days
MiniMax-M2.7 MiniMax-M2.70.300 USD1.20 USD204,800 older than 30 days
MiniMax-M3 MiniMax-M30.720 USD2.88 USD1,048,576 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
claude-haiku-4-5 claude-haiku-4-51.00 USD5.00 USD200,000 older than 30 days
claude-haiku-4-5-20251001 claude-haiku-4-5-202510011.00 USD5.00 USD200,000 older than 30 days
claude-opus-4-1-20250805 claude-opus-4-1-2025080515.00 USD75.00 USD200,000 older than 30 days
claude-opus-4-1-20250805-thinking claude-opus-4-1-20250805-thinking15.00 USD75.00 USD200,000 older than 30 days
claude-opus-4-5-20251101 claude-opus-4-5-202511015.00 USD25.00 USD200,000 older than 30 days
claude-opus-4-7 claude-opus-4-75.00 USD25.00 USD1,000,000 older than 30 days
claude-opus-4-7-thinking claude-opus-4-7-thinking5.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-thinking claude-opus-5-thinking5.00 USD25.00 USD1,000,000 older than 30 days
claude-sonnet-4-5-20250929 claude-sonnet-4-5-202509293.00 USD15.00 USD200,000 older than 30 days
claude-sonnet-4-5-20250929-thinking claude-sonnet-4-5-20250929-thinking3.00 USD15.00 USD200,000 older than 30 days
claude-sonnet-4-6 claude-sonnet-4-63.00 USD15.00 USD1,000,000 older than 30 days
claude-sonnet-4-6-thinking claude-sonnet-4-6-thinking3.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
DeepSeek V4.1 Flash deepseek-flash0.150 USD0.600 USD1,000,000
deepseek-v3.2 deepseek-v3.20.290 USD0.430 USD128,000 older than 30 days
DeepSeek-V3.2-Thinking deepseek-v3.2-thinking0.290 USD0.430 USD128,000 older than 30 days
doubao-seed-1-6-thinking-250715 doubao-seed-1-6-thinking-2507150.121 USD1.21 USD256,000 older than 30 days
doubao-seed-1-6-vision-250815 doubao-seed-1-6-vision-2508150.114 USD1.14 USD256,000 older than 30 days
doubao-seed-1-8-251215 doubao-seed-1-8-2512150.114 USD0.286 USD224,000 older than 30 days
gemini-2.0-flash-lite gemini-2.0-flash-lite0.075 USD0.300 USD2,000,000 older than 30 days
gemini-2.5-flash gemini-2.5-flash0.300 USD2.50 USD1,000,000 older than 30 days
gemini-2.5-flash-image gemini-2.5-flash-image0.300 USD30.00 USD32,768 older than 30 days
gemini-2.5-flash-lite-preview-09-2025 gemini-2.5-flash-lite-preview-09-20250.100 USD0.400 USD1,000,000 older than 30 days
gemini-2.5-flash-nothink gemini-2.5-flash-nothink0.300 USD2.50 USD1,000,000 older than 30 days
gemini-2.5-flash-preview-09-2025 gemini-2.5-flash-preview-09-20250.300 USD2.50 USD1,000,000 older than 30 days
gemini-2.5-pro gemini-2.5-pro1.25 USD10.00 USD1,000,000 older than 30 days
gemini-3-flash-preview gemini-3-flash-preview0.500 USD3.00 USD1,000,000 older than 30 days
gemini-3-pro-image-preview gemini-3-pro-image-preview2.00 USD120.00 USD32,768 older than 30 days
gemini-3-pro-preview gemini-3-pro-preview2.00 USD12.00 USD1,000,000 older than 30 days
gemini-3.1-flash-image-preview gemini-3.1-flash-image-preview0.500 USD60.00 USD131,072 older than 30 days
Gemini 3.1 Flash Lite gemini-3.1-flash-lite0.250 USD1.50 USD1,048,576 older than 30 days
Gemini 3.1 Flash Lite Preview gemini-3.1-flash-lite-preview0.250 USD1.50 USD1,048,576 older than 30 days
Gemini 3.1 Pro Preview gemini-3.1-pro-preview2.00 USD12.00 USD1,048,576 older than 30 days
Gemini 3.5 Flash gemini-3.5-flash1.50 USD9.00 USD1,048,576 older than 30 days
Gemini 3.5 Flash Lite gemini-3.5-flash-lite0.300 USD2.50 USD1,048,576 older than 30 days
gemini-3.5-flash-thinking gemini-3.5-flash-thinking1.50 USD9.00 USD1,048,576 older than 30 days
Gemini 3.6 Flash gemini-3.6-flash1.50 USD7.50 USD1,048,576 older than 30 days
Gemini 3.7 Flash gemini-3.7-flash0.750 USD3.75 USD1,048,576 older than 30 days
Gemini 3.8 Flash gemini-3.8-flash0.750 USD3.75 USD1,048,576
GLM-4.5 glm-4.50.286 USD1.14 USD131,072 older than 30 days
GLM-4.5V glm-4.5v0.290 USD0.860 USD64,000 older than 30 days
glm-4.6 glm-4.60.286 USD1.14 USD204,800 older than 30 days
GLM-4.6V glm-4.6v0.145 USD0.430 USD128,000 older than 30 days
glm-4.7 glm-4.70.286 USD1.14 USD204,800 older than 30 days
glm-5 glm-50.600 USD2.60 USD204,800 older than 30 days
glm-5-turbo glm-5-turbo0.720 USD3.20 USD200,000 older than 30 days
GLM-5.1 glm-5.11.40 USD4.40 USD200,000 older than 30 days
GLM-5.2 glm-5.21.40 USD4.40 USD1,000,000 older than 30 days
GLM-5.3 glm-5.31.40 USD4.40 USD1,000,000 older than 30 days
GLM-5.3-Flash glm-5.3-flash0.075 USD0.250 USD1,000,000
GLM-5V-Turbo glm-5v-turbo0.720 USD3.20 USD200,000 older than 30 days
gpt-4.1 gpt-4.12.00 USD8.00 USD1,047,576 older than 30 days
gpt-4.1-mini gpt-4.1-mini0.400 USD1.60 USD1,047,576 older than 30 days
gpt-4.1-nano gpt-4.1-nano0.100 USD0.400 USD1,047,576 older than 30 days
gpt-4o gpt-4o2.50 USD10.00 USD128,000 older than 30 days
gpt-5 gpt-51.25 USD10.00 USD400,000 older than 30 days
gpt-5-mini gpt-5-mini0.250 USD2.00 USD400,000 older than 30 days
gpt-5-pro gpt-5-pro15.00 USD120.00 USD400,000 older than 30 days
gpt-5-thinking gpt-5-thinking1.25 USD10.00 USD400,000 older than 30 days
gpt-5.1 gpt-5.11.25 USD10.00 USD400,000 older than 30 days
gpt-5.1-chat-latest gpt-5.1-chat-latest1.25 USD10.00 USD128,000 older than 30 days
gpt-5.2 gpt-5.21.75 USD14.00 USD400,000 older than 30 days
gpt-5.2-chat-latest gpt-5.2-chat-latest1.75 USD14.00 USD128,000 older than 30 days
GPT-5.3 Chat (latest) gpt-5.3-chat-latest1.75 USD14.00 USD128,000 older than 30 days
gpt-5.4 gpt-5.42.50 USD15.00 USD1,050,000 older than 30 days
gpt-5.4-mini gpt-5.4-mini0.750 USD4.50 USD400,000 older than 30 days
gpt-5.4-nano gpt-5.4-nano0.200 USD1.25 USD400,000 older than 30 days
GPT-5.5 gpt-5.55.00 USD30.00 USD1,050,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-luna-pro gpt-5.6-luna-pro0.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-sol-pro gpt-5.6-sol-pro5.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-5.6-terra-pro gpt-5.6-terra-pro2.00 USD12.00 USD1,050,000 older than 30 days
GPT-6 Astra gpt-6-astra10.00 USD50.00 USD1,050,000
grok-4-1-fast-reasoning grok-4-1-fast-reasoning0.200 USD0.500 USD2,000,000 older than 30 days
grok-4-fast-non-reasoning grok-4-fast-non-reasoning0.200 USD0.500 USD2,000,000 older than 30 days
grok-4-fast-reasoning grok-4-fast-reasoning0.200 USD0.500 USD2,000,000 older than 30 days
grok-4.1 grok-4.12.00 USD10.00 USD200,000 older than 30 days
grok-4.20-beta-0309-reasoning grok-4.20-beta-0309-reasoning2.00 USD6.00 USD2,000,000 older than 30 days
Grok 4.3 grok-4.31.25 USD2.50 USD1,000,000 older than 30 days
Grok 4.5 grok-4.52.00 USD6.00 USD500,000 older than 30 days
Grok 4.6 grok-4.62.00 USD6.00 USD500,000 older than 30 days
kimi-k2-0905-preview kimi-k2-0905-preview0.632 USD2.53 USD262,144 older than 30 days
kimi-k2-thinking kimi-k2-thinking0.575 USD2.30 USD262,144 older than 30 days
Kimi K2.5 kimi-k2.50.660 USD3.30 USD262,144
Kimi K2.6 kimi-k2.60.950 USD4.00 USD262,144 older than 30 days
Kimi K2.7 Code kimi-k2.7-code0.950 USD4.00 USD262,144 older than 30 days
Kimi K3 kimi-k33.00 USD15.00 USD1,048,576 older than 30 days
ministral-14b-2512 ministral-14b-25120.330 USD0.330 USD128,000 older than 30 days
mistral-large-2512 mistral-large-25121.10 USD3.30 USD128,000 older than 30 days
o3 o32.00 USD8.00 USD200,000 older than 30 days
Qwen3-235B-A22B qwen3-235b-a22b0.290 USD2.86 USD128,000 older than 30 days
qwen3-235b-a22b-instruct-2507 qwen3-235b-a22b-instruct-25070.290 USD1.14 USD128,000 older than 30 days
Qwen3-30B-A3B qwen3-30b-a3b0.110 USD1.08 USD128,000 older than 30 days
qwen3-coder-480b-a35b-instruct qwen3-coder-480b-a35b-instruct0.860 USD3.43 USD262,144 older than 30 days
qwen3-max-2025-09-23 qwen3-max-2025-09-230.860 USD3.43 USD258,048 older than 30 days
Qwen3.5 35B-A3B qwen3.5-35b-a3b0.060 USD0.460 USD262,144 older than 30 days
Qwen3.5 Plus qwen3.5-plus0.120 USD0.690 USD1,000,000 older than 30 days
Qwen3.6 35B-A3B qwen3.6-35b-a3b0.283 USD1.71 USD262,144 older than 30 days
Qwen3.6 Flash qwen3.6-flash0.188 USD1.13 USD1,000,000 older than 30 days
Qwen3.6 Plus qwen3.6-plus0.300 USD1.80 USD1,000,000 older than 30 days
Qwen3.7 Max qwen3.7-max1.80 USD5.30 USD1,000,000 older than 30 days
qwen3.7-max-2026-06-08 qwen3.7-max-2026-06-081.80 USD5.30 USD1,000,000 older than 30 days
Qwen3.7 Plus qwen3.7-plus0.285 USD1.15 USD1,000,000 older than 30 days
Qwen3.8 Flash qwen3.8-flash0.180 USD0.564 USD1,000,000
Qwen3.8 Max qwen3.8-max2.16 USD6.36 USD1,000,000 older than 30 days

Sources of this page