Baltor Get started

Endpoints

Helicone

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://ai-gateway.helicone.ai/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in HELICONE_API_KEY models.dev, read
Structured output
Unknown
Tool calling
72 of 90 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 chatgpt-4o-latest with the model you want.

OpenCode

Put this in opencode.json in your project folder:

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

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Helicone 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 Helicone 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
OpenAI ChatGPT-4o chatgpt-4o-latest5.00 USD20.00 USD128,000 older than 30 days
Anthropic: Claude 3 Haiku claude-3-haiku-202403070.250 USD1.25 USD200,000 older than 30 days
Anthropic: Claude 3.5 Haiku claude-3.5-haiku0.800 USD4.00 USD200,000 older than 30 days
Anthropic: Claude 3.5 Sonnet v2 claude-3.5-sonnet-v23.00 USD15.00 USD200,000 older than 30 days
Anthropic: Claude 3.7 Sonnet claude-3.7-sonnet3.00 USD15.00 USD200,000 older than 30 days
Anthropic: Claude 4.5 Haiku claude-4.5-haiku1.00 USD5.00 USD200,000 older than 30 days
Anthropic: Claude Opus 4.5 claude-4.5-opus5.00 USD25.00 USD200,000 older than 30 days
Anthropic: Claude Sonnet 4.5 claude-4.5-sonnet3.00 USD15.00 USD200,000 older than 30 days
Anthropic: Claude 4.5 Haiku (20251001) claude-haiku-4-5-202510011.00 USD5.00 USD200,000 older than 30 days
Anthropic: Claude Opus 4 claude-opus-415.00 USD75.00 USD200,000 older than 30 days
Anthropic: Claude Opus 4.1 claude-opus-4-115.00 USD75.00 USD200,000 older than 30 days
Anthropic: Claude Opus 4.1 (20250805) claude-opus-4-1-2025080515.00 USD75.00 USD200,000 older than 30 days
Anthropic: Claude Sonnet 4 claude-sonnet-43.00 USD15.00 USD200,000 older than 30 days
Anthropic: Claude Sonnet 4.5 (20250929) claude-sonnet-4-5-202509293.00 USD15.00 USD200,000 older than 30 days
DeepSeek R1 Distill Llama 70B deepseek-r1-distill-llama-70b0.030 USD0.130 USD128,000 older than 30 days
DeepSeek Reasoner deepseek-reasoner0.560 USD1.68 USD128,000 older than 30 days
DeepSeek TNG R1T2 Chimera deepseek-tng-r1t2-chimera0.300 USD1.20 USD130,000 older than 30 days
DeepSeek V3 deepseek-v30.560 USD1.68 USD128,000 older than 30 days
DeepSeek V3.1 Terminus deepseek-v3.1-terminus0.270 USD1.00 USD128,000 older than 30 days
DeepSeek V3.2 deepseek-v3.20.270 USD0.410 USD163,840 older than 30 days
Baidu Ernie 4.5 21B A3B Thinking ernie-4.5-21b-a3b-thinking0.070 USD0.280 USD128,000 older than 30 days
Google Gemini 2.5 Flash gemini-2.5-flash0.300 USD2.50 USD1,048,576 older than 30 days
Google Gemini 2.5 Flash Lite gemini-2.5-flash-lite0.100 USD0.400 USD1,048,576 older than 30 days
Google Gemini 2.5 Pro gemini-2.5-pro1.25 USD10.00 USD1,048,576 older than 30 days
Google Gemini 3 Pro Preview gemini-3-pro-preview2.00 USD12.00 USD1,048,576 older than 30 days
Google Gemma 3 12B gemma-3-12b-it0.050 USD0.100 USD131,072 older than 30 days
Google Gemma 2 gemma2-9b-it0.010 USD0.030 USD8,192 older than 30 days
Zai GLM-4.6 glm-4.60.450 USD1.50 USD204,800 older than 30 days
OpenAI GPT-4.1 gpt-4.12.00 USD8.00 USD1,047,576 older than 30 days
OpenAI GPT-4.1 Mini gpt-4.1-mini0.400 USD1.60 USD1,047,576 older than 30 days
OpenAI GPT-4.1 Mini gpt-4.1-mini-2025-04-140.400 USD1.60 USD1,047,576 older than 30 days
OpenAI GPT-4.1 Nano gpt-4.1-nano0.100 USD0.400 USD1,047,576 older than 30 days
OpenAI GPT-4o gpt-4o2.50 USD10.00 USD128,000 older than 30 days
OpenAI GPT-4o-mini gpt-4o-mini0.150 USD0.600 USD128,000 older than 30 days
OpenAI GPT-5 gpt-51.25 USD10.00 USD400,000 older than 30 days
OpenAI GPT-5 Chat Latest gpt-5-chat-latest1.25 USD10.00 USD128,000 older than 30 days
OpenAI: GPT-5 Codex gpt-5-codex1.25 USD10.00 USD400,000 older than 30 days
OpenAI GPT-5 Mini gpt-5-mini0.250 USD2.00 USD400,000 older than 30 days
OpenAI GPT-5 Nano gpt-5-nano0.050 USD0.400 USD400,000 older than 30 days
OpenAI: GPT-5 Pro gpt-5-pro15.00 USD120.00 USD128,000 older than 30 days
OpenAI GPT-5.1 gpt-5.11.25 USD10.00 USD400,000 older than 30 days
OpenAI GPT-5.1 Chat gpt-5.1-chat-latest1.25 USD10.00 USD128,000 older than 30 days
OpenAI: GPT-5.1 Codex gpt-5.1-codex1.25 USD10.00 USD400,000 older than 30 days
OpenAI: GPT-5.1 Codex Mini gpt-5.1-codex-mini0.250 USD2.00 USD400,000 older than 30 days
OpenAI GPT-OSS 120b gpt-oss-120b0.040 USD0.160 USD131,072 older than 30 days
OpenAI GPT-OSS 20b gpt-oss-20b0.050 USD0.200 USD131,072 older than 30 days
xAI Grok 3 grok-33.00 USD15.00 USD131,072 older than 30 days
xAI Grok 3 Mini grok-3-mini0.300 USD0.500 USD131,072 older than 30 days
xAI Grok 4 grok-43.00 USD15.00 USD256,000 older than 30 days
xAI Grok 4.1 Fast Non-Reasoning grok-4-1-fast-non-reasoning0.200 USD0.500 USD2,000,000 older than 30 days
xAI Grok 4.1 Fast Reasoning grok-4-1-fast-reasoning0.200 USD0.500 USD2,000,000 older than 30 days
xAI Grok 4 Fast Non-Reasoning grok-4-fast-non-reasoning0.200 USD0.500 USD2,000,000 older than 30 days
xAI: Grok 4 Fast Reasoning grok-4-fast-reasoning0.200 USD0.500 USD2,000,000 older than 30 days
xAI Grok Code Fast 1 grok-code-fast-10.200 USD1.50 USD256,000 older than 30 days
Hermes 2 Pro Llama 3 8B hermes-2-pro-llama-3-8b0.140 USD0.140 USD131,072 older than 30 days
Kimi K2 (07/11) kimi-k2-07110.570 USD2.30 USD131,072 older than 30 days
Kimi K2 (09/05) kimi-k2-09050.500 USD2.00 USD262,144 older than 30 days
Kimi K2 Thinking kimi-k2-thinking0.480 USD2.00 USD256,000 older than 30 days
Meta Llama 3.1 8B Instant llama-3.1-8b-instant0.050 USD0.080 USD131,072 older than 30 days
Meta Llama 3.1 8B Instruct llama-3.1-8b-instruct0.020 USD0.050 USD16,384 older than 30 days
Meta Llama 3.1 8B Instruct Turbo llama-3.1-8b-instruct-turbo0.020 USD0.030 USD128,000 older than 30 days
Meta Llama 3.3 70B Instruct llama-3.3-70b-instruct0.130 USD0.390 USD128,000 older than 30 days
Meta Llama 3.3 70B Versatile llama-3.3-70b-versatile0.590 USD0.790 USD131,072 older than 30 days
Meta Llama 4 Maverick 17B 128E llama-4-maverick0.150 USD0.600 USD131,072 older than 30 days
Meta Llama 4 Scout 17B 16E llama-4-scout0.080 USD0.300 USD131,072 older than 30 days
Meta Llama Guard 4 12B llama-guard-40.210 USD0.210 USD131,072 older than 30 days
Meta Llama Prompt Guard 2 22M llama-prompt-guard-2-22m0.010 USD0.010 USD512 older than 30 days
Meta Llama Prompt Guard 2 86M llama-prompt-guard-2-86m0.010 USD0.010 USD512 older than 30 days
Mistral-Large mistral-large-24112.00 USD6.00 USD128,000 older than 30 days
Mistral Nemo mistral-nemo20.00 USD40.00 USD128,000 older than 30 days
Mistral Small 3.2 mistral-small0.075 USD0.200 USD128,000 older than 30 days
OpenAI: o1 o115.00 USD60.00 USD200,000 older than 30 days
OpenAI: o1-mini o1-mini1.10 USD4.40 USD128,000 older than 30 days
OpenAI o3 o32.00 USD8.00 USD200,000 older than 30 days
OpenAI o3 Mini o3-mini1.10 USD4.40 USD200,000 older than 30 days
OpenAI o3 Pro o3-pro20.00 USD80.00 USD200,000 older than 30 days
OpenAI o4 Mini o4-mini1.10 USD4.40 USD200,000 older than 30 days
Qwen2.5 Coder 7B fast qwen2.5-coder-7b-fast0.030 USD0.090 USD32,000 older than 30 days
Qwen3 235B A22B Thinking qwen3-235b-a22b-thinking0.300 USD2.90 USD262,144 older than 30 days
Qwen3 30B A3B qwen3-30b-a3b0.080 USD0.290 USD41,000 older than 30 days
Qwen3 32B qwen3-32b0.290 USD0.590 USD131,072 older than 30 days
Qwen3 Coder 480B A35B Instruct Turbo qwen3-coder0.220 USD0.950 USD262,144 older than 30 days
Qwen3 Coder 30B A3B Instruct qwen3-coder-30b-a3b-instruct0.100 USD0.300 USD262,144 older than 30 days
Qwen3 Next 80B A3B Instruct qwen3-next-80b-a3b-instruct0.140 USD1.40 USD262,000 older than 30 days
Qwen3 VL 235B A22B Instruct qwen3-vl-235b-a22b-instruct0.300 USD1.50 USD256,000 older than 30 days
Perplexity Sonar sonar1.00 USD1.00 USD127,000 older than 30 days
Perplexity Sonar Deep Research sonar-deep-research2.00 USD8.00 USD127,000 older than 30 days
Perplexity Sonar Pro sonar-pro3.00 USD15.00 USD200,000 older than 30 days
Perplexity Sonar Reasoning sonar-reasoning1.00 USD5.00 USD127,000 older than 30 days
Perplexity Sonar Reasoning Pro sonar-reasoning-pro2.00 USD8.00 USD127,000 older than 30 days

Sources of this page