Baltor Get started

Endpoints

OpenAI

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

Authentication
Authorization: Bearer, with the key in OPENAI_API_KEY provider documentation, read
Structured output
JSON schema output with strict mode. 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
Abuse monitoring logs are kept for up to 30 days by default. Zero data retention is offered to approved organizations. Read the page provider documentation, read
Documentation
Unknown
Output limits Baltor recorded
Baltor's own provider client declares an output limit for gpt-6-astra (128,000 tokens, 2026-09-04). Baltor records, read

Harness setup

Replace chatgpt-image-latest with the model you want.

OpenCode

Put this in opencode.json in your project folder:

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

From Pi documentation, read .

Codex

Put this in ~/.codex/config.toml:

model = "chatgpt-image-latest"
  • 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 OpenAI 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
chatgpt-image-latest chatgpt-image-latestUnknownUnknownUnknown
GPT-3.5-turbo gpt-3.5-turbo0.500 USD1.50 USD16,385 older than 30 days
GPT-4 gpt-430.00 USD60.00 USD8,192 older than 30 days
GPT-4 Turbo gpt-4-turbo10.00 USD30.00 USD128,000 older than 30 days
GPT-4.1 gpt-4.12.00 USD8.00 USD1,047,576 older than 30 days
GPT-4.1 mini gpt-4.1-mini0.400 USD1.60 USD1,047,576 older than 30 days
GPT-4.1 nano gpt-4.1-nano0.100 USD0.400 USD1,047,576 older than 30 days
GPT-4o gpt-4o2.50 USD10.00 USD128,000 older than 30 days
GPT-4o (2024-05-13) gpt-4o-2024-05-135.00 USD15.00 USD128,000 older than 30 days
GPT-4o (2024-08-06) gpt-4o-2024-08-062.50 USD10.00 USD128,000 older than 30 days
GPT-4o (2024-11-20) gpt-4o-2024-11-202.50 USD10.00 USD128,000 older than 30 days
GPT-4o mini gpt-4o-mini0.150 USD0.600 USD128,000 older than 30 days
GPT-5 gpt-51.25 USD10.00 USD400,000 older than 30 days
GPT-5 Mini gpt-5-mini0.250 USD2.00 USD400,000 older than 30 days
GPT-5 Nano gpt-5-nano0.050 USD0.400 USD400,000 older than 30 days
GPT-5 Pro gpt-5-pro15.00 USD120.00 USD400,000 older than 30 days
GPT-5.1 gpt-5.11.25 USD10.00 USD400,000 older than 30 days
GPT-5.2 gpt-5.21.75 USD14.00 USD400,000 older than 30 days
GPT-5.2 Chat gpt-5.2-chat-latest1.75 USD14.00 USD128,000 older than 30 days
GPT-5.2 Pro gpt-5.2-pro21.00 USD168.00 USD400,000 older than 30 days
GPT-5.3 Chat (latest) gpt-5.3-chat-latest1.75 USD14.00 USD128,000 older than 30 days
GPT-5.3 Codex gpt-5.3-codex1.75 USD14.00 USD400,000 older than 30 days
GPT-5.3 Codex Spark gpt-5.3-codex-spark1.75 USD14.00 USD128,000 older than 30 days
GPT-5.4 gpt-5.42.50 USD15.00 USD1,050,000 older than 30 days
GPT-5.4 mini gpt-5.4-mini0.750 USD4.50 USD400,000 older than 30 days
GPT-5.4 nano gpt-5.4-nano0.200 USD1.25 USD400,000 older than 30 days
GPT-5.4 Pro gpt-5.4-pro30.00 USD180.00 USD1,050,000 older than 30 days
GPT-5.5 gpt-5.55.00 USD30.00 USD1,050,000 older than 30 days
GPT-5.5 Pro gpt-5.5-pro30.00 USD180.00 USD1,050,000 older than 30 days
GPT-5.6 gpt-5.64.00 USD20.00 USD1,050,000 older than 30 days
GPT-5.6 Luna gpt-5.6-luna0.200 USD1.20 USD1,050,000 older than 30 days
GPT-5.6 Sol gpt-5.6-sol4.00 USD20.00 USD1,050,000 older than 30 days
GPT-5.6 Terra gpt-5.6-terra2.00 USD12.00 USD1,050,000 older than 30 days
GPT-6 Astra gpt-6-astra10.00 USD50.00 USD1,050,000
GPT-6 Luna gpt-6-luna0.100 USD0.500 USD1,050,000
GPT-6 Sol gpt-6-sol2.00 USD10.00 USD1,050,000
gpt-image-1 gpt-image-1UnknownUnknownUnknown
gpt-image-1-mini gpt-image-1-miniUnknownUnknownUnknown
gpt-image-1.5 gpt-image-1.5UnknownUnknownUnknown
gpt-image-2 gpt-image-25.00 USD30.00 USDUnknown older than 30 days
GPT-Realtime-2.1 gpt-realtime-2.14.00 USD24.00 USD128,000 older than 30 days
o1 o115.00 USD60.00 USD200,000 older than 30 days
o1-pro o1-pro150.00 USD600.00 USD200,000 older than 30 days
o3 o32.00 USD8.00 USD200,000 older than 30 days
o3-mini o3-mini1.10 USD4.40 USD200,000 older than 30 days
o3-pro o3-pro20.00 USD80.00 USD200,000 older than 30 days
o4-mini o4-mini1.10 USD4.40 USD200,000 older than 30 days
text-embedding-3-large text-embedding-3-large0.130 USD0 USD8,191 older than 30 days
text-embedding-3-small text-embedding-3-small0.020 USD0 USD8,191 older than 30 days
text-embedding-ada-002 text-embedding-ada-0020.100 USD0 USD8,192 older than 30 days