Baltor Get started

Endpoints

Nebius Token Factory

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.tokenfactory.nebius.com/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in NEBIUS_API_KEY models.dev, read
Structured output
Unknown
Tool calling
19 of 20 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-M3 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

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

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Nebius Token Factory 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 Nebius Token Factory 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-M3 MiniMaxAI/MiniMax-M30.300 USD1.20 USD1,048,576 older than 30 days
Hermes-4-405B NousResearch/Hermes-4-405B1.00 USD3.00 USD131,072 older than 30 days
Qwen3 235B A22B Instruct 2507 Qwen/Qwen3-235B-A22B-Instruct-25070.200 USD0.600 USD262,144 older than 30 days
Qwen3-30B-A3B-Instruct-2507 Qwen/Qwen3-30B-A3B-Instruct-25070.100 USD0.300 USD262,144 older than 30 days
Qwen3-Embedding-8B Qwen/Qwen3-Embedding-8B0.010 USD0 USD40,960 older than 30 days
Qwen3.5-397B-A17B Qwen/Qwen3.5-397B-A17B0.600 USD3.60 USD262,144 older than 30 days
DeepSeek V4 Flash 0731 deepseek-ai/DeepSeek-V4-Flash-07310.140 USD0.280 USD1,024,000 older than 30 days
DeepSeek V4 Pro deepseek-ai/DeepSeek-V4-Pro1.75 USD3.50 USD1,048,576 older than 30 days
DeepSeek V4 Pro 0813 deepseek-ai/DeepSeek-V4-Pro-08131.32 USD3.96 USD979,000 older than 30 days
DeepSeek V4.1 Flash deepseek-ai/DeepSeek-V4.1-Flash0.300 USD1.20 USD1,048,000
Gemma-3-27b-it google/gemma-3-27b-it0.100 USD0.300 USD110,000 older than 30 days
Kimi K2.7 Code moonshotai/Kimi-K2.7-Code0.950 USD4.00 USD262,144 older than 30 days
Kimi K3 moonshotai/Kimi-K33.00 USD15.00 USD1,048,576 older than 30 days
Nemotron 3 Ultra 550B A55B nvidia/Nemotron-3-Ultra-550b-a55b1.00 USD3.00 USD1,048,576 older than 30 days
Nemotron 3.5 Lightning 30B A3B nvidia/Nemotron-3_5-Lightning0.060 USD0.240 USD1,048,576 older than 30 days
Nemotron-3-Super-120B-A12B nvidia/nemotron-3-super-120b-a12b0.300 USD0.900 USD262,144 older than 30 days
gpt-oss-120b openai/gpt-oss-120b0.150 USD0.600 USD131,072 older than 30 days
GLM-5.2 zai-org/GLM-5.21.40 USD4.40 USD1,048,576 older than 30 days
GLM-5.3 zai-org/GLM-5.31.40 USD4.40 USD1,024,000 older than 30 days
GLM-5.3-Flash zai-org/GLM-5.3-Flash0.150 USD0.500 USD1,024,000

Sources of this page