Claude Opus 4.7 vs Granite 4.0 H Small
Wins 6 of 6 areas
Coding · Agents · Reasoning · Facts · Long documents · Following instructions
Wins 0 of 6 areas
—
Claude Opus 4.7 is the stronger all-rounder.Granite 4.0 H Small is cheaper.
Scores updated · 19 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.
- ReasoningHard problems that need careful thinking30Claude Opus 4.73 of 3 tests
- CodingWriting and fixing software20Claude Opus 4.72 of 2 tests
- FactsGetting facts right instead of making them up21Claude Opus 4.72 of 3 tests
- AgentsCarrying out multi-step tasks on its own10Claude Opus 4.71 of 1 test
- Long documentsFinding answers in very long texts10Claude Opus 4.71 of 1 test
- Following instructionsDoing exactly what it is asked10Claude Opus 4.71 of 1 test
Agents, 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.0 H Small costs 99% less for the same work.
The biggest differences
The tests each model wins by the widest margin, up to three each. Scores are out of 100.
Where Claude Opus 4.7 pulls ahead
- Reasons across sets of long documentsAA-LCR+67.4points ahead
- Graduate-level biology, physics and chemistry questionsGPQA Diamond+49.8points ahead
- Hard command-line tasks in a real terminalTerminal-Bench Hard+49.2points ahead
Where Granite 4.0 H Small pulls ahead
No clear win on a test scored out of 100.
Every test, side by side
All 19 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingClaude Opus 4.7
- Terminal-Bench HardClaude Opus 4.7 by 49.251.52.3+49.2
- SciCodeClaude Opus 4.7 by 33.654.520.9+33.6
ReasoningClaude Opus 4.7
- GPQA DiamondClaude Opus 4.7 by 49.891.441.6+49.8
- Humanity's Last ExamClaude Opus 4.7 by 38.542.33.8+38.5
- CritPtClaude Opus 4.7 by 12120+12
FactsClaude Opus 4.7
- AA-Omniscience · Non-hallucinationClaude Opus 4.7 by 45.557.712.2+45.5
- AA-Omniscience · AccuracyClaude Opus 4.7 by 34.648.914.3+34.6
- Vectara HHEM hallucination ratelower is betterGranite 4.0 H Small by 6.8125.2+6.8
Following instructionsClaude Opus 4.7
- IFBenchClaude Opus 4.7 by 27.158.631.5+27.1
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.
- AA-OmniscienceClaude Opus 4.7 by 88.327.3-61+88.3
- τ²-Bench Telecom (AA run)Claude Opus 4.7 by 71.388.617.3+71.3
- Artificial Analysis Coding IndexClaude Opus 4.7 by 65.173.68.5+65.1
- AA IntelligenceClaude Opus 4.7 by 34.740.76+34.7
- AA Agentic IndexClaude Opus 4.7 by 33.739.55.8+33.7
- vectara_factual_consistencyGranite 4.0 H Small by 6.88894.8+6.8
- vectara_avg_summary_lengthClaude Opus 4.7 by 41.7 rating points149.1107.4+41.7 rating
- vectara_answer_rateGranite 4.0 H Small by 298100+2
Questions people ask
Which is better, Claude Opus 4.7 or Granite 4.0 H Small?
Claude Opus 4.7 wins all six areas where both have results: coding, agents, reasoning, facts, long documents and following instructions. Granite 4.0 H Small wins none, but costs 99% less.
Which is better for coding?
Claude Opus 4.7. It wins 2 of the 2 coding tests both models report; Granite 4.0 H Small wins none.
Which is cheaper?
Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; Granite 4.0 H Small costs $0.06 and $0.25. That makes Granite 4.0 H Small about 99% cheaper for the same work.
How do you compare the two?
We use the 19 benchmark tests both models have published scores on. The verdict counts the 11 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.