Baltor Get started

Endpoints

Anthropic

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

  • Anthropic Messages: https://api.anthropic.com provider documentation, read
  • OpenAI Chat Completions: https://api.anthropic.com/v1 Anthropic describes this compatibility layer as a way to test the Claude API with the OpenAI SDK. provider documentation, read
Authentication
x-api-key, with the key in ANTHROPIC_API_KEY provider documentation, read
Structured output
provider documentation, read
Tool calling
provider documentation, read
Rate limits
Read the page provider documentation, read
Prices
Read the page provider documentation, read
Data retention
API inputs and outputs are deleted within 30 days by default, with the exceptions the page lists, such as a zero data retention agreement. Read the page provider documentation, read
Documentation
Unknown
Output limits Baltor recorded
Unknown

Harness setup

Replace claude-fable-5 with the model you want.

OpenCode

Put this in opencode.json in your project folder:

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

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Anthropic 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

Put this in ~/.claude/settings.json, or variables in your shell:

claude --model claude-fable-5

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
Claude Fable 5 claude-fable-510.00 USD50.00 USD1,000,000 older than 30 days
Claude Fable 5.1 claude-fable-5-110.00 USD50.00 USD1,000,000
Claude Haiku 4.5 (latest) claude-haiku-4-51.00 USD5.00 USD200,000 older than 30 days
Claude Haiku 4.5 claude-haiku-4-5-202510011.00 USD5.00 USD200,000 older than 30 days
Claude Opus 4.5 (latest) claude-opus-4-55.00 USD25.00 USD200,000 older than 30 days
Claude Opus 4.5 claude-opus-4-5-202511015.00 USD25.00 USD200,000 older than 30 days
Claude Opus 4.6 claude-opus-4-65.00 USD25.00 USD1,000,000 older than 30 days
Claude Opus 4.7 claude-opus-4-75.00 USD25.00 USD1,000,000 older than 30 days
Claude Opus 4.8 claude-opus-4-85.00 USD25.00 USD1,000,000 older than 30 days
Claude Opus 5 claude-opus-55.00 USD25.00 USD1,000,000 older than 30 days
Claude Opus 5.5 claude-opus-5-54.00 USD20.00 USD1,000,000
Claude Sonnet 4.5 (latest) claude-sonnet-4-53.00 USD15.00 USD1,000,000 older than 30 days
Claude Sonnet 4.5 claude-sonnet-4-5-202509293.00 USD15.00 USD1,000,000 older than 30 days
Claude Sonnet 4.6 claude-sonnet-4-63.00 USD15.00 USD1,000,000 older than 30 days
Claude Sonnet 5 claude-sonnet-52.00 USD10.00 USD1,000,000 older than 30 days