Claude Opus 4.8 API pricing

The last Opus 4.x release before Opus 5.

VisionTool callingReasoningPrompt cachingPDF input

Input

$5.00

per 1M tokens

Cached input

$0.50

per 1M tokens

Cache write

$6.25

per 1M tokens

Output

$25.00

per 1M tokens

Context window

1M

max output 125K

Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Hand-checked against the provider's official pricing page on Aug 20, 2026. Spot an error? Tell us.

Pricing notes

  • Cache writes $6.25/1M (5m) or $10.00/1M (1h); batch $2.50/$12.50.

What would Claude Opus 4.8 cost you?

Enter your workload — add other models to compare the same traffic across providers.

Your monthly workload

Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.

Claude Opus 4.8
ModelInputCached inputOutputPer requestMonthly
Claude Opus 4.8$3,000$200$6,250$0.019$9,450
Rates used: Claude Opus 4.8 $5.00 in / $25.00 out

More from Anthropic

Tracking Claude Opus 4.8 in production?

Marginal prices every call your app actually makes — cached tokens, dated snapshots, model switches included — and slices spend by customer or feature. One track() call to integrate.