Model comparison

GPT-5.4 nano vs Llama 2-7B

GPT-5.4 nano is the stronger model overall, scoring 41.9 to 28.6 on the Noometry Index.

Last verified . 17 shared benchmarks.

GPT-5.4 nano OpenAI

41.9

Rank #111 Confirmed

Llama 2-7B Meta

28.6

Rank #315 Confirmed

Summary

  • They share 17 benchmarks with published results for both. GPT-5.4 nano scores higher in 8 categories and Llama 2-7B in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where GPT-5.4 nano leads 55.9 to 28.1.
  • The biggest single-benchmark swing is Chess Puzzles: 30% for GPT-5.4 nano and 0% for Llama 2-7B.
  • Llama 2-7B has downloadable open weights; the other is API-only.

Side by side

GPT-5.4 nano and Llama 2-7B specifications
GPT-5.4 nanoLlama 2-7B
ProviderOpenAIMeta
Noometry Index41.928.6
Released2026-03-172023-07-18
WeightsProprietaryOpen
Context window400K—
Max output128K—
Input $ / M tokens$0.20—
Output $ / M tokens$1.25—
Results tracked4029

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding GPT-5.4 nano leads

GPT-5.4 nano: 43.1 (#82), Llama 2-7B: 28.7 (#302)

Coding benchmarks
BenchmarkGPT-5.4 nanoLlama 2-7B
LMArena Coding14041002
SciCode46.9%—
WeirdML49.2%—
ALE-Bench1,005—

Reasoning GPT-5.4 nano leads

GPT-5.4 nano: 23.8 (#159), Llama 2-7B: 15.1 (#309)

Reasoning benchmarks
BenchmarkGPT-5.4 nanoLlama 2-7B
Chess Puzzles30%0%
LMArena Hard Prompts13801009
Epoch Capabilities Index145.7898.54
ARC-AGI-25.7%—
Kagi LLM Benchmark39.7%—
ARC-AGI-151.5%—
CritPt9.3%—
Mystery Game Puzzles9%—
DTBench80.3%—
LMCA36.9%—
BIG-Bench Hard—39.2%
ForecastBench57.3—
HellaSwag—77.2%
LAMBADA—73.3%
PIQA—78.8%
WinoGrande—69.2%

Math GPT-5.4 nano leads

GPT-5.4 nano: 40.7 (#76), Llama 2-7B: 28.2 (#231)

Math benchmarks
BenchmarkGPT-5.4 nanoLlama 2-7B
LMArena Math14061042
FrontierMath (Tiers 1-3)44.9%—
FrontierMath Tier 412.2%—
OTIS Mock AIME 2024-202587.8%—
ProofBench5%—
FrontierMath (Feb 2025 set)25.9%—
FrontierMath Tier 4 (v1)6.3%—
GSM8K—16.7%

Knowledge GPT-5.4 nano leads

GPT-5.4 nano: 41.8 (#94), Llama 2-7B: 27.7 (#243)

Knowledge benchmarks
BenchmarkGPT-5.4 nanoLlama 2-7B
LMArena Expert13971036
GPQA Diamond78.5%—
SimpleQA Verified11.7%—
Vectara Hallucination Rate3.1%—
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
MMLU—45.8%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

GPT-5.4 nano: 36.0 (#73), Llama 2-7B: —

Multimodal benchmarks
BenchmarkGPT-5.4 nanoLlama 2-7B
LMArena Vision1196—
ScienceQA—43.1%

Multilingual GPT-5.4 nano leads

GPT-5.4 nano: 48.8 (#136), Llama 2-7B: 23.9 (#288)

Multilingual benchmarks
BenchmarkGPT-5.4 nanoLlama 2-7B
LMArena Non-English1359973
LMArena Chinese1391973
LMArena French1396969
LMArena German1368978
LMArena Russian1363995
LMArena Spanish13681007
LMArena Japanese1342—
LMArena Korean1321—

Instruction Following GPT-5.4 nano leads

GPT-5.4 nano: 72.1 (#139), Llama 2-7B: 51.0 (#293)

Instruction Following benchmarks
BenchmarkGPT-5.4 nanoLlama 2-7B
LMArena Instruction Following13621006

Long Context GPT-5.4 nano leads

GPT-5.4 nano: 41.6 (#131), Llama 2-7B: 30.4 (#282)

Long Context benchmarks
BenchmarkGPT-5.4 nanoLlama 2-7B
LMArena Longer Query1365999

Writing & Preference GPT-5.4 nano leads

GPT-5.4 nano: 55.9 (#137), Llama 2-7B: 28.1 (#293)

Writing & Preference benchmarks
BenchmarkGPT-5.4 nanoLlama 2-7B
LMArena Text13721053
LMArena Creative Writing13131033
LMArena Multi-Turn13821029

Frequently asked questions

Is GPT-5.4 nano better than Llama 2-7B?

GPT-5.4 nano is the stronger model overall, scoring 41.9 to 28.6 on the Noometry Index.

Is GPT-5.4 nano or Llama 2-7B better for coding?

GPT-5.4 nano scores higher on coding benchmarks: 43.1 versus 28.7 in the Noometry coding category.

How many benchmarks do GPT-5.4 nano and Llama 2-7B share?

17 benchmarks have published results for both models. GPT-5.4 nano has 40 scored results on Noometry and Llama 2-7B has 29.

Related comparisons

Go deeper