Home/Anthropic/Claude Opus 4.8
Anthropic pricing

Claude Opus 4.8 Cost Calculator

Claude Opus 4.8 succeeds Opus 4.7 at identical pricing ($5/$25) with stronger coding and agentic performance. 1M context, 128K max output, 90% cache discount.

Input
$5.00
per 1M tokens
Output
$25.00
per 1M tokens
Context window
1000K
tokens
Released
2026-06
Cutoff
≈ Estimated tokenizer·$5.00 in·$25.00 out (per 1M)
Quick start with a use case
Total cost per call$0.0175
Input$0.005000
Output$0.0125
Cost comparison
Standard
$0.0175
With Caching
$0.0152
Save 13% ↓
With Batch
$0.008750
Save 50% ↓
Cutting costs? Open models start at $0.14/1M

DeepSeek, Kimi & 200+ open models on Novita AI — often 5–20x cheaper than proprietary APIs for comparable tasks.

Try Novita AI

Affiliate link — we may earn a commission at no extra cost to you.

Detailed pricing

Claude Opus 4.8 pricing breakdown

All pricing dimensions including caching and batch discounts.

TypePrice (per 1M tokens)
Input$5.0000
Output$25.0000
Cached input$0.5000
Cache write$6.2500
Batch input$2.5000
Batch output$12.5000
Cutting costs? Open models start at $0.14/1M

DeepSeek, Kimi & 200+ open models on Novita AI — often 5–20x cheaper than proprietary APIs for comparable tasks.

Try Novita AI

Affiliate link — we may earn a commission at no extra cost to you.

Last verified 2026-07-18 · Anthropic official pricing · ⚠️ Spotted a wrong price? Report in 30s →

How it compares

Claude Opus 4.8 vs alternatives

Single-call cost (1000 input + 500 output tokens) ranked from cheapest.

ModelPer call
Claude Opus 4.8
Anthropic · this page
$0.0175
DeepSeek V4-Flash
DeepSeek
$0.000280
DeepSeek V3.2
DeepSeek
$0.000480
GPT-5 mini
OpenAI
$0.001250
Mistral Large 3
Mistral
$0.001250
Gemini 3 Flash
Google
$0.002000
Recommended use

When to choose Claude Opus 4.8

Claude Opus 4.8 shines for complex multi-step reasoning, code generation and review, general-purpose tasks, and long documents and large codebases. Token counts are estimated within ~10-20% margin.

Context window of 1000K tokens handles entire codebases or book-length documents.
Prompt caching available — significant savings for repeated system prompts.
Batch API support for non-realtime workloads at ~50% discount.
Tool / function calling supported.
FAQ

Frequently asked questions

Claude Opus 4.8 costs $5.00 per 1M input tokens and $25.00 per 1M output tokens. A typical chat call (1000 input + 500 output tokens) costs approximately $0.0175. Use the calculator above to estimate your specific use case.