Anthropic

Anthropic: Claude Sonnet 4

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

ReasoningTool callingVisionStreaming
1M token context Released May 22, 2025

Intelligence overview

0
Coding

1M tok

Context window

64K tok

Max output

Capabilities

What Anthropic: Claude Sonnet 4 can do.

Reasoning

Extended reasoning

Works through problems step by step before answering, trading latency for accuracy on harder tasks.

Multimodal

Image understanding

Reads and reasons over images alongside text in the same prompt.

File input

Reads uploaded files — documents, spreadsheets, code — directly in context.

Development

Tool calling

Calls external functions mid-response, then continues reasoning from the result.

Streaming

Streams tokens as they're generated instead of waiting on the full response.

Performance

Coding37.6
Artificial Analysis

Design Arena — ranked #59 across 7 categories

Pricing

Pay for what you use.

Every model in UltraGPT runs behind one flat subscription — this is the underlying per-token cost the catalog tracks.

INPUT

$3 / 1M tok

OUTPUT

$15 / 1M tok

Cache read$0.3 / 1M tok
Cache write$3.75 / 1M tok
Use cases

Built for serious work.

Build

Generate and refactor code, with the ability to run and verify tool calls.

Think

Works through multi-step problems with extended reasoning before it answers.

Research

Holds up to 1M tokens of source material in context without losing the thread.

Create

Reads images alongside a prompt to ground creative and design work in what's actually on screen.

Automate

Chains tool calls across multi-step workflows, reasoning between each one.

Preview

Ask Anthropic: Claude Sonnet 4 anything.

A preview of the real UltraGPT composer — the model you see here is the model you get.

Anthropic: Claude Sonnet 4 Ready

Continues in the UltraGPT app — one login, every model.

Comparison

How Anthropic: Claude Sonnet 4 stacks up.

The closest models in the catalog by provider, capability and score — real entries, pulled from the same directory.

Specification

Technical details.

Specification

Context window
1M tokens
Max output
64K tokens
Input modalities
Image + Text + File
Output modalities
Text
Knowledge cutoff
Jan 31, 2025
Release date
May 22, 2025
Streaming
Supported
Tool calling
Supported
JSON mode
Not supported

Model identity

Provider
Anthropic
Provider ID
anthropic

Model ID

Directory

More from Anthropic, and everything else.

This model is one entry in the full UltraGPT catalog — browse the rest, compare pricing and context windows, or filter by capability.

Anthropic: Claude Sonnet 4, one subscription away.

UltraGPT puts this model — and every other one in the directory — behind a single login and one flat monthly price.