Claude Opus 4.8

Anthropic
anthropic/claude-opus-4-8

Latest Opus, agentic upgrade

Context Window

1.0M

1,000,000 tokens

Max Output

128K

128,000 tokens

About this model

Claude Opus 4.8 is Anthropic's flagship model released on 2026-05-28, built for complex reasoning, long-horizon agentic coding, and high-autonomy workflows.

It supports a 1M token context window by default and up to 128K output tokens, accepts text, image, and PDF inputs, and inherits the same tool and platform capabilities as Opus 4.7. Regular API pricing is unchanged from Opus 4.7.

Best suited for complex codebase migrations, long-running agent tasks, professional knowledge work, and demanding reasoning workloads.

Highlights

Released 2026-05-28
1M context
128K output
Stronger agentic coding
Prompt Caching

Best For

Complex codebase migrationsLong-horizon agentsProfessional knowledge workDemanding reasoning
2026-05-28TransformerProprietary

Capabilities

ChatVisionReasoningCodepdftoolscache

Pricing (per 1M tokens)

Pricing (per 1M tokens)/ 1M tokens
Input / 1M$5.25
Output / 1M$26.25
Cache Read$0.525
Cache Write$6.56

Final prices shown

Quick Start

import anthropic

client = anthropic.Anthropic(
    base_url="https://api.chuizi.ai/anthropic",
    api_key="ck-your-key-here",
)

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

FAQ

Related Models