claude-haiku-4-5-20251001 pricing and API access

Run claude-haiku-4-5-20251001 through Code By AI for $0.13 per 1M input tokens and $0.67 per 1M output tokens. Anthropic lists the same model at $1.00 and $5.00; you pay about 87% less than that, with no monthly subscription.

Official price

$1.00

per 1M tokens, USD

Your price

$0.13

per 1M tokens, USD

Δ

−87%

1/7.5 of official price

claude-haiku-4-5-20251001Official priceYour price
Input$1.00$0.13
Cached input$0.10$0.01
Output$5.00$0.67

How to use claude-haiku-4-5-20251001

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-4-5-20251001. 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"
Read the Claude Code setup guide

Compare other Claude Code models

claude-haiku-4-5-20251001 FAQ

How much does claude-haiku-4-5-20251001 cost on Code By AI?
claude-haiku-4-5-20251001 costs $0.13 per 1M input tokens, $0.01 per 1M cached input tokens and $0.67 per 1M output tokens. Anthropic lists the same model at $1.00 input and $5.00 output.
Is claude-haiku-4-5-20251001 the default Claude Code model?
No. Requests to Claude Code without a model parameter use the default model instead; set the model parameter to claude-haiku-4-5-20251001 to select this one.
How do I use claude-haiku-4-5-20251001?
Export ANTHROPIC_BASE_URL=https://www.codebyai.net/api/agent and ANTHROPIC_AUTH_TOKEN in your shell, pass the model ID claude-haiku-4-5-20251001, then launch the CLI. The Claude Code guide covers the full configuration.