Model comparison

GPT-5 Nano vs Llama 2-7B

GPT-5 Nano is the stronger model overall, scoring 33.5 to 29.1 on the Noometry Index.

Last verified . 16 shared benchmarks.

GPT-5 Nano OpenAI

33.5

Rank #241 Confirmed

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

  • They share 16 benchmarks with published results for both. GPT-5 Nano scores higher in 7 categories and Llama 2-7B in 1 category; 6 gaps are clear of the uncertainty.
  • The widest gap is in instruction following, where GPT-5 Nano leads 75.0 to 50.8.
  • The biggest single-benchmark swing is Chess Puzzles: 27% for GPT-5 Nano and 0% for Llama 2-7B.
  • Llama 2-7B has downloadable open weights; the other is API-only.

Side by side

GPT-5 Nano and Llama 2-7B specifications
GPT-5 NanoLlama 2-7B
ProviderOpenAIMeta
Noometry Index33.529.1
Released2025-08-072023-07-18
WeightsProprietaryOpen
Context window400K—
Max output128K—
Input $ / M tokens$0.05—
Output $ / M tokens$0.40—
Results tracked4929

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

Category by category

Coding GPT-5 Nano leads

GPT-5 Nano: 33.6 (#254), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
LMArena Coding13511002
SWE-bench Verified (bash only)34.8%—
WeirdML38.1%—
ALE-Bench718.67—

Agentic & Tool Use Not comparable

GPT-5 Nano: 25.8 (#106), Llama 2-7B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
Terminal-Bench21.8%—
Berkeley Function Calling Leaderboard51.5%—

Reasoning Too close to call

GPT-5 Nano: 16.3 (#306), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
Chess Puzzles27%0%
LMArena Hard Prompts13281009
Epoch Capabilities Index139.3899.06
ARC-AGI-22.6%—
Kagi LLM Benchmark62.2%—
ARC-AGI-120.7%—
Mystery Game Puzzles9%—
DTBench62.7%—
LMCA7.9%—
BIG-Bench Hard—39.2%
ForecastBench59.1—
HellaSwag—77.2%
LAMBADA—73.3%
PIQA—78.8%
WinoGrande—69.2%

Math Llama 2-7B leads

GPT-5 Nano: 29.4 (#241), Llama 2-7B: 30.7 (#233)

Math benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
LMArena Math13171042
FrontierMath (Tiers 1-3)20%—
FrontierMath Tier 42.4%—
OTIS Mock AIME 2024-202581.1%—
ProofBench12%—
Omni-MATH54.6%—
MATH Level 595.2%—
FrontierMath (Feb 2025 set)8.3%—
FrontierMath Tier 4 (v1)2.1%—
GSM8K—16.7%

Knowledge GPT-5 Nano leads

GPT-5 Nano: 35.9 (#178), Llama 2-7B: 28.2 (#248)

Knowledge benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
LMArena Expert13211036
GPQA Diamond69.4%—
SimpleQA Verified11.7%—
MMLU-Pro77.8%—
Vectara Hallucination Rate10.5%—
GPQA (HELM)67.9%—
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
MMLU—45.8%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

GPT-5 Nano: 31.3 (#108), Llama 2-7B: —

Multimodal benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
LMArena Vision1159—
VPCT37.2%—
ScienceQA—43.1%

Multilingual GPT-5 Nano leads

GPT-5 Nano: 45.3 (#172), Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
LMArena Non-English1313973
LMArena Chinese1356973
LMArena German1327978
LMArena Russian1296995
LMArena Spanish13601007
LMArena French—970
LMArena Japanese1226—
LMArena Korean1269—

Instruction Following GPT-5 Nano leads

GPT-5 Nano: 75.0 (#79), Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
LMArena Instruction Following13061006
IFEval93.2%—

Long Context Too close to call

GPT-5 Nano: 31.3 (#281), Llama 2-7B: 30.4 (#287)

Long Context benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
LMArena Longer Query1312999
Fiction.LiveBench44.4%—

Writing & Preference GPT-5 Nano leads

GPT-5 Nano: 39.1 (#249), Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkGPT-5 NanoLlama 2-7B
LMArena Text13201053
LMArena Creative Writing12491033
LMArena Multi-Turn13111029
EQ-Bench Creative Writing705—
WildBench80.6%—

Frequently asked questions

Is GPT-5 Nano better than Llama 2-7B?

GPT-5 Nano is the stronger model overall, scoring 33.5 to 29.1 on the Noometry Index.

Is GPT-5 Nano or Llama 2-7B better for coding?

GPT-5 Nano scores higher on coding benchmarks: 33.6 versus 29.2 in the Noometry coding category.

How many benchmarks do GPT-5 Nano and Llama 2-7B share?

16 benchmarks have published results for both models. GPT-5 Nano has 49 scored results on Noometry and Llama 2-7B has 29.

Related comparisons

Go deeper