Model comparison
Granite 4.0 H Small vs Llama 3.1-8B
Granite 4.0 H Small is the stronger model overall, scoring 36.5 to 23.0 on the Noometry Index.
Last verified . 18 shared benchmarks.
Summary
- They share 18 benchmarks with published results for both. Granite 4.0 H Small scores higher in 8 categories and Llama 3.1-8B in 0 categories; 8 gaps are clear of the uncertainty.
- The widest gap is in knowledge, where Granite 4.0 H Small leads 32.0 to 8.0.
- The biggest single-benchmark swing is MMLU-Pro: 56.9% for Granite 4.0 H Small and 40.6% for Llama 3.1-8B.
Side by side
| Granite 4.0 H Small | Llama 3.1-8B | |
|---|---|---|
| Provider | IBM | Meta |
| Noometry Index | 36.5 | 23.0 |
| Released | — | 2024-07-23 |
| Weights | Open | Open |
| Context window | — | 128K |
| Max output | — | 4K |
| Input $ / M tokens | — | $0.05 |
| Output $ / M tokens | — | $0.08 |
| Results tracked | 19 | 43 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Granite 4.0 H Small leads
Granite 4.0 H Small: 36.4 (#209), Llama 3.1-8B: 20.2 (#340)
| Benchmark | Granite 4.0 H Small | Llama 3.1-8B |
|---|---|---|
| LMArena Coding | 1249 | 1195 |
| SciCode | — | 13.2% |
| WeirdML | — | 1.7% |
| BigCodeBench Instruct | — | 32.8% |
| BigCodeBench Complete | — | 40.5% |
| HumanEval+ | — | 62.8% |
| MBPP+ | — | 55.6% |
Agentic & Tool Use Not comparable
Granite 4.0 H Small: —, Llama 3.1-8B: 22.5 (#131)
| Benchmark | Granite 4.0 H Small | Llama 3.1-8B |
|---|---|---|
| Berkeley Function Calling Leaderboard | — | 25.8% |
| BALROG | — | 15.1% |
Reasoning Granite 4.0 H Small leads
Granite 4.0 H Small: 24.4 (#163), Llama 3.1-8B: 14.9 (#321)
| Benchmark | Granite 4.0 H Small | Llama 3.1-8B |
|---|---|---|
| LMArena Hard Prompts | 1240 | 1175 |
| CritPt | — | 0% |
| Chess Puzzles | — | 0% |
| DTBench | — | 50.9% |
| LMCA | — | 5.4% |
| Epoch Capabilities Index | — | 116.57 |
| PIQA | — | 81.2% |
Math Granite 4.0 H Small leads
Granite 4.0 H Small: 31.4 (#223), Llama 3.1-8B: 10.2 (#317)
| Benchmark | Granite 4.0 H Small | Llama 3.1-8B |
|---|---|---|
| Omni-MATH | 29.6% | 13.7% |
| LMArena Math | 1247 | 1179 |
| OTIS Mock AIME 2024-2025 | — | 1.7% |
| MATH Level 5 | — | 22.9% |
| GSM8K | — | 82.4% |
Knowledge Granite 4.0 H Small leads
Granite 4.0 H Small: 32.0 (#215), Llama 3.1-8B: 8.0 (#307)
| Benchmark | Granite 4.0 H Small | Llama 3.1-8B |
|---|---|---|
| MMLU-Pro | 56.9% | 40.6% |
| GPQA (HELM) | 38.3% | 24.7% |
| LMArena Expert | 1251 | 1144 |
| GPQA Diamond | — | 27% |
| Vectara Hallucination Rate | 5.2% | — |
| BoolQ | — | 82.8% |
| MMLU | — | 56.1% |
Multilingual Granite 4.0 H Small leads
Granite 4.0 H Small: 38.6 (#228), Llama 3.1-8B: 34.0 (#249)
| Benchmark | Granite 4.0 H Small | Llama 3.1-8B |
|---|---|---|
| LMArena Non-English | 1216 | 1148 |
| LMArena Chinese | 1249 | 1151 |
| LMArena Russian | 1201 | 1158 |
| LMArena Spanish | 1258 | 1169 |
| LMArena French | — | 1177 |
| LMArena German | — | 1144 |
| LMArena Japanese | — | 1061 |
| LMArena Korean | — | 1053 |
Instruction Following Granite 4.0 H Small leads
Granite 4.0 H Small: 68.7 (#183), Llama 3.1-8B: 58.9 (#258)
| Benchmark | Granite 4.0 H Small | Llama 3.1-8B |
|---|---|---|
| IFEval | 89% | 74.3% |
| LMArena Instruction Following | 1222 | 1159 |
Long Context Granite 4.0 H Small leads
Granite 4.0 H Small: 37.7 (#213), Llama 3.1-8B: 35.8 (#238)
| Benchmark | Granite 4.0 H Small | Llama 3.1-8B |
|---|---|---|
| LMArena Longer Query | 1242 | 1182 |
Writing & Preference Granite 4.0 H Small leads
Granite 4.0 H Small: 43.8 (#227), Llama 3.1-8B: 29.7 (#290)
| Benchmark | Granite 4.0 H Small | Llama 3.1-8B |
|---|---|---|
| LMArena Text | 1241 | 1187 |
| LMArena Creative Writing | 1211 | 1154 |
| WildBench | 73.9% | 68.7% |
| LMArena Multi-Turn | 1242 | 1172 |
| EQ-Bench Creative Writing | — | 713 |
Frequently asked questions
Is Granite 4.0 H Small better than Llama 3.1-8B?
Granite 4.0 H Small is the stronger model overall, scoring 36.5 to 23.0 on the Noometry Index.
Is Granite 4.0 H Small or Llama 3.1-8B better for coding?
Granite 4.0 H Small scores higher on coding benchmarks: 36.4 versus 20.2 in the Noometry coding category.
How many benchmarks do Granite 4.0 H Small and Llama 3.1-8B share?
18 benchmarks have published results for both models. Granite 4.0 H Small has 19 scored results on Noometry and Llama 3.1-8B has 43.