impulse

Claude Opus 4.8

Frontier lab

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family.

API id claude-opus-4-8Released 27 May 2026 (May 2026)
Input / 1M
$5.00
at Anthropic
Output / 1M
$25.00
at Anthropic
Context window
1M
tokens
Max output
128K
tokens per reply
Hosts
8
24 listings
Released
May 2026
27 May 2026

Pricing

List prices at Anthropic, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$5.00$25.00
Cached input
90% off input
$0.50
Cache write, 5 minutes$6.25
Cache write, 1 hour$10.00
Batch
50% off
$2.50$12.50
Web search
$10.00 per 1,000 searches
Regional endpoints
10% more

What it costs a month

At Anthropic list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$2,970
  • RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$2,220
  • Coding agent1,000 requests a day, 40K in / 2K out, cached$3,720
  • Overnight batch20,000 requests a day, 4K in / 0.4K out, batch$9,000
Use your own numbers

Where to run it

8 hosts serve Claude Opus 4.8. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
AnthropicLab API
claude-opus-4-8
$5.00 / $25.00
anthropic.claude-opus-4-8
$5.00 / $25.00
claude-opus-4-8
$5.00 / $25.00
Retires 1 Sep 2027
claude-opus-4-8
$5.00 / $25.00
claude-opus-4-8
$5.00 / $25.00
No retirement before 28 May 2027
DeepInfraInference
claude-opus-4-8
$5.00 / $25.00
PerplexityGateway
claude-opus-4-8
$5.00 / $25.00
databricks-claude-opus-4-8
$5.00 / $25.00
GitHub CopilotSubscription
claude-opus-4.8
In the subscription
Show 15 more listings: regions, snapshots and variants
Amazon Bedrock
Claude Platform
claude-opus-4-8
$5.00 / $25.00
global
global.anthropic.claude-opus-4-8
$5.00 / $25.00
Mantle
anthropic.claude-opus-4-8
$5.50 / $27.50
+10% vs headline
Mantle
anthropic.claude-opus-4-8
$5.50 / $27.50
+10% vs headline
au
au.anthropic.claude-opus-4-8
$5.50 / $27.50
+10% vs headline
eu
eu.anthropic.claude-opus-4-8
$5.50 / $27.50
+10% vs headline
jp
jp.anthropic.claude-opus-4-8
$5.50 / $27.50
+10% vs headline
us
us.anthropic.claude-opus-4-8
$5.50 / $27.50
+10% vs headline
apac
apac.anthropic.claude-opus-4-8
$5.50 / $27.50
+10% vs headline
us-gov-west-1
anthropic.claude-opus-4-8
$6.00 / $30.00
+20% vs headline
us-gov-east-1
anthropic.claude-opus-4-8
$6.00 / $30.00
+20% vs headline
us-gov-west-1 · Mantle
anthropic.claude-opus-4-8
$6.00 / $30.00
+20% vs headline
us-gov
us-gov.anthropic.claude-opus-4-8
$6.00 / $30.00
+20% vs headline
Vertex AI
Alias
claude-opus-4-8@default
$5.00 / $25.00
No retirement before 28 May 2027
GitHub Copilot
fast mode
claude-opus-4.8-fast
In the subscription

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
TextImagesPDFs
Produces
Text
Effort settings the source lists
xhighmax
Features
Adaptive thinkingComputer useFast modeNative structured outputPDF inputPrompt cachingBuilt-in web search

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Anthropic.

Smaller Anthropic models

  • Claude Opus 5.5
    Anthropic · on Anthropic
    $4.00 / $20.00
    Has every key capability
    20% less
  • Claude Sonnet 5.5
    Anthropic · on Anthropic
    $2.00 / $10.00
    Has every key capability
    60% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    98% less

Other frontier labs

  • GPT-5.3 Codex
    OpenAI · on OpenAI
    $1.75 / $14.00
    Has every key capability
    52% less
  • Gemini 4 Carbon
    Google · on Google AI Studio
    $2.00 / $10.00
    Has every key capability
    60% less
  • Grok 4.7
    xAI · on xAI
    $2.00 / $6.00
    Has every key capability
    70% less
  • GPT-6.2 Sol
    OpenAI · on OpenAI
    $2.00 / $10.00
    Has every key capability
    60% less

Open-weight picks

  • Kimi K3.1 Pro
    Moonshot AI · on Databricks
    $2.00 / $10.00
    Has every key capability
    60% less
  • Qwen4 Max
    Alibaba Qwen · on Together AI
    $1.43 / $4.28
    Has every key capability
    79% less
  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability
    83% less
  • DeepSeek Flash
    DeepSeek · on DeepSeek
    $0.30 / $1.20
    Has every key capability
    95% less

