Roboflow

Claude Sonnet 5 vs Qwen4 Max

Qwen4 Max and Claude Sonnet 5 score 81.8% vs 55.3% averaged across five Vision Evals tasks (#11 and #57 of 73 models), so Qwen4 Max leads overall.

  • Qwen4 Max wins all 5 tasks, with its widest lead on object detection (78.5% vs 36.1%).
  • Claude Sonnet 5 is faster: 5.9s vs 17.1s per sample.

Compare Claude Sonnet 5 vs Qwen4 Max live

Run the same image across every model that supports a task and compare their outputs side-by-side.

These models don't share enough common tasks for a side-by-side demo. See the comparison table below for their capabilities.

Claude Sonnet 5 vs Qwen4 Max on Vision Evals

Score by taskClaude Sonnet 5Qwen4 Max
Object Detection
36.1
78.5
Reasoning
43.0
79.5
Counting
56.8
79.7
OCR
59.4
79.7
Identification
81.3
91.7

Roboflow Vision Evals. Full breakdown below.

Claude Sonnet 5 vs Qwen4 Max Comparison Table

Evals updated November 19, 2026Pricing updated November 27, 2026

PropertyClaude Sonnet 5Qwen4 Max
OrganizationAnthropicQwen
Categoryclosedclosed
Modalitymultimodalmultimodal
Release DateJun 2026Nov 2026
Context Window1.0M1.0M
ParametersUnknownUnknown
LicenseProprietaryProprietary
Commercial usecommercial use per vendor termscommercial use per vendor terms
Pricing per 1M tokens
Input $/1M$2.00$1.42
Output $/1M$10.00$4.27
Vision Tasks
CaptioningDemoSupported
ClassificationDemoSupported
Object DetectionDemoSupported
OCRDemoSupported
Visual Question AnsweringDemoSupported
Both support 5 more tasks
Model Features
Both support 3 more features
Vision Evalsground-truth scores across 5 vision tasks, pooled at low effort
Overall
55.3%
81.8%
Avg cost / sample$0.0074$0.0074
Avg speed / sample5.86s17.09s
By task
Object Detection (low)
36.1%
$0.011
78.5%
±0.5, Mean of 3 runs, range 77.9 to 79.0
$0.011
Object Detection (high)–
80.3%
±0.1, Mean of 3 runs, range 80.2 to 80.4
$0.012
Counting (low)
56.8%
$0.0030
79.7%
±2.0, Mean of 3 runs, range 78.4 to 82.4
$0.0032
Counting (high)–
80.6%
±0.7, Mean of 3 runs, range 79.7 to 81.1
$0.0034
Identification (low)
81.3%
$0.0027
91.7%
±3.1, Mean of 3 runs, range 87.5 to 93.8
$0.0018
Identification (high)–
93.8%
±3.1, Mean of 3 runs, range 90.6 to 96.9
$0.0019
OCR (low)
59.4%
$0.0078
79.7%
$0.0079
by category
Single value
52.2%
Transcription
88.6%
Structured JSON
78.3%
Text localization
13.1%
Single value
70.9%
Transcription
95.4%
Structured JSON
88.0%
Text localization
72.5%
OCR (high)
59.5%
$0.015
78.2%
$0.0084
by category
Single value
54.8%
Transcription
88.3%
Structured JSON
76.6%
Text localization
11.6%
Single value
66.5%
Transcription
94.2%
Structured JSON
89.2%
Text localization
71.3%
Reasoning (low)
43.0%
$0.0032
79.5%
±1.0, Mean of 3 runs, range 78.8 to 80.8
$0.0031
Reasoning (high)
43.0%
$0.0043
78.4%
±1.3, Mean of 3 runs, range 76.8 to 79.5
$0.0035

Claude Sonnet 5 vs Qwen4 Max: Overview

Claude Sonnet 5

Claude Sonnet 5 is a mid-tier large language model from Anthropic, released on June 30, 2026, as the latest model in the Sonnet series and a direct successor to Claude Sonnet 4.6. It is a hybrid reasoning model designed primarily for agentic workflows, software coding, and professional tasks. The model features a 1 million token context window, a 128k maximum output token limit, and runs adaptive thinking by default, giving API users fine-grained control over reasoning effort across five levels (low, medium, high, max, and extra-high). It uses an updated tokenizer shared with Opus 4.7 and later models, which produces approximately 30% more tokens for equivalent text compared to earlier Claude models.

The model supports text and image input with text output, and accepts tools including browsers and terminals for autonomous multi-step task execution. Anthropic's safety evaluations report that Sonnet 5 shows a lower rate of undesirable behaviors than Sonnet 4.6 and is generally safer in agentic contexts, with improved resistance to prompt injection and reduced sycophancy. Cybersecurity safeguards equivalent to those on Opus 4.7 and 4.8 are active, though Anthropic notes the model was not deliberately trained on cybersecurity tasks. The model is proprietary and API-only, with no open weights.

Qwen4 Max

Qwen4 Max is Alibaba’s flagship Qwen4 model. It accepts text, images, and video and generates text, with a one million token context window and up to 131,072 output tokens. Reasoning is enabled by default and can be adjusted through the reasoning effort setting.

Frequently Asked Questions

On Roboflow's Vision Evals, Qwen4 Max performed better. It scores higher on all five vision tasks and averages 81.8% (#11 of 73) against 55.3% (#57 of 73) for Claude Sonnet 5. These scores measure vision capabilities only; either model may perform differently on work outside this benchmark's tasks.

No. On the Vision Evals Object Detection benchmark at low effort, Qwen4 Max leads with 78.5% against 36.1%. This is the widest gap between the two models across the benchmark's tasks.

Claude Sonnet 5 is cheaper to run. Across Roboflow's Vision Evals task mix it averaged $0.0074 per sample against $0.0074. Claude Sonnet 5 is priced at $2.00 per 1M input tokens and $10.00 per 1M output; Qwen4 Max is priced at $1.42 per 1M input tokens and $4.27 per 1M output. Actual costs depend on your image sizes, prompts, and output length.

Claude Sonnet 5 is faster. Across Roboflow's Vision Evals it averaged 5.9s per inference against 17.1s. Latency varies with image size, prompt length, and provider load, so treat these as relative rather than guaranteed figures.