Baltor Get started

Endpoints

DeepInfra

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

Authentication
Authorization: Bearer, with the key in DEEPINFRA_TOKEN provider documentation, read
Structured output
provider documentation, read
Tool calling
provider documentation, read
Rate limits
Read the page provider documentation, read
Prices
Read the page provider documentation, read
Data retention
Inputs and outputs are held in memory only while a request runs, with the exceptions the page lists for some partner models. Read the page provider documentation, read
Documentation
Unknown
Output limits Baltor recorded
Unknown

Harness setup

Replace ByteDance/Seed-2.0-code with the model you want.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "deepinfra": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "DeepInfra",
      "options": {
        "baseURL": "https://api.deepinfra.com/v1/openai",
        "apiKey": "{env:DEEPINFRA_TOKEN}"
      },
      "models": {
        "ByteDance/Seed-2.0-code": {
          "name": "ByteDance/Seed-2.0-code"
        }
      }
    }
  }
}
  • 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": {
    "deepinfra": {
      "baseUrl": "https://api.deepinfra.com/v1/openai",
      "api": "openai-completions",
      "apiKey": "$DEEPINFRA_TOKEN",
      "models": [
        {
          "id": "ByteDance/Seed-2.0-code"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and DeepInfra 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

Put this in ~/.claude/settings.json, or variables in your shell:

export ANTHROPIC_BASE_URL="https://api.deepinfra.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="$DEEPINFRA_TOKEN"
export ANTHROPIC_MODEL="ByteDance/Seed-2.0-code"
claude
  • 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
Seed 2.0 Code ByteDance/Seed-2.0-code0.500 USD3.00 USD256,000 older than 30 days
Seed 2.0 Mini ByteDance/Seed-2.0-mini0.100 USD0.400 USD256,000 older than 30 days
Seed 2.0 Pro ByteDance/Seed-2.0-pro0.500 USD3.00 USD256,000 older than 30 days
MiniMax M2.5 MiniMaxAI/MiniMax-M2.50.150 USD1.15 USD196,608 older than 30 days
MiniMax-M2.7 MiniMaxAI/MiniMax-M2.70.250 USD1.00 USD196,608 older than 30 days
MiniMax-M3 MiniMaxAI/MiniMax-M30.280 USD1.10 USD524,288 older than 30 days
Qwen3 235B-A22B Instruct 2507 Qwen/Qwen3-235B-A22B-Instruct-25070.090 USD0.550 USD262,144 older than 30 days
Qwen3 30B A3B Qwen/Qwen3-30B-A3B0.120 USD0.500 USD40,960 older than 30 days
Qwen3 32B Qwen/Qwen3-32B0.080 USD0.280 USD40,960
Qwen3 Coder 480B A35B Instruct Turbo Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo0.300 USD1.00 USD262,144 older than 30 days
Qwen3 Max Qwen/Qwen3-Max1.20 USD6.00 USD256,000 older than 30 days
Qwen3-Next 80B-A3B Instruct Qwen/Qwen3-Next-80B-A3B-Instruct0.090 USD1.10 USD262,144
Qwen3 VL 235B A22B Instruct Qwen/Qwen3-VL-235B-A22B-Instruct0.200 USD0.880 USD262,144 older than 30 days
Qwen3.5 122B-A10B Qwen/Qwen3.5-122B-A10B0.290 USD2.40 USD262,144 older than 30 days
Qwen3.5 27B Qwen/Qwen3.5-27B0.260 USD2.60 USD262,144 older than 30 days
Qwen 3.5 35B A3B Qwen/Qwen3.5-35B-A3B0.140 USD1.00 USD262,144 older than 30 days
Qwen 3.5 397B A17B Qwen/Qwen3.5-397B-A17B0.450 USD3.00 USD262,144 older than 30 days
Qwen3.5 9B Qwen/Qwen3.5-9B0.100 USD0.150 USD262,144 older than 30 days
Qwen3.6 27B Qwen/Qwen3.6-27B0.320 USD3.20 USD262,144 older than 30 days
Qwen3.6 35B A3B Qwen/Qwen3.6-35B-A3B0.100 USD0.950 USD262,144 older than 30 days
Qwen3.7 Max Qwen/Qwen3.7-Max2.50 USD7.50 USD256,000 older than 30 days
Qwen3.8 2.4T A95B Qwen/Qwen3.8-2.4T-A95B2.00 USD6.00 USD262,144 older than 30 days
Qwen3.8 27B Qwen/Qwen3.8-27B0.200 USD2.50 USD262,144 older than 30 days
Qwen3.8 Flash Qwen/Qwen3.8-Flash0.113 USD0.382 USD1,000,000
Qwen3.8 Max Qwen/Qwen3.8-Max1.65 USD4.95 USD256,000 older than 30 days
MiMo-V2.5 XiaomiMiMo/MiMo-V2.50.140 USD0.280 USD262,144 older than 30 days
MiMo-V2.5-Pro XiaomiMiMo/MiMo-V2.5-Pro1.00 USD3.00 USD1,048,576 older than 30 days
MiMo-V2.6-Flash XiaomiMiMo/MiMo-V2.6-Flash0.140 USD0.280 USD1,048,576
MiMo-V2.6-Pro XiaomiMiMo/MiMo-V2.6-Pro0.435 USD0.870 USD1,048,576
DeepSeek-R1-0528 deepseek-ai/DeepSeek-R1-05280.500 USD2.15 USD163,840 older than 30 days
DeepSeek-V3 deepseek-ai/DeepSeek-V30.320 USD0.890 USD163,840 older than 30 days
DeepSeek V3 0324 deepseek-ai/DeepSeek-V3-03240.240 USD0.900 USD163,840 older than 30 days
DeepSeek-V3.1 deepseek-ai/DeepSeek-V3.10.250 USD0.950 USD163,840 older than 30 days
DeepSeek-V3.2 deepseek-ai/DeepSeek-V3.20.260 USD0.380 USD163,840 older than 30 days
DeepSeek V4 Flash deepseek-ai/DeepSeek-V4-Flash0.090 USD0.180 USD1,048,576 older than 30 days
DeepSeek V4 Flash 0731 deepseek-ai/DeepSeek-V4-Flash-07310.060 USD0.180 USD1,048,576 older than 30 days
DeepSeek V4 Flash Vision Exp deepseek-ai/DeepSeek-V4-Flash-Vision-Exp0.440 USD1.32 USD1,048,576
DeepSeek V4 Pro deepseek-ai/DeepSeek-V4-Pro1.30 USD2.60 USD1,048,576 older than 30 days
DeepSeek V4 Pro 0813 deepseek-ai/DeepSeek-V4-Pro-08131.30 USD2.60 USD1,048,576 older than 30 days
DeepSeek V4.1 Flash deepseek-ai/DeepSeek-V4.1-Flash0.200 USD0.600 USD1,048,576
Gemma 3 12B IT google/gemma-3-12b-it0.050 USD0.150 USD131,072 older than 30 days
Gemma 3 27B IT google/gemma-3-27b-it0.080 USD0.160 USD131,072 older than 30 days
Gemma 3 4B IT google/gemma-3-4b-it0.050 USD0.100 USD131,072 older than 30 days
Gemma 4 26B A4B IT google/gemma-4-26B-A4B-it0.070 USD0.340 USD262,144 older than 30 days
Gemma 4 31B IT google/gemma-4-31B-it0.130 USD0.380 USD262,144 older than 30 days
Gemma 4 E4B IT google/gemma-4-E4B-it0.020 USD0.100 USD131,072 older than 30 days
Llama 3.3 70B Turbo meta-llama/Llama-3.3-70B-Instruct-Turbo0.100 USD0.320 USD131,072 older than 30 days
Llama 4 Maverick 17B FP8 meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP80.200 USD0.800 USD1,048,576 older than 30 days
Llama 4 Scout 17B meta-llama/Llama-4-Scout-17B-16E-Instruct0.100 USD0.300 USD327,680 older than 30 days
Kimi K2.5 moonshotai/Kimi-K2.50.450 USD2.25 USD262,144 older than 30 days
Kimi K2.6 moonshotai/Kimi-K2.60.750 USD3.50 USD262,144 older than 30 days
Kimi K2.7 Code moonshotai/Kimi-K2.7-Code0.680 USD3.40 USD262,144 older than 30 days
Kimi K3 moonshotai/Kimi-K32.85 USD14.25 USD1,048,576 older than 30 days
Llama 3.3 Nemotron Super 49B v1.5 nvidia/Llama-3.3-Nemotron-Super-49B-v1.50.400 USD0.400 USD131,072 older than 30 days
Nemotron 3 Nano 30B A3B nvidia/Nemotron-3-Nano-30B-A3B0.050 USD0.200 USD262,144 older than 30 days
Nemotron 3 Nano Omni 30B A3B Reasoning nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning0.200 USD0.800 USD262,144 older than 30 days
GPT OSS 120B openai/gpt-oss-120b0.037 USD0.170 USD131,072 older than 30 days
GPT OSS 20B openai/gpt-oss-20b0.030 USD0.140 USD131,072 older than 30 days
Step 3.7 Flash stepfun-ai/Step-3.7-Flash0.200 USD1.15 USD262,144 older than 30 days
Hy3 tencent/Hy30.130 USD0.530 USD262,144 older than 30 days
Inkling thinkingmachines/Inkling0.950 USD4.05 USD524,288 older than 30 days
Inkling Small thinkingmachines/Inkling-Small0.450 USD1.20 USD524,288 older than 30 days
GLM-4.6 zai-org/GLM-4.60.500 USD2.00 USD202,752 older than 30 days
GLM-4.7 zai-org/GLM-4.70.400 USD1.75 USD202,752 older than 30 days
GLM-4.7-Flash zai-org/GLM-4.7-Flash0.060 USD0.400 USD202,752 older than 30 days
GLM-5 zai-org/GLM-50.600 USD2.08 USD202,752 older than 30 days
GLM-5.1 zai-org/GLM-5.11.05 USD3.50 USD202,752 older than 30 days
GLM-5.2 zai-org/GLM-5.20.750 USD2.40 USD1,048,576 older than 30 days
GLM-5.3 zai-org/GLM-5.30.900 USD4.00 USD1,048,576 older than 30 days
GLM-5.3-Flash zai-org/GLM-5.3-Flash0.150 USD0.500 USD1,048,576