Model line

Newer and older versions, at each lab's own price.

  1. Sep 2026Claude Opus 5.5Latest$4.00 / $20.00
  2. Jul 2026Claude Opus 5$5.00 / $25.00
  3. May 2026Claude Opus 4.8This page$5.00 / $25.00
  4. Apr 2026Claude Opus 4.7$5.00 / $25.00
  5. Feb 2026Claude Opus 4.6$5.00 / $25.00
  6. Nov 2025Claude Opus 4.5$5.00 / $25.00
  7. Aug 2025Claude Opus 4.1$15.00 / $75.00
  8. May 2025Claude Opus 4$5.00 / $25.00

Call it

Using Anthropic's API.

Python
from anthropic import Anthropic

client = Anthropic()  # reads ANTHROPIC_API_KEY

message = client.messages.create(
    model="claude-opus-4-8",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)

Quick answers

How much does Claude Opus 4.8 cost?

On Anthropic, Claude Opus 4.8 costs $5.00 per million input tokens and $25.00 per million output tokens. Cached input costs $0.50 per million tokens.

Which APIs offer Claude Opus 4.8?

Claude Opus 4.8 runs on 8 APIs: Anthropic, Amazon Bedrock, Azure AI Foundry, Snowflake, Vertex AI, DeepInfra, Perplexity and Databricks.

What is Claude Opus 4.8's context window?

1M tokens, with up to 128K tokens in one reply.

Is Claude Opus 4.8 being retired?

Azure AI Foundry retires it on 1 Sep 2027. 7 hosts keep serving it.

Is there a newer version of Claude Opus 4.8?

Yes. Claude Opus 5.5 is the newest model in this line, released on 22 Sep 2026.

What are cheaper alternatives to Claude Opus 4.8?

Models that cost less and keep most of what it can do: Claude Opus 5.5 on Anthropic (20% less), GPT-5.3 Codex on OpenAI (52% less), Gemini 4 Carbon on Google AI Studio (60% less) and Kimi K3.1 Pro on Databricks (60% less). Savings are on a mix of 3 input tokens to 1 output token.

When was Claude Opus 4.8 released?

Anthropic released it on 27 May 2026.

What is Claude Opus 4.8's API model id?

Use claude-opus-4-8 with Anthropic. Other hosts use their own ids: anthropic.claude-opus-4-8 on Amazon Bedrock, databricks-claude-opus-4-8 on Databricks.

Sources

Raw catalog entry for claude-opus-4-8 on Anthropic
{
  "supports_web_search": true,
  "supports_anthropic_compaction": true,
  "cache_creation_input_token_cost": 0.00000625,
  "cache_creation_input_token_cost_above_1hr": 0.00001,
  "cache_creation_input_token_cost_batches": 0.000003125,
  "cache_read_input_token_cost": 5e-7,
  "cache_read_input_token_cost_batches": 2.5e-7,
  "input_cost_per_token": 0.000005,
  "input_cost_per_token_batches": 0.0000025,
  "litellm_provider": "anthropic",
  "max_input_tokens": 1000000,
  "max_output_tokens": 128000,
  "mode": "chat",
  "output_cost_per_token": 0.000025,
  "output_cost_per_token_batches": 0.0000125,
  "search_context_cost_per_query": {
    "search_context_size_high": 0.01,
    "search_context_size_low": 0.01,
    "search_context_size_medium": 0.01
  },
  "supports_adaptive_thinking": true,
  "supports_mid_conversation_system": true,
  "supports_assistant_prefill": false,
  "supports_computer_use": true,
  "supports_function_calling": true,
  "supports_pdf_input": true,
  "supports_prompt_caching": true,
  "supports_thinking_cache_preservation": true,
  "supports_reasoning": true,
  "supports_response_schema": true,
  "supports_native_structured_output": true,
  "supports_sampling_params": false,
  "supports_tool_choice": true,
  "supports_vision": true,
  "supports_xhigh_reasoning_effort": true,
  "supports_max_reasoning_effort": true,
  "provider_specific_entry": {
    "us": 1.1,
    "fast": 2
  },
  "supports_output_config": true,
  "supports_speed": true,
  "supports_fast_mode": true,
  "prompt_cache_min_tokens": 1024,
  "source": "https://platform.claude.com/docs/en/about-claude/pricing"
}