Claude Opus 4.8 API pricing

Anthropic charges $5 per million input tokens and $25 per million output tokens for Claude Opus 4.8 (claude-opus-4-8), and $0.5 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.0175, or $0.00875 through the batch API.

Prices updated November 14, 2026
Input / 1M tokens
$5
Output / 1M tokens
$25
Cached input / 1M tokens
$0.5
Typical request
$0.0175
Calculate the cost of your prompt →

Claude Opus 4.8 price per million tokens

Token typeStandardBatch API
Input$5$2.5
Cached input$0.5$0.25
Output$25$12.5

API model id: claude-opus-4-8. Claude Opus 4.8 supports a 1M-token context window, up to 128K output tokens, image input, tool calling and reasoning.

What Claude Opus 4.8 costs per request

Request1 request1,000 requests1M requests
Short chat message (300 in, 200 out)$0.0065$6.50$6,500.00
Typical request (1K in, 500 out)$0.0175$17.50$17,500.00
Long document summary (20K in, 1K out)$0.13$125.00$125,000.00
Coding agent step (50K in, 2K out)$0.30$300.00$300,000.00

At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words. Anthropic counts tokens with its own tokenizer, so the same text can be a different number of tokens.

How Claude Opus 4.8 compares

Claude Opus 4.8 price history

Claude Opus 4.8 has cost $5 per million input tokens and $25 per million output tokens since apicost.app started tracking prices on October 22, 2026.

Every LLM API price increase, cut, new and retired model, dated: LLM API price changes.

Models with a similar price

ModelProviderInput / 1MCached input / 1MOutput / 1MTypical request
GPT-5.6OpenAI$4$0.4$20$0.014
Claude Opus 5.5Anthropic$4$0.2$20$0.014
Claude Opus 4.5Anthropic$5$0.5$25$0.0175
Claude Opus 4.6Anthropic$5$0.5$25$0.0175
Claude Opus 4.7Anthropic$5$0.5$25$0.0175
Claude Opus 5Anthropic$5$0.5$25$0.0175
GPT-5.5OpenAI$5$0.5$30$0.02
Claude Fable 5.2Anthropic$8$0.2$40$0.028

Other Anthropic models

Every Anthropic model side by side, with batch, caching and long-context prices: Claude API pricing (Anthropic). Ways to pay less: batch API, prompt caching, the cheapest models.

Questions and answers

How much does the Claude Opus 4.8 API cost?

Anthropic charges $5 per million input tokens and $25 per million output tokens for Claude Opus 4.8 (claude-opus-4-8), and $0.5 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.0175, or $0.00875 through the batch API.

Has the Claude Opus 4.8 API price changed?

No. Claude Opus 4.8 has cost $5 per million input tokens and $25 per million output tokens since apicost.app started tracking prices on October 22, 2026.

Is there a cheaper way to use Claude Opus 4.8?

Yes. The Anthropic batch API runs requests within 24 hours for $2.5 per million input tokens and $12.5 per million output tokens. Prompt caching lowers the price of repeated input to $0.5 per million tokens.

What is the context window of Claude Opus 4.8?

Claude Opus 4.8 accepts up to 1,000,000 input tokens, roughly 750,000 words of English, and writes up to 128,000 output tokens per response. Filling the whole context window once costs $5.00 in input tokens.

Is Claude Opus 4.8 cheaper than GPT-5.5?

Yes. GPT-5.5 from OpenAI costs $5 input and $30 output per million tokens, so a typical request is $0.02: 1.1× the price of Claude Opus 4.8.

Source: Anthropic pricing, via the LiteLLM price list.