AnthropicReleased May 2025Proprietary
Claude Sonnet 4 is deprecated and can't be run here; try Claude Sonnet 5.5 (77.6% on Vision Evals) instead.
Claude Sonnet 4 has no score on the current Vision Evals. On the earlier Vision Evals board (last updated July 9, 2026) it passed 68.7% of visual understanding tasks (#25 of 77). It is a proprietary model from Anthropic, so commercial use follows Anthropic's terms.
This model is deprecated
Claude Sonnet 4 was deprecated on Jun 15, 2026 and can no longer be run here. Its evaluation results and details remain available for reference. Try Claude Sonnet 5.5 instead.
Claude Sonnet 4 has been deprecated by its provider and can no longer be evaluated on the current benchmark. The legacy Vision Evals results below are preserved for reference. See the current Vision Evals
| Category | Passed | Score |
|---|---|---|
| Document Understanding | 8 / 9 | 88.9% |
| Defect Detection | 12 / 15 | 80% |
| Object Understanding | 11 / 14 | 78.6% |
| Spatial Understanding | 13 / 19 | 68.4% |
| Object Counting | 2 / 10 | 20% |
Scores based on a single evaluation run · Methodology
View all legacy Vision Evals results →Claude 4 Sonnet, released by Anthropic in May 2025, is the mid-tier model in the Claude 4 family, designed to balance capability, cost, and speed. It is multimodal, accepting both text and images, and extends beyond prior versions with improved “computer use” support, allowing API-driven interaction with desktop-like interfaces. By default, it supports 200,000 tokens of context, but as of August 2025, it also offers a 1 million-token context window in public beta—making it one of the most context-capable models available for processing entire codebases or large document sets in a single request.
Claude Sonnet 4 is proprietary: the weights are not distributed, and the Claude Sonnet 4 license is the vendor's commercial terms of service that you accept when you call the API.
Vendor terms govern data retention, whether your inputs can be trained on, rate limits, and regional availability, and they can change with notice. Review them if you handle regulated or customer data.
Proprietary terms are set by the vendor rather than negotiated per project, and no open-source obligation attaches to your code. If you would rather deploy an open model instead of Claude Sonnet 4, Roboflow's licensing page lists the models whose commercial license is included when you deploy on Roboflow.
Do not hesitate to reach out with questions for your commercial project. Our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.
Talk to salesLicense information is provided as a guide and is not legal advice.
Estimated cost per task vs. Visual Understanding score, for this model and others ranked near it. Upper-left is the sweet spot (high quality, low cost). Based on Vision Evals (legacy) results.
10 of 11 models plotted · 1 not yet evaluated
| Model | Score | Median tokens | Est. cost / task | Compare |
|---|---|---|---|---|
| Claude Sonnet 5 | 70.2% | 2.2K | $0.0048 | Compare |
| Claude Sonnet 4.6 | 70.2% | 2.3K | $0.0080 | Compare |
| GPT-5.6 Luna | 70.2% | 1.5K | $0.0003 | Compare |
| Gemini 2.5 Pro | 70.2% | 856 | $0.0060 | Compare |
| Gemini 3.1 Flash-Lite | 68.7% | 1.1K | $0.0003 | Compare |
| Claude Sonnet 4(this model) | 68.7% | — | — | — |
| Gemma 4 26B A4B | 68.7% | 531 | $0.0001 | Compare |
| Qwen3.6 Plus | 68.7% | 1.6K | $0.0005 | Compare |
| Claude Opus 4.8 | 67.2% | 2.2K | $0.012 | Compare |
| Claude Opus 4.7 | 67.2% | 2.6K | $0.015 | Compare |
| Gemma 4 31B | 67.2% | 467 | $0.0001 | Compare |
Other models worth comparing for similar use cases.
Other versions in the same family as Claude Sonnet 4.
Yes. Claude Sonnet 4 accepts image input, and on Roboflow's previous vision benchmark it passed 68.7% of visual understanding tasks (#25 of 77).
No. Claude Sonnet 4 has been deprecated by its provider and can no longer be run, so it is not part of Roboflow's current Vision Evals. Its results from the previous benchmark are preserved on this page for reference.