head-to-head

Anthropic: Claude Sonnet 5 vs Qwen: Qwen3.5-27B

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-07-02.

Anthropic: Claude Sonnet 5 Qwen: Qwen3.5-27B
Vendoranthropicqwen
Quality Score100100
Benchmark Score92.055.6
Input Price$2.00/M$0.20/M
Output Price$10.00/M$1.56/M
Context Window1,000,000262,144
Max Output128,00065,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index88.055.7
ai_index_agentic77.0-
ai_index_coding100.0-

Who wins by task?

TaskAnthropic: Claude Sonnet 5Qwen: Qwen3.5-27B
SQL Generation 171 137
Code Review 167 137
Code Completion 119 130
Code Refactoring 164 136
Bug Fixing 180 141
Unit Test Generation 154 127
Code Documentation 141 131
Regex Writing 135 125
CI/CD Pipelines 144 123
Frontend Component Design 146 128
Data Analysis 171 132
CSV / Spreadsheet Cleanup 153 130
ETL Scripting 154 130
JSON Extraction 138 131
Bulk Data Labeling 124 129
OCR / Document Parsing 146 131
Table Extraction from PDFs 146 131
Long-Document Summarization 159 138
Short-Form Summarization 122 126
Blog Post Writing 140 125

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

Anthropic: Claude Sonnet 5 vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs Qwen: Qwen3.7 Plus Anthropic: Claude Sonnet 5 vs MiniMax: MiniMax M3 Anthropic: Claude Sonnet 5 vs StepFun: Step 3.7 Flash Anthropic: Claude Sonnet 5 vs xAI: Grok Build 0.1 Anthropic: Claude Sonnet 5 vs Google: Gemini 3.5 Flash Anthropic: Claude Sonnet 5 vs Google: Gemini 3.1 Flash Lite Anthropic: Claude Sonnet 5 vs xAI: Grok 4.3