Claude Sonnet 4.5 vs Granite 4.2 30B
Wins 4 of 6 areas
Coding · Agents · Reasoning · Long documents
Wins 1 of 6 areas
Following instructions
Claude Sonnet 4.5 is the stronger all-rounder.Granite 4.2 30B is cheaper and better at following instructions.
Scores updated · 24 tests both models report · How we compare
Where each one wins
Tests won in each of the six 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.
- CodingWriting and fixing software51Claude Sonnet 4.55 of 6 tests
- AgentsCarrying out multi-step tasks on its own20Claude Sonnet 4.52 of 3 tests · 1 tie
- ReasoningHard problems that need careful thinking20Claude Sonnet 4.52 of 3 tests · 1 tie
- Long documentsFinding answers in very long texts10Claude Sonnet 4.51 of 1 test
- Following instructionsDoing exactly what it is asked01Granite 4.2 30B1 of 1 test
- FactsGetting facts right instead of making them up11Even1 each
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.
Granite 4.2 30B costs 96% less for the same work.
The biggest differences
The three tests each model wins by the widest margin. Scores are out of 100.
Where Claude Sonnet 4.5 pulls ahead
- Command-line tasks in a real terminalTerminal-Bench 2.1+29.2points ahead
- Fixes real GitHub issues in many programming languagesSWE-bench Multilingual+25.1points ahead
- Reasons across sets of long documentsAA-LCR+23.3points ahead
Where Granite 4.2 30B pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+23.5points ahead
- Follows unfamiliar, precisely checkable instructionsIFBench+19.9points ahead
- Recent programming contest problemsLiveCodeBench v6+11.8points ahead
Every test, side by side
All 24 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingClaude Sonnet 4.5
- Terminal-Bench 2.1Claude Sonnet 4.5 by 29.255.826.6+29.2
- SWE-bench MultilingualClaude Sonnet 4.5 by 25.16741.9+25.1
- SWE-bench VerifiedClaude Sonnet 4.5 by 21.278.257+21.2
- LiveCodeBench v6Granite 4.2 30B by 11.86475.8+11.8
- SWE-bench ProClaude Sonnet 4.5 by 10.343.633.3+10.3
- SciCodeClaude Sonnet 4.5 by 7.945.737.8+7.9
AgentsClaude Sonnet 4.5
- GDPValClaude Sonnet 4.5 by 16.720.53.8+16.7
- τ-Bench V3 · BankingClaude Sonnet 4.5 by 10.124.514.4+10.1
- Terminal-Bench 4.0tie00tie
ReasoningClaude Sonnet 4.5
- GPQA DiamondClaude Sonnet 4.5 by 1983.464.4+19
- Humanity's Last ExamClaude Sonnet 4.5 by 6.617.811.2+6.6
- CritPttie1.10.3tie
FactsEven
- AA-Omniscience · Non-hallucinationGranite 4.2 30B by 23.550.974.4+23.5
- AA-Omniscience · AccuracyClaude Sonnet 4.5 by 22.832.910.1+22.8
Long documentsClaude Sonnet 4.5
- AA-LCRClaude Sonnet 4.5 by 23.372.349+23.3
Following instructionsGranite 4.2 30B
- IFBenchGranite 4.2 30B by 19.957.377.2+19.9
Other results8 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.
- Artificial Analysis Coding IndexClaude Sonnet 4.5 by 22.252.129.9+22.2
- HMMT 2025Granite 4.2 30B by 14.674.689.2+14.6
- AA-OmniscienceClaude Sonnet 4.5 by 12.8-0.1-12.9+12.8
- MMLU-ProClaude Sonnet 4.5 by 10.688.277.6+10.6
- AA IntelligenceClaude Sonnet 4.5 by 820.712.7+8
- AA Agentic IndexClaude Sonnet 4.5 by 3.617.513.9+3.6
- AIME 2025Granite 4.2 30B by 2.28789.2+2.2
- AIME25 no toolsGranite 4.2 30B by 1.28889.2+1.2
Questions people ask
Which is better, Claude Sonnet 4.5 or Granite 4.2 30B?
Claude Sonnet 4.5 wins four of the six areas where both have results: coding, agents, reasoning and long documents. Granite 4.2 30B wins following instructions, and costs 96% less. They are level on facts.
Which is better for coding?
Claude Sonnet 4.5. It wins 5 of the 6 coding tests both models report; Granite 4.2 30B wins 1.
Which is cheaper?
Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; Granite 4.2 30B costs $0.16 and $0.65. That makes Granite 4.2 30B about 96% cheaper for the same work.
How do you compare the two?
We use the 24 benchmark tests both models have published scores on. The verdict counts the 16 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 8 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.