Baltor Get started

Endpoints

Berget.AI

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.berget.ai/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in BERGET_API_KEY models.dev, read
Structured output
Unknown
Tool calling
6 of 6 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 Qwen/Qwen3.8-27B-FP8 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "berget": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Berget.AI",
      "options": {
        "baseURL": "https://api.berget.ai/v1",
        "apiKey": "{env:BERGET_API_KEY}"
      },
      "models": {
        "Qwen/Qwen3.8-27B-FP8": {
          "name": "Qwen/Qwen3.8-27B-FP8"
        }
      }
    }
  }
}
  • 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": {
    "berget": {
      "baseUrl": "https://api.berget.ai/v1",
      "api": "openai-completions",
      "apiKey": "$BERGET_API_KEY",
      "models": [
        {
          "id": "Qwen/Qwen3.8-27B-FP8"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Berget.AI 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 Berget.AI 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
Qwen3.8 27B Qwen/Qwen3.8-27B-FP80.460 USD3.48 USD262,144
Gemma 4 31B Instruct google/gemma-4-31B-it0.275 USD0.550 USD128,000 older than 30 days
Mistral Small 3.2 24B Instruct 2506 mistralai/Mistral-Small-3.2-24B-Instruct-25060.330 USD0.330 USD32,000 older than 30 days
Kimi K3 moonshotai/Kimi-K33.00 USD15.00 USD327,680 older than 30 days
GLM-5.2 zai-org/GLM-5.21.54 USD4.84 USD524,288 older than 30 days
GLM-5.3-Flash zai-org/GLM-5.3-Flash0.290 USD0.580 USD524,288

Sources of this page