Moduck

Anthropic: Claude Sonnet 5

Everyday Claude agent model for coding, planning, browsing, and general work

Model lab
Anthropic
Model family
claude-sonnet
Modalitiestext, image, pdf → text
Context window1,000,000
Maximum output128,000
InputUSD 1.152 / 1M tokens
OutputUSD 5.76 / 1M tokens

Quickstart

Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to moduck/anthropic/claude-sonnet-5.

import os
import requests

base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "moduck/anthropic/claude-sonnet-5"

response = requests.post(
    f"{base_url}/chat/completions",
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    json={
        "model": model_id,
        "messages": [{"role": "user", "content": "Hello!"}],
        "stream": False,
    },
    timeout=60,
)
response.raise_for_status()
print(response.json())

Use the familiar OpenAI-style chat request format to make model integration easier.

Claude Sonnet 5 API Pricing

TypePrice information
InputUSD 1.152 / 1M tokens
OutputUSD 5.76 / 1M tokens

Benchmarks

High

Intelligence Index · v4.331.7
Coding Index—
Agentic Index—

Low

Intelligence Index · v4.324.3
Coding Index—
Agentic Index—

Max

Intelligence Index · v4.338.2
Coding Index71.5
Agentic Index43.6

Medium

Intelligence Index · v4.328.1
Coding Index—
Agentic Index—

Xhigh

Intelligence Index · v4.334.4
Coding Index—
Agentic Index—
BenchmarkScoreMeasurementSource
SWE-Bench Verified85.2resolved · Date: 2026-06-30
SWE-Bench Pro63.2resolve rate · Date: 2026-06-30
SWE-Bench Multilingual78.3resolve rate · Date: 2026-06-30
Terminal-Bench80.4success rate · Harness: Terminus-2 · Version: 2.1 · Date: 2026-06-30
OSWorld-Verified81.2success rate · Date: 2026-06-30
BrowseComp84.7accuracy · Variant: single agent · Date: 2026-06-30
FrontierCode38.8pass rate · Version: v1 · Date: 2026-06-30

Performance

Measured on the Moduck gateway across live traffic, hour by hour over the last 24 hours. Time to first token is how long before anything appears; throughput is how fast the answer is written after that; end-to-end latency is the whole round trip. Figures are medians unless the card says otherwise.

Artificial Analysis measurement · High

Output speed72.12 tokens/s
Time to first token5.27 s
Time to first answer token—
End-to-end response time—
Measurement variantOutput speedTime to first tokenTime to first answer tokenEnd-to-end response time
High72.12 tokens/s5.27 s——
Low68.09 tokens/s0.95 s——
Max80.92 tokens/s147.1 s——
Medium70.72 tokens/s1.7 s——
Xhigh74.2 tokens/s12.26 s——

Performance trends

Throughput72.12 tok/sCurrent
Time to first token5.27 sCurrent
End-to-end latency6.9 sCurrent
Throughput
Current72.12 tok/s
Window average70.6 tok/s
Time to first token
Current5.27 s
Window average5.3 s
End-to-end latency
Current6.9 s
Window average7.5 s
Tail latency (P99)
Current15.8 s
Window average16.7 s
Prompt cache hit rate
Current18.0%
Window average24.4%
Error rate
Current2.1%
Window average0.2%

Availability

Uptime is the share of time at least one provider serving this model responded. Availability is stricter: the share of requests actually served. A provider that answers but fails part of the traffic lowers availability without lowering uptime. Both cover the last three days.

Uptime100%At least one provider responded
Availability100%Requests actually served
Error rate0%Share of failed requests
Served requests, hour by hour
24 hours agoNow

Claude Sonnet 5 Compare models

ModelInput priceOutput priceContext windowCapabilities
Claude Sonnet 5This pageUSD 1.152 / 1M tokensUSD 5.76 / 1M tokens1,000,000Text output · Reasoning · Tool calling
Claude Sonnet 5.5USD 1.6 / 1M tokensUSD 8 / 1M tokens1,000,000Text output · Reasoning · Tool calling
Claude Sonnet 4.6USD 2.4 / 1M tokensUSD 12 / 1M tokens1,000,000Text output · Reasoning · Tool calling
Claude Sonnet 4.5USD 2.4 / 1M tokensUSD 12 / 1M tokens200,000Text output · Reasoning · Tool calling
Claude Sonnet 4.5 (latest)USD 2.3912 / 1M tokensUSD 11.956 / 1M tokens200,000Text output · Reasoning · Tool calling

Model specifications

Input
text, image, pdf
Output
text
Context window
1,000,000
Maximum output
128,000
Release date
2026-06-30
Attachments
Yes
Reasoning
Yes
Tool calling
Yes
Temperature setting
No
Open weights
No

Frequently asked questions

What is Claude Sonnet 5 for?

Everyday Claude agent model for coding, planning, browsing, and general work

What inputs and outputs does Claude Sonnet 5 support?

Recorded inputs: text, images, PDF; outputs: text.

How is Claude Sonnet 5 priced?

The pricing table shows the current recorded Moduck price. For example: Input USD 1.152 / 1M tokens; Output USD 5.76 / 1M tokens. See the pricing table for all units, variants, and conditions.

What specifications are recorded for Claude Sonnet 5?

Current model records list Context window 1,000,000 tokens; Maximum output 128,000 tokens.

What model parameter does the Quickstart use?

The example uses moduck/anthropic/claude-sonnet-5. This is a cataloged Moduck public or reserved ID; check your account’s available models before calling it.

Can I call this model through the Moduck API now?

This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.