Models / Claude / Claude Opus 5
Claude

Claude Opus 5

BYOKClosedReleased 24 Jul 2026

Closed frontier model from Anthropic with a 1M context window, ranking near the top on intelligence while costing far above the registry median.

Read the full description ↓

Spec sheet

Family
Claude
Released
24 Jul 20264 months ago
Weights
Closed
Context window
1M tokens
Largest response
128k tokens
Accepts
text, image, file
Supports
tools, reasoning, structured output
Knowledge cutoff
May 2026
Intelligence index
77.1#10
Input price
$5 / 1M
Output price
$25 / 1M
Blended price (3:1)
$10 / 1M
Index points per $
7.7#99
Speed
63 tokens/sec#101
Popularity
#54 of 194by usage
Providers
4

Benchmarks

Score · rank among models tested

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
Anthropicgateway/anthropic:claude-opus-5 $5$0.5$25$10
AWS Bedrockgateway/bedrock:global.anthropic.claude-opus-5 $5$0.5$25$10
Google Vertexgateway/google-cloud:claude-opus-5 $5$0.5$25$10
OpenRouterBYOKopenrouter:anthropic/claude-opus-5 $5$0.5$25$10

Every provider charges the same. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/anthropic:claude-opus-5', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask Claude Opus 5 a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

Claude Opus 5vsGPT-6.2 Astra
Intelligence indexOur composite of the benchmarks below, 0-100
Claude Opus 577.1
GPT-6.2 Astra76.2
GPQA DiamondGraduate-level science questions, multiple choice
Claude Opus 593.9%
GPT-6.2 Astra96.8%
OTIS Mock AIMECompetition mathematics problems with exact answers
Claude Opus 598.9%
GPT-6.2 Astra100%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
Claude Opus 585.6%
GPT-6.2 Astra92.6%
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
Claude Opus 590.4%
GPT-6.2 Astra95.8%
SimpleQA VerifiedShort factual questions answered from memory, without search
Claude Opus 559.9%
GPT-6.2 Astra78.5%
SciCodeScientific programming problems written by researchers
Claude Opus 556.4%
GPT-6.2 Astra–
WebDev ArenaRating from human votes on web apps the models built
Claude Opus 51687
GPT-6.2 Astra–
APEX-AgentsLong professional tasks (banking, consulting, law) passed on the first attempt
Claude Opus 565.8%
GPT-6.2 Astra72.2%
LMArena textRating from blind human votes between pairs of chat responses
Claude Opus 51506.2
GPT-6.2 Astra1413.3
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
Claude Opus 5164.7
GPT-6.2 Astra172.8
Input pricePer 1M tokens, lower is better
Claude Opus 5$5
GPT-6.2 Astra$8
Output pricePer 1M tokens, lower is better
Claude Opus 5$25
GPT-6.2 Astra$40
EfficiencyIndex points per blended $
Claude Opus 58
GPT-6.2 Astra5
SpeedOutput tokens per second
Claude Opus 563 t/s
GPT-6.2 Astra52 t/s
Context windowTokens
Claude Opus 51M
GPT-6.2 Astra1.1M
Model stringFor Pydantic AI
Claude Opus 5gateway/anthropic:claude-opus-5
GPT-6.2 Astragateway/openai:gpt-6.2-astra

About Claude Opus 5

Description written by an LLM from the data on this page

Closed frontier model from Anthropic with a 1M context window, ranking near the top on intelligence while costing far above the registry median.

Claude Opus 5 is a closed model from Anthropic with a 1M token context window and responses up to 128k tokens. It accepts text, image and file input and supports tool calling, structured output and a reasoning mode. It is offered through Anthropic, AWS Bedrock, Google Vertex and OpenRouter.

Its intelligence index of 77.1 ranks 11th of 114 and sits well above the median of 59.5. It is strongest on ARC-AGI-2, where it scores 90.4%, and on LMArena text, where it ranks 6th. Factual recall and scientific programming are closer to the median.

Cost is the main drawback. At $5 per million input tokens and $25 per million output, its blended price is about ten times the median, ranking 173rd of 194 on price. It suits work where answer quality matters more than token spend.

Strengths

  • Intelligence index 77.1, 11th of 114, against a median of 59.5
  • ARC-AGI-2 score of 90.4%, 9th of 68
  • LMArena text rating 1506.2, 6th of 114
  • Responses up to 128k tokens, with tool calling and structured output

Weaknesses

  • Blended price $10 per million tokens, 173rd of 194 on price
  • Intelligence per dollar of 7.7 ranks 99th of 194
  • SciCode 56.4%, 25th of 96, only modestly above the median

Best for

Hard reasoning, maths and science work, and long-context agents where cost is secondary to quality.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs