Claude Haiku 5.5 API price

Claude Haiku 5.5 (Anthropic) on GoiAPI: $0.0221 per 1M input tokens, $0.1105 per 1M output tokens, 1M context. Call it with the model name "claude-haiku-5-5" using the OpenAI or Anthropic API format.

claude-haiku-5-5· Price updated
30-day uptime: 86.95%Time to first byte: 1.1 sView status
Ask AI and more
View as Markdown

Price per 1M tokens

Input tokens (prompt, files, chat history)
$0.0221
Output tokens (the model's response)
$0.1105
Cache read (repeated prompt content already cached)
$0.00221
Cache write (first time a prompt is written to the cache)
$0.04388
  • Each request that returns content has a small minimum charge (very short requests).
  • A request that fails without returning any content is not charged, unless you cancel it yourself.
  • See every model on the Pricing page.

Specifications

Model makerAnthropic
Max context1,000,000 tokens
API formatsOpenAI (Chat Completions) and Anthropic (Messages)

How to call Claude Haiku 5.5

Replace <API_KEY> with a key from your dashboard (no account yet? Sign up first).

Claude Code

Open Terminal (macOS/Linux) or PowerShell (Windows), paste the lines below one by one, then run Claude Code as usual.

macOS / Linux: paste into Terminal
export ANTHROPIC_BASE_URL="https://api.goiapi.com"
export ANTHROPIC_AUTH_TOKEN="<API_KEY>"
export ANTHROPIC_MODEL="claude-haiku-5-5"
claude
Windows: paste into PowerShell
$env:ANTHROPIC_BASE_URL = "https://api.goiapi.com"
$env:ANTHROPIC_AUTH_TOKEN = "<API_KEY>"
$env:ANTHROPIC_MODEL = "claude-haiku-5-5"
claude

curl

For developers: send a test call from the command line, no SDK needed.

OpenAI format
curl https://api.goiapi.com/v1/chat/completions \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-haiku-5-5", "messages": [{"role": "user", "content": "Hello"}]}'
Anthropic format
curl https://api.goiapi.com/v1/messages \
  -H "x-api-key: <API_KEY>" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-haiku-5-5", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'

OpenAI SDK

For developers: use the OpenAI library and change only the base URL and key.

Python
from openai import OpenAI

client = OpenAI(base_url="https://api.goiapi.com/v1", api_key="<API_KEY>")
reply = client.chat.completions.create(
    model="claude-haiku-5-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
Node.js
import OpenAI from 'openai';

const client = new OpenAI({ baseURL: 'https://api.goiapi.com/v1', apiKey: '<API_KEY>' });
const reply = await client.chat.completions.create({
  model: 'claude-haiku-5-5',
  messages: [{ role: 'user', content: 'Hello' }],
});
console.log(reply.choices[0].message.content);

Related guides

Other Anthropic models