Model comparison

GPT-5.2 Codex vs Llama 2-7B

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

Last verified . 0 shared benchmarks.

GPT-5.2 Codex OpenAI

42.6

Rank #111 Reported

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

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

Side by side

GPT-5.2 Codex and Llama 2-7B specifications
GPT-5.2 CodexLlama 2-7B
ProviderOpenAIMeta
Noometry Index42.629.1
Released2025-12-182023-07-18
WeightsProprietaryOpen
Context window400K—
Max output128K—
Input $ / M tokens$1.75—
Output $ / M tokens$14—
Results tracked529

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

Category by category

Coding GPT-5.2 Codex leads

GPT-5.2 Codex: 45.5 (#71), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGPT-5.2 CodexLlama 2-7B
SWE-bench Verified (bash only)72.8%—
LMArena WebDev1339—
SWE-bench Multilingual66.3%—
LMArena Coding—1002
ALE-Bench1,300—

Agentic & Tool Use Not comparable

GPT-5.2 Codex: 41.0 (#22), Llama 2-7B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-5.2 CodexLlama 2-7B
Terminal-Bench66.5%—

Reasoning Not comparable

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

Reasoning benchmarks
BenchmarkGPT-5.2 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 Not comparable

GPT-5.2 Codex: —, Llama 2-7B: 30.7 (#233)

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

Knowledge Not comparable

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

Knowledge benchmarks
BenchmarkGPT-5.2 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.2 Codex: —, Llama 2-7B: —

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

Multilingual Not comparable

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

Multilingual benchmarks
BenchmarkGPT-5.2 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.2 Codex: —, Llama 2-7B: 50.8 (#298)

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

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

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

Frequently asked questions

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

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

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

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

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

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

Related comparisons

Go deeper