claude-opus-5 pricing and API access
Run claude-opus-5 through Code By AI for $0.67 per 1M input tokens and $3.33 per 1M output tokens. Anthropic lists the same model at $5.00 and $25.00; you pay about 87% less than that, with no monthly subscription.
Official price
$5.00
per 1M tokens, USD
Your price
$0.67
per 1M tokens, USD
Δ
−87%
1/7.5 of official price
| claude-opus-5 | Official price | Your price |
|---|---|---|
| Input | $5.00 | $0.67 |
| Cached input | $0.50 | $0.07 |
| Output | $25.00 | $3.33 |
How to use claude-opus-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-opus-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"Read the Claude Code setup guide
Compare other Claude Code models
- claude-haiku-4-5-20251001$0.13 / $0.67
- claude-sonnet-5Default$0.27 / $1.33
- claude-sonnet-5-5$0.27 / $1.33
- claude-sonnet-4-6$0.40 / $2.00
- claude-opus-5-5$0.53 / $2.67
- claude-opus-4-6$0.67 / $3.33
- claude-opus-4-7$0.67 / $3.33
- claude-opus-4-8$0.67 / $3.33
- claude-fable-5$2.00 / $10.00
- claude-fable-5-1$2.00 / $10.00
claude-opus-5 FAQ
- How much does claude-opus-5 cost on Code By AI?
- claude-opus-5 costs $0.67 per 1M input tokens, $0.07 per 1M cached input tokens and $3.33 per 1M output tokens. Anthropic lists the same model at $5.00 input and $25.00 output.
- Is claude-opus-5 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-opus-5 to select this one.
- How do I use claude-opus-5?
- Export ANTHROPIC_BASE_URL=https://www.codebyai.net/api/agent and ANTHROPIC_AUTH_TOKEN in your shell, pass the model ID claude-opus-5, then launch the CLI. The Claude Code guide covers the full configuration.