Model comparison

GPT-4.1 vs Llama 2-7B

GPT-4.1 is the stronger model overall, scoring 35.9 to 29.1 on the Noometry Index.

Last verified . 17 shared benchmarks.

GPT-4.1 OpenAI

35.9

Rank #219 Confirmed

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

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

Side by side

GPT-4.1 and Llama 2-7B specifications
GPT-4.1Llama 2-7B
ProviderOpenAIMeta
Noometry Index35.929.1
Released2025-04-142023-07-18
WeightsProprietaryOpen
Context window1.05M—
Max output33K—
Input $ / M tokens$2—
Output $ / M tokens$8—
Results tracked5229

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

Category by category

Coding GPT-4.1 leads

GPT-4.1: 34.4 (#238), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGPT-4.1Llama 2-7B
LMArena Coding13911002
SWE-bench Verified48.5%—
SWE-bench Verified (bash only)39.6%—
Aider Polyglot52.4%—
WeirdML39%—
CadEval42%—
ALE-Bench558.1—

Agentic & Tool Use Not comparable

GPT-4.1: 34.7 (#43), Llama 2-7B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4.1Llama 2-7B
Berkeley Function Calling Leaderboard54%—

Reasoning Llama 2-7B leads

GPT-4.1: 11.7 (#339), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkGPT-4.1Llama 2-7B
Chess Puzzles6%0%
LMArena Hard Prompts13841009
Epoch Capabilities Index136.7899.06
ARC-AGI-20.4%—
SimpleBench27%—
Kagi LLM Benchmark52.3%—
ARC-AGI-15.5%—
EnigmaEval2.2%—
DTBench68.3%—
LMCA25.6%—
BIG-Bench Hard—39.2%
ForecastBench61.5—
HellaSwag—77.2%
LAMBADA—73.3%
PIQA—78.8%
WinoGrande—69.2%

Math Llama 2-7B leads

GPT-4.1: 22.3 (#280), Llama 2-7B: 30.7 (#233)

Math benchmarks
BenchmarkGPT-4.1Llama 2-7B
LMArena Math13701042
FrontierMath (Tiers 1-3)6%—
OTIS Mock AIME 2024-202538.3%—
Omni-MATH47.1%—
MATH Level 583%—
FrontierMath (Feb 2025 set)5.5%—
FrontierMath Tier 4 (v1)0%—
GSM8K—16.7%

Knowledge GPT-4.1 leads

GPT-4.1: 37.1 (#160), Llama 2-7B: 28.2 (#248)

Knowledge benchmarks
BenchmarkGPT-4.1Llama 2-7B
LMArena Expert13641036
GPQA Diamond66.9%—
Humanity's Last Exam5.4%—
SimpleQA Verified31.1%—
MMLU-Pro81.1%—
Vectara Hallucination Rate5.6%—
GPQA (HELM)65.9%—
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
MMLU—45.8%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

GPT-4.1: 38.2 (#67), Llama 2-7B: —

Multimodal benchmarks
BenchmarkGPT-4.1Llama 2-7B
LMArena Vision1211—
GeoBench72%—
ScienceQA—43.1%

Multilingual GPT-4.1 leads

GPT-4.1: 49.4 (#133), Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkGPT-4.1Llama 2-7B
LMArena Non-English1370973
LMArena Chinese1382973
LMArena French1382970
LMArena German1381978
LMArena Russian1377995
LMArena Spanish13761007
LMArena Japanese1319—
LMArena Korean1339—

Instruction Following GPT-4.1 leads

GPT-4.1: 71.3 (#153), Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkGPT-4.1Llama 2-7B
LMArena Instruction Following13671006
IFEval83.8%—

Long Context GPT-4.1 leads

GPT-4.1: 40.0 (#163), Llama 2-7B: 30.4 (#287)

Long Context benchmarks
BenchmarkGPT-4.1Llama 2-7B
LMArena Longer Query1385999
Fiction.LiveBench63.9%—

Writing & Preference GPT-4.1 leads

GPT-4.1: 57.6 (#125), Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkGPT-4.1Llama 2-7B
LMArena Text13831053
LMArena Creative Writing13631033
LMArena Multi-Turn13981029
EQ-Bench Creative Writing1420—
WildBench85.4%—

Frequently asked questions

Is GPT-4.1 better than Llama 2-7B?

GPT-4.1 is the stronger model overall, scoring 35.9 to 29.1 on the Noometry Index.

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

GPT-4.1 scores higher on coding benchmarks: 34.4 versus 29.2 in the Noometry coding category.

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

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

Related comparisons

Go deeper