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/v1models.dev, read
- Authentication
- Authorization: Bearer, with the key in
BASETEN_API_KEYmodels.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.
| Model | Input | Output | Context | As of |
|---|---|---|---|---|
MiniMax-M2.5 MiniMaxAI/MiniMax-M2.5 | 0.300 USD | 1.20 USD | 204,000 | older than 30 days |
DeepSeek V3.1 deepseek-ai/DeepSeek-V3.1 | 0.500 USD | 1.50 USD | 164,000 | older than 30 days |
DeepSeek V4 Flash 0731 deepseek-ai/DeepSeek-V4-Flash-0731 | 0.130 USD | 0.260 USD | 1,048,576 | older than 30 days |
DeepSeek V4 Pro deepseek-ai/DeepSeek-V4-Pro | 1.74 USD | 3.48 USD | 1,048,576 | older than 30 days |
DeepSeek V4 Pro 0813 deepseek-ai/DeepSeek-V4-Pro-0813 | 1.32 USD | 3.96 USD | 1,048,576 | older than 30 days |
DeepSeek V4.1 Flash deepseek-ai/DeepSeek-V4.1-Flash | 0.300 USD | 1.20 USD | 1,048,576 | |
Kimi K2.5 moonshotai/Kimi-K2.5 | 0.600 USD | 3.00 USD | 262,000 | older than 30 days |
Kimi K2.6 moonshotai/Kimi-K2.6 | 0.950 USD | 4.00 USD | 262,000 | older than 30 days |
Kimi K2.7 Code moonshotai/Kimi-K2.7-Code | 0.950 USD | 4.00 USD | 262,000 | older than 30 days |
Kimi K3 moonshotai/Kimi-K3 | 3.00 USD | 15.00 USD | 1,048,576 | older than 30 days |
Nemotron Ultra nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B | 0.600 USD | 2.40 USD | 202,800 | older than 30 days |
Nemotron Super nvidia/Nemotron-120B-A12B | 0.300 USD | 0.750 USD | 202,800 | older than 30 days |
OpenAI GPT 120B openai/gpt-oss-120b | 0.100 USD | 0.500 USD | 128,072 | older than 30 days |
Inkling thinkingmachines/inkling | 1.00 USD | 4.05 USD | 1,048,576 | older than 30 days |
Inkling Small thinkingmachines/inkling-small | 0.500 USD | 1.20 USD | 1,048,576 | older than 30 days |
GLM 4.7 zai-org/GLM-4.7 | 0.600 USD | 2.20 USD | 200,000 | older than 30 days |
GLM 5 zai-org/GLM-5 | 0.950 USD | 3.15 USD | 202,800 | older than 30 days |
GLM 5.1 zai-org/GLM-5.1 | 1.30 USD | 4.30 USD | 202,800 | older than 30 days |
GLM 5.2 zai-org/GLM-5.2 | 1.40 USD | 4.40 USD | 1,048,576 | older than 30 days |
GLM 5.2 Fast zai-org/GLM-5.2-Fast | 2.10 USD | 6.60 USD | 1,048,576 | older than 30 days |
GLM 5.3 zai-org/GLM-5.3 | 1.40 USD | 4.40 USD | 1,048,576 | older than 30 days |
GLM 5.3 Fast zai-org/GLM-5.3-Fast | 2.10 USD | 6.60 USD | 1,048,576 | older than 30 days |
GLM 5.3 Flash zai-org/GLM-5.3-Flash | 0.150 USD | 0.500 USD | 1,048,576 |
Sources of this page
- models.dev/api.json, read
Paid links
No link in this directory is a paid link or an ad, and no listing is paid for. The order and the contents of every list come from the sources named on this page.