Textby Anthropic

Claude Sonnet 5

Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max,...

  • By price it is in the pricier half of the 347 text models GenMagic runs (284th cheapest).
  • It scores 38.4 on the Artificial Analysis Intelligence Index, 23rd of the 120 text models with a score.
  • Among the models GenMagic runs, it places in the top 10 on 6 of its 47 benchmarks: 8th of 25 on Design Arena: Game Dev (agentic), 9th of 43 on Design Arena: Full-stack (agentic), 9th of 25 on Design Arena: HTML Slides (agentic), and more below.
  • On GenMagic it took a median 13 seconds to a finished result over 18 generations in the last 90 days, writing about 70 tokens a second.
  • It was listed on Jun 30, 2026.

Data last changed Nov 11, 2026 · tracked since Oct 29, 2026 · Every model change

Try Claude Sonnet 5

Generate with Claude Sonnet 5 right here. Verify your email to start with free credits.

Try

Specifications

Context window

1M tokens

Max output

128K tokens

Input price

$3.00 / 1M tokens

Output price

$15.00 / 1M tokens

Cached input

$0.30 / 1M tokens

Measured on GenMagic

What GenMagic recorded running Claude Sonnet 5 over the last 90 days: 18 completed generations from 7 accounts.

Median time to result

13 s

9 in 10 within

30 s

Median charge

$0.011

Median output speed

70 tokens/s

Time runs from the request to the finished result as GenMagic saw it; for text that is the full answer, so it grows with the answer's length. Only completed generations count, and a model appears here only after at least 10 of them from at least 3 accounts. Compare every measured model.

Benchmarks

How Claude Sonnet 5 scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

43.6

source date 2026-11-10
Source: openrouter

71.5

source date 2026-11-10
Source: openrouter

38.4

source date 2026-09-18
Source: openrouter
AIMEMathematics

80%± 6.0

maxsource date 2026-08-06
Source: epoch
APEX-AgentsAgentic & Tool Use

54.5%

unknown
Source: epoch
Chess PuzzlesReasoning & Knowledge

45%± 5.0

maxsource date 2026-10-13
Source: epoch
Design Arena: 3DDesign & Generation

1245 Elo

Source: designarena
Design Arena: CodeDesign & Generation

1269 Elo

Source: designarena
Design Arena: SVGDesign & Generation

1191 Elo

Source: designarena
DeepSWECoding

53.8%

max; Reasoning effort: max; Harness: mini-swe-agent
Source: epoch
DTBenchReasoning & Knowledge

92.5%

max
Source: epoch

42.7

unknown; Reasoning effort: xhigh; Harness: claude-code
Source: epoch

29.3%± 7.2

maxsource date 2026-06-30
Source: epoch

65.6%± 2.8

maxsource date 2026-06-30
Source: epoch
GPQA DiamondReasoning & Knowledge

85.2%± 4.7

source date 2026-10-31
Source: openrouter
GSO OPT@1Coding

37.3%

unknown; Scaffold: OpenHands
Source: epoch
LMArena (Coding)Instruction & Preference

1483 Elo

highsource date 2026-11-09
Source: lmarena
LMArena: Creative WritingInstruction & Preference

1414 Elo

highsource date 2026-11-09
Source: lmarena
LMArena: Hard PromptsInstruction & Preference

1461 Elo

highsource date 2026-11-09
Source: lmarena

1463 Elo

highsource date 2026-11-09
Source: lmarena
LMArena: MathMathematics

1480 Elo

highsource date 2026-11-09
Source: lmarena
LMArena: Multi-TurnInstruction & Preference

1454 Elo

highsource date 2026-11-09
Source: lmarena
LMArena (Overall)Instruction & Preference

1442 Elo

highsource date 2026-11-09
Source: lmarena
LMCAReasoning & Knowledge

50

high
Source: epoch

63.3

maxsource date 2026-10-21
Source: epoch
Mystery Game PuzzlesReasoning & Knowledge

16%± 3.7

source date 2026-08-06
Source: epoch
ProofBenchMathematics

77%± 4.2

max; Reasoning effort: max
Source: epoch
SciCodeCoding

54.3%

high
Source: epoch
SimpleBenchReasoning & Knowledge

60.6%

unknown
Source: epoch
SimpleQA VerifiedReasoning & Knowledge

32.9%± 1.5

xhighsource date 2026-08-27
Source: epoch
tau-bench (Airline)Agentic & Tool Use

75.1%± 3.1

source date 2026-10-31
Source: openrouter
WebDev ArenaAgentic & Tool Use

1537 Elo

high
Source: epoch
WeirdMLCoding

68.8%± 0.0

high
Source: epoch

Compare against every model in the full benchmark matrix.

Capabilities

Reasoning

Works through multi-step problems before answering, for harder tasks.

Vision input

Accepts images alongside text, so you can prompt with pictures and screenshots.

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use Claude Sonnet 5 through the API

The model id is anthropic/claude-sonnet-5. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="anthropic/claude-sonnet-5",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "anthropic/claude-sonnet-5" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use Claude Sonnet 5 in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick Anthropic: Claude Sonnet 5, or enter anthropic/claude-sonnet-5 as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
Anthropic: Claude Sonnet 5 (this model)Anthropic$3.00 in / $15.00 out per 1M tokens1M
Google: Gemini 4 CarbonGoogle$3.00 in / $15.00 out per 1M tokens1M
MoonshotAI: Kimi K3.1 ProMoonshot AI$3.00 in / $15.00 out per 1M tokens1M
OpenAI: GPT-6.1 Sol ProOpenAI$3.00 in / $15.00 out per 1M tokens1.1M
Z.ai: GLM 5.3 PrimeZ.AI$4.20 in / $13.20 out per 1M tokens1M
Xiaomi: MiMo-V2.6-Pro-UltraSpeedXiaomi$6.53 in / $13.05 out per 1M tokens1M

Compare Claude Sonnet 5

More from Anthropic

All 20 Anthropic models

Price and listing history

Every change GenMagic has recorded for Claude Sonnet 5 since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 1, 2026Price up 36%$2.20 in / $11.00 out per 1M tokens$3.00 in / $15.00 out per 1M tokens

In our guides

The guides that discuss Claude Sonnet 5 or show it in a live table.

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as Anthropic publishes them, checked daily.
  • Benchmarks: 47 scores from Artificial Analysis and OpenRouter, Epoch AI, Design Arena, LMArena, re-read daily. Each score above links to its source.
  • Measured on GenMagic: GenMagic's own generation records, counted in aggregate (never a prompt, an output or an account).
  • Changes: the data on this page last changed on Nov 11, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with Claude Sonnet 5 today

One GenMagic plan unlocks Claude Sonnet 5 and every other model across text, image, audio, and video.