Models / Claude / Claude Sonnet 4.6
Claude

Claude Sonnet 4.6

BYOKClosedReleased 17 Feb 2026

A closed, premium-priced model from Anthropic, released February 2026. Its intelligence index matches the registry median, with strong coding and terminal results.

Read the full description ↓

Spec sheet

Family
Claude
Released
17 Feb 20269 months ago
Weights
Closed
Context window
1M tokens
Largest response
128k tokens
Accepts
text, image, file
Supports
tools, reasoning, structured output
Knowledge cutoff
August 2025
Intelligence index
59.5#55
Input price
$3 / 1M
Output price
$15 / 1M
Blended price (3:1)
$6 / 1M
Index points per $
9.9#96
Speed
54 tokens/sec#117
Popularity
#52 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-sonnet-4-6 $3$0.3$15$6
AWS Bedrockgateway/bedrock:global.anthropic.claude-sonnet-4-6-v1:0 $3$0.3$15$6
Google Vertexgateway/google-cloud:claude-sonnet-4-6 $3$0.3$15$6
OpenRouterBYOKopenrouter:anthropic/claude-sonnet-4.6 $3$0.3$15$6

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-sonnet-4-6', instructions='Be concise, reply with one sentence.')

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

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

Compare

Claude Sonnet 4.6vsGrok 4.20
Intelligence indexOur composite of the benchmarks below, 0-100
Claude Sonnet 4.659.5
Grok 4.2059.5
GPQA DiamondGraduate-level science questions, multiple choice
Claude Sonnet 4.687.4%
Grok 4.2089.3%
OTIS Mock AIMECompetition mathematics problems with exact answers
Claude Sonnet 4.685.8%
Grok 4.2092.2%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
Claude Sonnet 4.6–
Grok 4.2044.9%
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
Claude Sonnet 4.660.4%
Grok 4.2065.1%
SimpleQA VerifiedShort factual questions answered from memory, without search
Claude Sonnet 4.635.5%
Grok 4.2030.2%
SWE-bench VerifiedReal GitHub issues resolved, run by Epoch with one fixed scaffold
Claude Sonnet 4.675.2%
Grok 4.20–
Terminal-BenchTasks completed in a terminal; the best result of any agent using the model
Claude Sonnet 4.653.4%
Grok 4.2057.3%
SciCodeScientific programming problems written by researchers
Claude Sonnet 4.646.8%
Grok 4.20–
WebDev ArenaRating from human votes on web apps the models built
Claude Sonnet 4.61521
Grok 4.201373.8
APEX-AgentsLong professional tasks (banking, consulting, law) passed on the first attempt
Claude Sonnet 4.643%
Grok 4.20–
LMArena textRating from blind human votes between pairs of chat responses
Claude Sonnet 4.61457.7
Grok 4.20–
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
Claude Sonnet 4.6152.8
Grok 4.20152.3
Input pricePer 1M tokens, lower is better
Claude Sonnet 4.6$3
Grok 4.20$1.25
Output pricePer 1M tokens, lower is better
Claude Sonnet 4.6$15
Grok 4.20$2.5
EfficiencyIndex points per blended $
Claude Sonnet 4.610
Grok 4.2038
SpeedOutput tokens per second
Claude Sonnet 4.654 t/s
Grok 4.2084 t/s
Context windowTokens
Claude Sonnet 4.61M
Grok 4.201M
Model stringFor Pydantic AI
Claude Sonnet 4.6gateway/anthropic:claude-sonnet-4-6
Grok 4.20xai:grok-4.20

About Claude Sonnet 4.6

Description written by an LLM from the data on this page

A closed, premium-priced model from Anthropic, released February 2026. Its intelligence index matches the registry median, with strong coding and terminal results.

Claude Sonnet 4.6 is a closed model from Anthropic, released in February 2026. It accepts text, image and file input and supports tool calling, reasoning mode and structured output. Its overall intelligence index of 59.5 sits exactly at the registry median, and its clearest strengths are agentic coding and terminal work, with 75.2% on SWE-bench Verified and 53.4% on Terminal-Bench, both above the median.

Results on math and science are weaker. It scores 85.8% on OTIS Mock AIME against a median of 94.2%, and it trails the median on GPQA Diamond and SciCode. Its score on APEX-Agents, which tests long professional tasks, is also below the median.

Cost is the main drawback. At $3 per million input tokens and $15 per million output tokens, it ranks 163rd of 194 on price. The 1M context window and wide provider choice help, but the price makes it a poor fit for high-volume, low-stakes calls.

Strengths

  • 75.2% on SWE-bench Verified, 11th of 23, just above median
  • 53.4% on Terminal-Bench, 12th of 35, well above the 43.2% median
  • Context window of 1M tokens with up to 128k tokens per response
  • Available from four providers and built into the Pydantic AI Gateway

Weaknesses

  • Blended price of $6 per million tokens, 163rd of 194 by price
  • 85.8% on OTIS Mock AIME, 73rd of 95, well below the 94.2% median
  • 43.0% on APEX-Agents, 46th of 60, below the 54.3% median

Best for

Coding and terminal-based agents where accuracy matters more than cost per token.

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