Baltor Get started

Endpoints

Ambient

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.ambient.xyz/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in AMBIENT_API_KEY models.dev, read
Structured output
Unknown
Tool calling
10 of 10 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 ambient/large with the model you want.

OpenCode

Put this in opencode.json in your project folder:

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

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Ambient 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 Ambient 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
Ambient Large ambient/large0.600 USD2.00 USD202,752 older than 30 days
DeepSeek V4 Flash deepseek/deepseek-v4-flash0.140 USD0.280 USD1,048,576 older than 30 days
DeepSeek V4 Flash 0731 deepseek/deepseek-v4-flash-07310.080 USD0.180 USD1,048,576 older than 30 days
Kimi K2.6 moonshotai/kimi-k2.60.950 USD4.00 USD262,144 older than 30 days
Kimi K2.7 Code moonshotai/kimi-k2.7-code0.690 USD3.49 USD262,144 older than 30 days
Step 3.7 Flash stepfun/step-3.7-flash0.190 USD1.14 USD262,144 older than 30 days
MiMo-V2.5 xiaomi/mimo-v2.50.400 USD2.00 USD1,048,576 older than 30 days
GLM-5.2 z-ai/glm-5.20.600 USD2.00 USD202,752 older than 30 days
GLM 5.1 zai-org/GLM-5.1-FP81.40 USD4.40 USD202,752 older than 30 days
GLM-5.2 zai-org/GLM-5.2-FP81.20 USD4.20 USD202,752 older than 30 days

Sources of this page