Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4 vs Qwen3 4B

Anthropic · released

Wins 4 of 5 areas

Coding · Reasoning · Long documents · Following instructions

Alibaba · released

Wins 1 of 5 areas

Facts

Claude Sonnet 4 is the stronger all-rounder.Qwen3 4B is better at facts.

Scores updated · 13 tests both models report · How we compare

Where each one wins

Tests won in each of the five areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.

Facts, long documents and following instructions rest on a single test each.

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Claude Sonnet 4$3.00 to read · $15.00 to write$18Price from anthropic
Qwen3 4BNo current price is tracked.

The biggest differences

The tests each model wins by the widest margin, up to three each. Scores are out of 100.

Where Claude Sonnet 4 pulls ahead

  • Code for real scientific research problemsSciCode+36.5points aheadClaude Sonnet 440Qwen3 4B3.5
  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+25.5points aheadClaude Sonnet 477.7Qwen3 4B52.2
  • Follows unfamiliar, precisely checkable instructionsIFBench+22.2points aheadClaude Sonnet 454.7Qwen3 4B32.5

Where Qwen3 4B pulls ahead

No clear win on a test scored out of 100.

Every test, side by side

All 13 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingClaude Sonnet 4

Full coding ranking

ReasoningClaude Sonnet 4

Full reasoning ranking

FactsQwen3 4B

Full facts ranking

Long documentsClaude Sonnet 4
  • AA-LCRClaude Sonnet 4 by 70.370.30+70.3

Full long documents ranking

Following instructionsClaude Sonnet 4
  • IFBenchClaude Sonnet 4 by 22.254.732.5+22.2

Full following instructions ranking

Other results6 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, Claude Sonnet 4 or Qwen3 4B?

Claude Sonnet 4 wins four of the five areas where both have results: coding, reasoning, long documents and following instructions. Qwen3 4B wins facts.

Which is better for coding?

Claude Sonnet 4. It wins 2 of the 2 coding tests both models report; Qwen3 4B wins none.

How do you compare the two?

We use the 13 benchmark tests both models have published scores on. The verdict counts the 7 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 6 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.