Baltor Get started

Endpoints

TensorX

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.tensorx.ai/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in TENSORX_API_KEY models.dev, read
Structured output
Unknown
Tool calling
25 of 25 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/deepseek-r1-0528 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

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

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and TensorX 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 TensorX 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 R1-0528 deepseek/deepseek-r1-05280.660 USD2.60 USD164,000 older than 30 days
DeepSeek V3.2 deepseek/deepseek-v3.20.300 USD0.500 USD163,840 older than 30 days
DeepSeek V4 Flash 0731 deepseek/deepseek-v4-flash-07310.250 USD0.300 USD1,048,576 older than 30 days
DeepSeek V4 Pro deepseek/deepseek-v4-pro1.75 USD3.50 USD1,048,576 older than 30 days
DeepSeek V4 Pro 0813 deepseek/deepseek-v4-pro-08132.00 USD4.00 USD1,048,576 older than 30 days
DeepSeek V4.1 Flash deepseek/deepseek-v4.1-flash0.500 USD1.50 USD1,048,576
MiniMax-M2.5 minimax/minimax-m2.50.300 USD1.20 USD196,608 older than 30 days
MiniMax-M3 minimax/minimax-m30.400 USD2.00 USD1,048,576 older than 30 days
Kimi K2.5 moonshotai/kimi-k2.50.500 USD2.80 USD262,144
Kimi K2.6 moonshotai/kimi-k2.61.00 USD4.00 USD262,144 older than 30 days
Kimi K2.7 Code moonshotai/kimi-k2.7-code1.25 USD4.50 USD262,144 older than 30 days
Kimi K3 moonshotai/kimi-k33.00 USD15.00 USD1,048,576 older than 30 days
Qwen3 235B-A22B-2507 qwen/qwen3-235b-a22b-25070.072 USD0.464 USD131,000 older than 30 days
Qwen3.5 122B-A10B qwen/qwen3.5-122b-a10b0.500 USD3.50 USD262,144 older than 30 days
Qwen3.5 9B qwen/qwen3.5-9b0.150 USD0.200 USD262,144 older than 30 days
Qwen3.8 2.4T A95B qwen/qwen3.8-2.4t-a95b2.50 USD6.00 USD262,144 older than 30 days
Qwen3.8 27B qwen/qwen3.8-27b0.400 USD2.40 USD262,144 older than 30 days
Qwen3.8 Flash Next qwen/qwen3.8-flash-next0.200 USD0.500 USD262,144
GLM-5 z-ai/glm-51.00 USD3.20 USD202,752 older than 30 days
GLM-5-Turbo z-ai/glm-5-turbo1.20 USD4.00 USD202,752 older than 30 days
GLM-5.1 z-ai/glm-5.11.40 USD4.40 USD202,752 older than 30 days
GLM-5.2 z-ai/glm-5.21.50 USD4.50 USD1,048,576 older than 30 days
GLM-5.3 z-ai/glm-5.31.75 USD4.50 USD1,048,576 older than 30 days
GLM-5.3-Flash z-ai/glm-5.3-flash0.200 USD0.500 USD1,048,576
GLM-5V-Turbo z-ai/glm-5v-turbo1.20 USD4.00 USD202,752 older than 30 days

Sources of this page