head-to-head
Anthropic: Claude Sonnet 5 vs Qwen: Qwen3.5-9B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-07-01.
| Anthropic: Claude Sonnet 5 | Qwen: Qwen3.5-9B | |
|---|---|---|
| Vendor | anthropic | qwen |
| Quality Score | 100 | 100 |
| Benchmark Score | - | 42.2 |
| Input Price | $2.00/M | $0.10/M |
| Output Price | $10.00/M | $0.15/M |
| Context Window | 1,000,000 | 262,144 |
| Max Output | 128,000 | 262,144 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | - | 41.2 |
| ai_index_coding | - | 47.3 |
Who wins by task?
| Task | Anthropic: Claude Sonnet 5 | Qwen: Qwen3.5-9B |
|---|---|---|
| SQL Generation | 132 | 144 |
| Code Review | 132 | 139 |
| Code Completion | 117 | 130 |
| Code Refactoring | 136 | 138 |
| Bug Fixing | 136 | 144 |
| Unit Test Generation | 124 | 132 |
| Code Documentation | 129 | 131 |
| Regex Writing | 117 | 126 |
| CI/CD Pipelines | 120 | 126 |
| Frontend Component Design | 122 | 131 |
| Data Analysis | 124 | 138 |
| CSV / Spreadsheet Cleanup | 132 | 137 |
| ETL Scripting | 128 | 132 |
| JSON Extraction | 121 | 139 |
| Bulk Data Labeling | 118 | 132 |
| OCR / Document Parsing | 131 | 135 |
| Table Extraction from PDFs | 131 | 135 |
| Long-Document Summarization | 136 | 138 |
| Short-Form Summarization | 113 | 127 |
| Blog Post Writing | 120 | 126 |
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