Baltor Get started

Endpoints

Cortecs

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.cortecs.ai/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in CORTECS_API_KEY models.dev, read
Structured output
Unknown
Tool calling
103 of 109 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 apertus-70b with the model you want.

OpenCode

Put this in opencode.json in your project folder:

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

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Cortecs 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 Cortecs 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
Apertus 70B apertus-70b1.39 USD2.23 USD65,536 older than 30 days
Claude Sonnet 4.5 (latest) claude-4-5-sonnet2.99 USD14.95 USD200,000 older than 30 days
Claude Sonnet 4.6 claude-4-6-sonnet3.20 USD15.94 USD1,000,000 older than 30 days
Claude Haiku 4.5 (latest) claude-haiku-4-50.996 USD4.98 USD200,000 older than 30 days
Claude Opus 5 claude-opus-55.50 USD27.50 USD1,000,000 older than 30 days
Claude Opus 5.5 claude-opus-5.54.40 USD22.00 USD1,000,000
Claude Opus 4.5 (latest) claude-opus4-55.31 USD26.57 USD200,000 older than 30 days
Claude Opus 4.6 claude-opus4-65.31 USD26.56 USD1,000,000 older than 30 days
Claude Opus 4.7 claude-opus4-75.44 USD27.19 USD1,000,000 older than 30 days
Claude Opus 4.8 claude-opus4-85.44 USD27.19 USD1,000,000 older than 30 days
Claude Sonnet 4 (latest) claude-sonnet-42.90 USD14.49 USD200,000 older than 30 days
Claude Sonnet 5 claude-sonnet-52.20 USD11.00 USD1,000,000 older than 30 days
Codestral 2508 codestral-25080.368 USD1.10 USD256,000 older than 30 days
DeepSeek R1 0528 deepseek-r1-05280.652 USD2.57 USD164,000 older than 30 days
DeepSeek V3.2 deepseek-v3.20.296 USD0.495 USD163,840 older than 30 days
DeepSeek V4 Flash 0731 deepseek-v4-flash-07310.090 USD0.170 USD1,048,576 older than 30 days
DeepSeek V4 Pro deepseek-v4-pro1.73 USD3.46 USD1,048,576 older than 30 days
DeepSeek V4 Pro 0813 deepseek-v4-pro-08132.00 USD4.00 USD1,048,576 older than 30 days
DeepSeek V4.1 Flash deepseek-v4.1-flash0.500 USD1.50 USD1,048,576
Devstral 2 devstral-25120.478 USD2.39 USD256,000 older than 30 days
Gemini 2.5 Flash gemini-2.5-flash0.299 USD2.49 USD1,048,576 older than 30 days
Gemini 2.5 Pro gemini-2.5-pro1.50 USD9.96 USD1,048,576 older than 30 days
Gemini 3.1 Flash Lite gemini-3.1-flash-lite0.272 USD1.63 USD1,048,576 older than 30 days
Gemini 3.5 Flash gemini-3.5-flash1.65 USD9.90 USD1,048,576 older than 30 days
Gemini 3.5 Flash Lite gemini-3.5-flash-lite0.330 USD2.75 USD1,048,576 older than 30 days
Gemini 3.6 Flash gemini-3.6-flash0.750 USD3.75 USD1,048,576 older than 30 days
Gemini 3.7 Flash gemini-3.7-flash0.750 USD3.75 USD1,048,576 older than 30 days
Gemini 3.8 Flash gemini-3.8-flash0.825 USD4.12 USD1,048,576
Gemma 3 27B IT gemma-3-27b-it0.099 USD0.299 USD131,000 older than 30 days
Gemma 4 26B A4B IT gemma-4-26b-a4b-it0.111 USD0.557 USD262,000 older than 30 days
Gemma 4 31B IT gemma-4-31b-it0.223 USD0.390 USD262,000 older than 30 days
GLM-4.7-Flash glm-4.7-flash0.080 USD0.478 USD203,000 older than 30 days
GLM-5 glm-50.988 USD3.16 USD202,752 older than 30 days
GLM-5-Turbo glm-5-turbo1.19 USD3.96 USD202,752 older than 30 days
GLM-5.1 glm-5.11.38 USD4.35 USD202,752 older than 30 days
GLM-5.2 glm-5.20.900 USD3.24 USD1,048,576 older than 30 days
GLM-5.3 glm-5.30.873 USD3.31 USD1,048,576 older than 30 days
GLM-5.3-Flash glm-5.3-flash0.100 USD0.350 USD1,048,576
GLM-5V-Turbo glm-5v-turbo1.19 USD3.96 USD202,752 older than 30 days
GPT-4.1 gpt-4.12.19 USD8.77 USD1,047,576 older than 30 days
GPT-4.1 mini gpt-4.1-mini0.434 USD1.70 USD1,047,576 older than 30 days
GPT-4.1 nano gpt-4.1-nano0.111 USD0.434 USD1,047,576 older than 30 days
GPT-4o gpt-4o2.66 USD10.63 USD128,000 older than 30 days
GPT-4o mini gpt-4o-mini0.159 USD0.638 USD128,000 older than 30 days
GPT-5 gpt-51.38 USD10.96 USD400,000 older than 30 days
GPT-5 Mini gpt-5-mini0.279 USD2.19 USD400,000 older than 30 days
GPT-5 Nano gpt-5-nano0.060 USD0.439 USD400,000 older than 30 days
GPT-5.1 gpt-5.11.38 USD10.96 USD400,000 older than 30 days
GPT-5.4 gpt-5.42.90 USD15.45 USD1,050,000 older than 30 days
GPT-5.6 Luna gpt-5.6-luna0.219 USD1.32 USD1,050,000 older than 30 days
GPT-5.6 Sol gpt-5.6-sol4.40 USD22.00 USD1,050,000 older than 30 days
GPT-5.6 Terra gpt-5.6-terra2.20 USD13.20 USD1,050,000 older than 30 days
GPT-6 Luna gpt-6-luna0.120 USD0.600 USD1,050,000
GPT-6 Sol gpt-6-sol2.40 USD12.00 USD1,050,000
GPT OSS 120B gpt-oss-120b0.089 USD0.446 USD131,000 older than 30 days
GPT OSS 20B gpt-oss-20b0.045 USD0.167 USD131,000 older than 30 days
GPT OSS Safeguard 120B gpt-oss-safeguard-120b0.179 USD0.697 USD128,000 older than 30 days
hermes-4-405b hermes-4-405b0.996 USD2.99 USD128,000 older than 30 days
Kimi K2.5 kimi-k2.50.495 USD2.77 USD262,144
Kimi K2.6 kimi-k2.60.475 USD2.97 USD262,144 older than 30 days
Kimi K2.7 Code kimi-k2.7-code0.656 USD3.30 USD262,144 older than 30 days
Kimi K3 kimi-k33.00 USD15.00 USD1,048,576 older than 30 days
Llama-3.1-8B-Instruct llama-3.1-8b-instruct0.167 USD0.167 USD128,000 older than 30 days
Llama-3.3-70B-Instruct llama-3.3-70b-instruct0.724 USD0.724 USD131,000 older than 30 days
minicpm-v-4.5 minicpm-v-4.50.651 USD1.10 USD32,000 older than 30 days
MiniMax-M2 minimax-m20.349 USD1.41 USD400,000 older than 30 days
MiniMax-M2.1 minimax-m2.10.359 USD1.44 USD196,000 older than 30 days
MiniMax-M2.5 minimax-m2.50.296 USD1.19 USD196,000 older than 30 days
MiniMax-M2.7 minimax-m2.70.668 USD2.67 USD196,608 older than 30 days
MiniMax-M3 minimax-m30.395 USD1.98 USD1,048,576 older than 30 days
ministral-14b-2512 ministral-14b-25120.240 USD0.240 USD256,000 older than 30 days
ministral-3b-2512 ministral-3b-25120.123 USD0.123 USD256,000 older than 30 days
ministral-8b-2512 ministral-8b-25120.179 USD0.179 USD256,000 older than 30 days
mistral-7b-instruct-v0.2 mistral-7b-instruct-v0.20.159 USD0.219 USD32,000 older than 30 days
mistral-7b-instruct-v0.3 mistral-7b-instruct-v0.30.111 USD0.111 USD127,000 older than 30 days
mistral-large-2402 mistral-large-24024.28 USD12.95 USD32,000 older than 30 days
Mistral Large 3 mistral-large-25120.613 USD1.84 USD256,000 older than 30 days
mistral-medium-3.5 mistral-medium-3.51.53 USD7.84 USD256,000 older than 30 days
mistral-nemo-instruct-2407 mistral-nemo-instruct-24070.145 USD0.145 USD128,000 older than 30 days
mistral-small-2503 mistral-small-25030.111 USD0.334 USD128,000 older than 30 days
Mistral Small 4 mistral-small-26030.156 USD0.625 USD262,144 older than 30 days
mistral-small-3.2-24b-instruct-2506 mistral-small-3.2-24b-instruct-25060.100 USD0.312 USD131,000 older than 30 days
Mixtral 8x7B Instruct v0.1 mixtral-8x7B-instruct-v0.10.488 USD0.758 USD32,000 older than 30 days
nemotron-nano-v2-12b nemotron-nano-v2-12b0.240 USD0.707 USD128,000 older than 30 days
Nova 2 Lite nova-2-lite0.373 USD3.14 USD1,000,000 older than 30 days
nova-lite-v1 nova-lite-v10.069 USD0.275 USD300,000 older than 30 days
nova-micro-v1 nova-micro-v10.040 USD0.159 USD128,000 older than 30 days
Nova Pro 1.0 nova-pro-v10.918 USD3.67 USD300,000 older than 30 days
nvidia-nemotron-3-nano-30b-a3b nvidia-nemotron-3-nano-30b-a3b0.060 USD0.240 USD256,000 older than 30 days
pixtral-12b-2409 pixtral-12b-24090.223 USD0.223 USD128,000 older than 30 days
Pixtral Large (25.02) pixtral-large-25021.99 USD5.98 USD128,000 older than 30 days
qwen2.5-vl-72b-instruct qwen2.5-vl-72b-instruct1.01 USD1.01 USD32,000 older than 30 days
Qwen3 235B-A22B Instruct 2507 qwen3-235b-a22b-instruct-25070.069 USD0.455 USD262,000 older than 30 days
qwen3-30b-a3b-instruct-2507 qwen3-30b-a3b-instruct-25070.099 USD0.299 USD262,000 older than 30 days
Qwen3 32B qwen3-32b0.179 USD0.697 USD16,384
Qwen3-Coder 30B-A3B Instruct qwen3-coder-30b-a3b-instruct0.067 USD0.245 USD262,144
Qwen3 Coder Next qwen3-coder-next0.167 USD0.891 USD256,000 older than 30 days
qwen3-vl-235b-a22b qwen3-vl-235b-a22b0.617 USD3.12 USD256,000 older than 30 days
Qwen3.5 122B-A10B qwen3.5-122b-a10b0.495 USD3.46 USD262,144 older than 30 days
Qwen3.5 397B-A17B qwen3.5-397b-a17b0.668 USD4.01 USD262,000 older than 30 days
Qwen3.5 9B qwen3.5-9b0.111 USD0.167 USD262,144 older than 30 days
Qwen3.6 27B qwen3.6-27b0.446 USD3.01 USD262,000 older than 30 days
Qwen3.6 35B-A3B qwen3.6-35b-a3b0.167 USD0.557 USD262,000 older than 30 days
Qwen3.8 2.4T A95B qwen3.8-2.4t-a95b2.50 USD6.00 USD262,144 older than 30 days
Qwen3.8 27B qwen3.8-27b0.100 USD0.400 USD262,144 older than 30 days
Qwen3.8 Flash Next qwen3.8-flash-next0.201 USD0.500 USD262,144
qwen3guard-gen-0.6b qwen3guard-gen-0.6b0 USD0 USD32,000 older than 30 days
qwen3guard-gen-8b qwen3guard-gen-8b0 USD0 USD32,000 older than 30 days
voxtral-small-2507 voxtral-small-25070.123 USD0.368 USD32,000 older than 30 days

Sources of this page