Baltor Get started

Endpoints

Baseten

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://inference.baseten.co/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in BASETEN_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 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": {
    "baseten": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Baseten",
      "options": {
        "baseURL": "https://inference.baseten.co/v1",
        "apiKey": "{env:BASETEN_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": {
    "baseten": {
      "baseUrl": "https://inference.baseten.co/v1",
      "api": "openai-completions",
      "apiKey": "$BASETEN_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 Baseten 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 Baseten 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 USD204,000 older than 30 days
DeepSeek V3.1 deepseek-ai/DeepSeek-V3.10.500 USD1.50 USD164,000 older than 30 days
DeepSeek V4 Flash 0731 deepseek-ai/DeepSeek-V4-Flash-07310.130 USD0.260 USD1,048,576 older than 30 days
DeepSeek V4 Pro deepseek-ai/DeepSeek-V4-Pro1.74 USD3.48 USD1,048,576 older than 30 days
DeepSeek V4 Pro 0813 deepseek-ai/DeepSeek-V4-Pro-08131.32 USD3.96 USD1,048,576 older than 30 days
DeepSeek V4.1 Flash deepseek-ai/DeepSeek-V4.1-Flash0.300 USD1.20 USD1,048,576
Kimi K2.5 moonshotai/Kimi-K2.50.600 USD3.00 USD262,000 older than 30 days
Kimi K2.6 moonshotai/Kimi-K2.60.950 USD4.00 USD262,000 older than 30 days
Kimi K2.7 Code moonshotai/Kimi-K2.7-Code0.950 USD4.00 USD262,000 older than 30 days
Kimi K3 moonshotai/Kimi-K33.00 USD15.00 USD1,048,576 older than 30 days
Nemotron Ultra nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B0.600 USD2.40 USD202,800 older than 30 days
Nemotron Super nvidia/Nemotron-120B-A12B0.300 USD0.750 USD202,800 older than 30 days
OpenAI GPT 120B openai/gpt-oss-120b0.100 USD0.500 USD128,072 older than 30 days
Inkling thinkingmachines/inkling1.00 USD4.05 USD1,048,576 older than 30 days
Inkling Small thinkingmachines/inkling-small0.500 USD1.20 USD1,048,576 older than 30 days
GLM 4.7 zai-org/GLM-4.70.600 USD2.20 USD200,000 older than 30 days
GLM 5 zai-org/GLM-50.950 USD3.15 USD202,800 older than 30 days
GLM 5.1 zai-org/GLM-5.11.30 USD4.30 USD202,800 older than 30 days
GLM 5.2 zai-org/GLM-5.21.40 USD4.40 USD1,048,576 older than 30 days
GLM 5.2 Fast zai-org/GLM-5.2-Fast2.10 USD6.60 USD1,048,576 older than 30 days
GLM 5.3 zai-org/GLM-5.31.40 USD4.40 USD1,048,576 older than 30 days
GLM 5.3 Fast zai-org/GLM-5.3-Fast2.10 USD6.60 USD1,048,576 older than 30 days
GLM 5.3 Flash zai-org/GLM-5.3-Flash0.150 USD0.500 USD1,048,576

Sources of this page