Claude Haiku 5.5 API pricing and access
Run Claude Haiku 5.5 (model ID claude-haiku-5-5) through Code By AI for $0.025 per 1M input tokens and $0.125 per 1M output tokens, with no monthly subscription.
What Claude Haiku 5.5 is for
Use this model through Claude Code to explain unfamiliar code, investigate errors and draft tests for changes. Review generated code and run your own tests before using it.
| Official price | Your price | |
|---|---|---|
| ≤ 100,000 prompt tokens | ||
| Input | $0.10 | $0.025 |
| Cache read | $0.01 | $0.0025 |
| Cache write (5 min) | $0.125 | $0.03125 |
| Cache write (1 hour) | $0.20 | $0.05 |
| Output | $0.50 | $0.125 |
| > 100,000 prompt tokens | ||
| Input | $0.50 | $0.125 |
| Cache read | $0.05 | $0.0125 |
| Cache write (5 min) | $0.625 | $0.15625 |
| Cache write (1 hour) | $1.00 | $0.25 |
| Output | $2.50 | $0.625 |
Prompt length includes uncached input and cache reads and writes. The selected tier applies to the whole request.
Claude cache writes cost 1.25× the input rate for 5-minute entries or 2× for 1-hour entries. These rates replace the normal input rate for those tokens; the cache-read price applies only to reads.
How to use claude-haiku-5-5
Export ANTHROPIC_BASE_URL=https://www.codebyai.net/api/agent and ANTHROPIC_AUTH_TOKEN=sk-proj-xxxx, then launch the CLI, and use the model ID claude-haiku-5-5. The Claude Code guide walks through the full configuration.
export ANTHROPIC_BASE_URL="https://www.codebyai.net/api/agent" export ANTHROPIC_AUTH_TOKEN="sk-proj-xxxx"
No key yet? Create one
Claude Code, Codex and Gemini CLI compatibility
A client can call claude-haiku-5-5 only when it speaks the endpoint that serves this model. The table shows what works and the minimum configuration.
- Claude CodeAvailable
Set ANTHROPIC_BASE_URL="https://www.codebyai.net/api/agent" and ANTHROPIC_AUTH_TOKEN, then use model claude-haiku-5-5.
Open the Claude Code guide - CodexAvailable
Available through the Responses endpoint: it accepts Claude models, so claude-haiku-5-5 is forwarded to the Claude channel and billed at Claude rates.
Open the Codex guide - Gemini CLINot applicable
Not applicable: the Gemini generateContent endpoint serves the Gemini family only.
Open the Gemini CLI guide
Compare other Claude Code models
Your price /1M
- claude-haiku-4-5-20251001$0.25 / $1.25
- claude-sonnet-5Default$0.50 / $2.50
- claude-sonnet-5-5$0.50 / $2.50
- claude-sonnet-4-6$0.75 / $3.75
- claude-opus-5-5$1.00 / $5.00
- claude-opus-4-6$1.25 / $6.25
- claude-opus-4-7$1.25 / $6.25
- claude-opus-4-8$1.25 / $6.25
- claude-opus-5$1.25 / $6.25
- claude-fable-5-2$2.00 / $10.00
- claude-fable-5$2.50 / $12.50
- claude-fable-5-1$2.50 / $12.50
Claude Haiku 5.5 FAQ
Get started
Four steps to your first request
- 01
Create a free account
Sign up with Google, GitHub or email and set a password. No card is required.
- 02
Generate an API key
Create a key in one click from the dashboard. It lets your CLI authenticate with Code By AI.
- 03
Top up your balance
Add credit before your first request; usage is charged per token from your balance.
- 04
Point your CLI at Code By AI
Export one base-URL variable, or add a model provider block to config.toml. The setup guides list the exact lines for each agent.
No card required to sign up · API usage requires a top-up