Claude Sonnet 4
FrontierVisionToolsAnthropic · Released May 2025 · Knowledge cutoff January 2025
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%),...
It belongs to Anthropic's Claude family: Opus is the deep-capability tier, Sonnet balances quality and speed, Haiku is the light tier, and Fast servings trade some depth for latency.
Facts and pricing
- Provider
- Anthropic
- Context window
- 1M tokens
- Input price
- 33.0 credits / 1M tokens ($3.00 raw)
- Output price
- 165 credits / 1M tokens ($15.00 raw)
- Vision (image input)
- Yes
- Tool calling
- Yes
- Extended reasoning
- No
Credits are what Zeplik bills: 1 credit = $0.10, computed from the raw provider rate with a 1.10x margin. Raw prices shown per 1M tokens.
Try Claude Sonnet 4 now
What Claude Sonnet 4 is best for
- Hard problems where answer quality matters more than cost: strategy, analysis, difficult writing
- Very long documents and codebases: a 1M-token window fits entire books or repositories in one conversation
- Working with images: screenshots, charts, photos and scanned documents alongside text
- Tool use and agents: reliably calls functions, so it can search, run skills and drive workflows
Example prompts
Prompts that suit a frontier model like Claude Sonnet 4:
- Review this business plan and give me the three hardest questions an investor would ask
- Rewrite this announcement so it lands with both engineers and executives
- I am choosing between two job offers, help me think through the tradeoffs
- Draft a technical design doc for a rate limiter, including failure modes
Anthropic family
| Model | Context | Input cr/M | Output cr/M | Released |
|---|---|---|---|---|
| Claude Sonnet 5 | 1M | 22.0 | 110 | June 2026 |
| Claude Fable 5 | 1M | 110 | 550 | June 2026 |
| Claude Opus 4.8 (Fast) | 1M | 110 | 550 | May 2026 |
| Claude Opus 4.8 | 1M | 55.0 | 275 | May 2026 |
| Claude Opus 4.7 (Fast) | 1M | 330 | 1650 | May 2026 |
| Claude Opus 4.7 | 1M | 55.0 | 275 | April 2026 |
| Claude Sonnet 4.6 | 1M | 33.0 | 165 | February 2026 |
| Claude Opus 4.6 | 1M | 55.0 | 275 | February 2026 |
| Claude Opus 4.5 | 200K | 55.0 | 275 | November 2025 |
| Claude Haiku 4.5 | 200K | 11.0 | 55.0 | October 2025 |
Frequently asked questions
- What is Claude Sonnet 4?
- Claude Sonnet 4 is an AI model by Anthropic. 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%),...
- How much does Claude Sonnet 4 cost on Zeplik?
- Input tokens cost 33.0 credits per million and output tokens 165 credits per million (1 credit = $0.10; the raw provider rates are $3.00 and $15.00 per million). New accounts start with free credits.
- How long can a conversation with Claude Sonnet 4 be?
- Claude Sonnet 4 has a 1M-token context window (1,000,000 tokens), which covers the conversation plus any documents you attach.
- Does Claude Sonnet 4 support images and tools?
- Claude Sonnet 4 accepts image input and supports tool calling.
Related models
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,...
Claude Fable 5 is a Mythos-class model from Anthropic, built for autonomous knowledge work and coding. It supports text, image, and file inputs with text output, with reasoning support and...
Fast-mode variant of [Opus 4.8](/anthropic/claude-opus-4.8) - identical capabilities with higher output speed at 2x pricing relative to regular Opus 4.8. Learn more in Anthropic's docs: https://platform.claude.com/docs/en/build-with-claude/fast-mode
Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token...
Fast-mode variant of [Opus 4.7](/anthropic/claude-opus-4.7) - identical capabilities with higher output speed at premium 6x pricing. Learn more in Anthropic's docs: https://platform.claude.com/docs/en/build-with-claude/fast-mode
Opus 4.7 is the next generation of Anthropic's Opus family, built for long-running, asynchronous agents. Building on the coding and agentic strengths of Opus 4.6, it delivers stronger performance on...