Models, measured side by side
Claude Sonnet 4 compared to other AI models
Compare Claude Sonnet 4 by token pricing, context length, benchmark results, speed and tool support.
Updated Oct 2026 · Last verified Oct 15, 2026 · Public listed prices. Confirm with the provider.
Leading intelligence
Best for coding
Most affordable
Vision models
Comparison FAQ
Claude Sonnet 4: $3.00 input and $15 output per million tokens. The cheaper choice depends on your input-to-output ratio; a model can have a lower input rate but a higher output rate.
For an example workload of 20 million input tokens and 5 million output tokens per month: Claude Sonnet 4: $135. These are token-only estimates using the displayed rates, without caching discounts, additional tool charges or taxes. Actual bills depend on usage and endpoint pricing.
Claude Sonnet 4: 200K tokens of context; maximum output 64K tokens. Context capacity and maximum output are separate limits. A larger context window allows more material in a request but does not guarantee more accurate answers.
Claude Sonnet 4: Artificial Analysis SciCode not listed. Compare coding results within the same evaluation, then test representative tasks from your own codebase. A missing score is not a zero, and a single benchmark does not establish the best model for every programming task.
These evaluations measure different tasks and use different scales. Arena Elo and DesignArena ratings must remain separate, as must Artificial Analysis Intelligence Index and MMLU-Pro. Compare models within the same evaluation rather than combining scores. Missing results are marked Not listed, not treated as measured zeroes.
Claude Sonnet 4: Artificial Analysis output speed not listed; time to first token not listed. Output speed measures generation throughput, while time to first token measures the initial wait. Real-world latency also depends on the API provider, request size and load; missing measurements cannot establish a speed winner.
Claude Sonnet 4: listed input formats: image, text, file; output formats: text. Input and output support are different capabilities: accepting an image does not mean a model generates images. Confirm formats and file limits for the endpoint you plan to use.
Claude Sonnet 4: listed features: Function calling, Reasoning, Prompt caching. Only recorded capabilities are shown; an unlisted feature is not proof that it is unsupported. Availability can vary by API provider, so confirm tool calling and JSON schema support for your chosen endpoint.
Claude Sonnet 4: cached input price $0.30 per million tokens. Caching may reduce charges for eligible repeated input when supported by the endpoint. A listed cached rate does not guarantee every request qualifies; cache duration, minimum token counts and any write charges depend on the provider.
Claude Sonnet 4: catalog status active; API identifier claude-sonnet-4; listed API hosts Amazon Bedrock. Catalog status is not a live availability check. Before integrating, verify the provider's documentation, endpoint access, rate limits, regional availability and data-handling terms.
