Skip to content
Seedance 2.0 Face is here — generate video from real-person reference photos.Try it now
Back to Models
anthropicanthropic·May 27, 2026

Anthropic: Claude Opus 4.8

anthropic/claude-opus-4.8
context
1M
Max Output
128K
Input / 1M
$5.00
Output / 1M
$25.00

About

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family, released in May 2026. It accepts text, image, and file inputs with text output, supports reasoning, and provides a 1M-token context window with up to 128K output tokens. It is suited for highly autonomous agents, long-horizon agentic work, complex coding, and knowledge work where coherence over extended sessions matters, including large codebases, multi-stage debugging, document drafting, and data analysis. On reported benchmarks it reaches 69.2% on SWE-bench Pro, up from 64.3% for Opus 4.7, and 88.6% on SWE-bench Verified. The release also emphasizes higher honesty, with the model roughly four times less likely than its predecessor to let flaws in its own code pass unremarked.

Capabilities

Context Length
1M
Max Output
128K
Reasoning
Yes
In
text, image, file
Out
text
61.4#1 of 133
Intelligence Index
56.7#3 of 118
Coding Index

Reasoning & Knowledge

GPQA Diamond92.0%
HLE45.7%

Coding & Agentic

SciCode53.5%
Terminal-Bench Hard58.3%

Source: Artificial Analysis

TypePrice / 1M tokens
Input$5.00
Output$25.00
Cache Read$0.50
Cache Write$6.25
Web Search$0.01 / call

Anthropic-compatible · Model ID anthropic/claude-opus-4.8

curl https://api.elliotgate.com/v1/chat/completions \
  -H "Authorization: Bearer sk-omg-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-4.8",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'