Model comparison

GPT-5.1-Codex vs Llama 2-7B

GPT-5.1-Codex is the stronger model overall, scoring 38.6 to 29.1 on the Noometry Index.

Last verified . 0 shared benchmarks.

GPT-5.1-Codex OpenAI

38.6

Rank #186 Reported

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

  • The widest gap is in coding, where GPT-5.1-Codex leads 41.9 to 29.2.
  • Llama 2-7B has downloadable open weights; the other is API-only.

Side by side

GPT-5.1-Codex and Llama 2-7B specifications
GPT-5.1-CodexLlama 2-7B
ProviderOpenAIMeta
Noometry Index38.629.1
Released2025-11-122023-07-18
WeightsProprietaryOpen
Context window400K—
Max output128K—
Input $ / M tokens$1.25—
Output $ / M tokens$10—
Results tracked629

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

Category by category

Coding GPT-5.1-Codex leads

GPT-5.1-Codex: 41.9 (#116), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
SWE-bench Verified (bash only)66%—
LMArena WebDev1337—
LMArena Coding—1002
ALE-Bench1,245—

Agentic & Tool Use Not comparable

GPT-5.1-Codex: 38.0 (#33), Llama 2-7B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
Terminal-Bench60.4%—
METR Time Horizons70.8%—

Reasoning Not comparable

GPT-5.1-Codex: —, Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
Chess Puzzles—0%
LMArena Hard Prompts—1009
BIG-Bench Hard—39.2%
Epoch Capabilities Index—99.06
HellaSwag—77.2%
LAMBADA—73.3%
PIQA—78.8%
WinoGrande—69.2%

Math Too close to call

GPT-5.1-Codex: 30.3 (#235), Llama 2-7B: 30.7 (#233)

Math benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
ProofBench9%—
LMArena Math—1042
GSM8K—16.7%

Knowledge Not comparable

GPT-5.1-Codex: —, Llama 2-7B: 28.2 (#248)

Knowledge benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
LMArena Expert—1036
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
MMLU—45.8%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

GPT-5.1-Codex: —, Llama 2-7B: —

Multimodal benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
ScienceQA—43.1%

Multilingual Not comparable

GPT-5.1-Codex: —, Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
LMArena Non-English—973
LMArena Chinese—973
LMArena French—970
LMArena German—978
LMArena Russian—995
LMArena Spanish—1007

Instruction Following Not comparable

GPT-5.1-Codex: —, Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
LMArena Instruction Following—1006

Long Context Not comparable

GPT-5.1-Codex: —, Llama 2-7B: 30.4 (#287)

Long Context benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
LMArena Longer Query—999

Writing & Preference Not comparable

GPT-5.1-Codex: —, Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkGPT-5.1-CodexLlama 2-7B
LMArena Text—1053
LMArena Creative Writing—1033
LMArena Multi-Turn—1029

Frequently asked questions

Is GPT-5.1-Codex better than Llama 2-7B?

GPT-5.1-Codex is the stronger model overall, scoring 38.6 to 29.1 on the Noometry Index.

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

GPT-5.1-Codex scores higher on coding benchmarks: 41.9 versus 29.2 in the Noometry coding category.

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

0 benchmarks have published results for both models. GPT-5.1-Codex has 6 scored results on Noometry and Llama 2-7B has 29.

Related comparisons

Go deeper