Baltor Get started

Endpoints

Bothub

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://openai.bothub.ru/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in BOTHUB_API_KEY models.dev, read
Structured output
Unknown
Tool calling
8 of 8 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 deepseek-v4-flash-0731 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "bothub": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Bothub",
      "options": {
        "baseURL": "https://openai.bothub.ru/v1",
        "apiKey": "{env:BOTHUB_API_KEY}"
      },
      "models": {
        "deepseek-v4-flash-0731": {
          "name": "deepseek-v4-flash-0731"
        }
      }
    }
  }
}
  • 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": {
    "bothub": {
      "baseUrl": "https://openai.bothub.ru/v1",
      "api": "openai-completions",
      "apiKey": "$BOTHUB_API_KEY",
      "models": [
        {
          "id": "deepseek-v4-flash-0731"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Bothub 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 Bothub 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
DeepSeek V4 Flash 0731 deepseek-v4-flash-07310.100 USD0.280 USD1,000,000 older than 30 days
DeepSeek V4 Pro 0813 deepseek-v4-pro-08131.61 USD4.84 USD1,000,000 older than 30 days
Gemma 4 31B IT (free) gemma-4-31b-it:free0 USD0 USD262,144 older than 30 days
GLM-5.3 glm-5.31.72 USD5.41 USD1,000,000 older than 30 days
GLM-5.3-Flash glm-5.3-flash0.120 USD0.440 USD1,000,000
GPT-5.6 Luna gpt-5.6-luna0.060 USD0.370 USD1,050,000 older than 30 days
Muse Spark 1.3 Contributor muse-spark-1.3-contributor0.100 USD0.200 USD1,048,576
Nemotron 3 Ultra (free) nemotron-3-ultra-550b-a55b:free0 USD0 USD1,000,000 older than 30 days

Sources of this page