The Model Index
Up to four models

Gemma 3 4B vs Llama 3.1-8B

On the index (GPT-4 = 100), Gemma 3 4B scores 89 and Llama 3.1-8B 89. Side by side on the same third-party tests, with price and context. The link in your address bar shares this exact comparison.

Next to Gemma 3 4B
Presets
Gemma 3 4B
8962–117
WeightsOpen
ReleasedMar 2025
Price in / out$0.050 / $0.10
Context131K
Core tests taken1 of 9
Llama 3.1-8B
8970–107
WeightsOpen
ReleasedJul 2024
Price in / out$0.020 / $0.040
Context131K
Core tests taken1 of 9

Gemma 3 4B and Llama 3.1-8B are too close to call (1 point apart, within the uncertainty), ahead on 0 of 1 shared core tests, at 2.5× the price.

Test by testthird-party results

Gemma 3 4BLlama 3.1-8B
0%25%50%75%100%REASONING & KNOWLEDGEGPQA Diamond (Epoch AI)GPQA Diamond (Epoch AI)MATHSAIME-style maths (OTIS mock)AIME-style maths (OTIS mock)AGENTSDTBenchDTBenchLMCALMCA
Every result as a table
TestGemma 3 4BLlama 3.1-8B
Reasoning & knowledge
GPQA Diamond (Epoch AI)23.2%27.0%
Maths
AIME-style maths (OTIS mock)7.5%1.7%
Agents
DTBench50.9%50.9%
LMCA2.8%5.4%

Tests at least two of these models have taken. Bold rows are the core tests.

This page as a chartDownload PNG