Model comparison

GPT-5.2 Codex vs Magistral Medium

GPT-5.2 Codex is the stronger model overall, scoring 42.6 to 35.2 on the Noometry Index. Magistral Medium costs 1.8× less per token, which makes it the better buy when GPT-5.2 Codex's lead doesn't matter for your workload.

Last verified . 0 shared benchmarks.

GPT-5.2 Codex OpenAI

42.6

Rank #111 Reported

Magistral Medium Mistral AI

35.2

Rank #227 Confirmed

Summary

  • The widest gap is in coding, where GPT-5.2 Codex leads 45.5 to 39.1.
  • Magistral Medium is cheaper at $2 / $5 per million input/output tokens, against $1.75 / $14 for GPT-5.2 Codex.
  • GPT-5.2 Codex accepts more context: 400K tokens versus 262K.
  • Magistral Medium has downloadable open weights; the other is API-only.

Side by side

GPT-5.2 Codex and Magistral Medium specifications
GPT-5.2 CodexMagistral Medium
ProviderOpenAIMistral AI
Noometry Index42.635.2
Released2025-12-182025-03-17
WeightsProprietaryOpen
Context window400K262K
Max output128K16K
Input $ / M tokens$1.75$2
Output $ / M tokens$14$5
Results tracked522

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), Magistral Medium: 39.1 (#161)

Coding benchmarks
BenchmarkGPT-5.2 CodexMagistral Medium
SWE-bench Verified (bash only)72.8%—
LMArena WebDev1339—
SWE-bench Multilingual66.3%—
SciCode—39.2%
LMArena Coding—1319
ALE-Bench1,300—

Agentic & Tool Use Not comparable

GPT-5.2 Codex: 41.0 (#22), Magistral Medium: —

Agentic & Tool Use benchmarks
BenchmarkGPT-5.2 CodexMagistral Medium
Terminal-Bench66.5%—

Reasoning Not comparable

GPT-5.2 Codex: —, Magistral Medium: 8.6 (#348)

Reasoning benchmarks
BenchmarkGPT-5.2 CodexMagistral Medium
ARC-AGI-2—0%
Kagi LLM Benchmark—16.2%
ARC-AGI-1—6.1%
CritPt—0.3%
LMArena Hard Prompts—1267

Math Not comparable

GPT-5.2 Codex: —, Magistral Medium: 35.1 (#189)

Math benchmarks
BenchmarkGPT-5.2 CodexMagistral Medium
LMArena Math—1250

Knowledge Not comparable

GPT-5.2 Codex: —, Magistral Medium: 33.5 (#202)

Knowledge benchmarks
BenchmarkGPT-5.2 CodexMagistral Medium
LMArena Expert—1223

Multilingual Not comparable

GPT-5.2 Codex: —, Magistral Medium: 39.6 (#224)

Multilingual benchmarks
BenchmarkGPT-5.2 CodexMagistral Medium
LMArena Non-English—1232
LMArena Chinese—1227
LMArena French—1267
LMArena German—1248
LMArena Japanese—1175
LMArena Korean—1125
LMArena Russian—1224
LMArena Spanish—1271

Instruction Following Not comparable

GPT-5.2 Codex: —, Magistral Medium: 66.0 (#211)

Instruction Following benchmarks
BenchmarkGPT-5.2 CodexMagistral Medium
LMArena Instruction Following—1254

Long Context Not comparable

GPT-5.2 Codex: —, Magistral Medium: 39.3 (#183)

Long Context benchmarks
BenchmarkGPT-5.2 CodexMagistral Medium
LMArena Longer Query—1295

Writing & Preference Not comparable

GPT-5.2 Codex: —, Magistral Medium: 46.3 (#219)

Writing & Preference benchmarks
BenchmarkGPT-5.2 CodexMagistral Medium
LMArena Text—1255
LMArena Creative Writing—1245
LMArena Multi-Turn—1275

Frequently asked questions

Is GPT-5.2 Codex better than Magistral Medium?

GPT-5.2 Codex is the stronger model overall, scoring 42.6 to 35.2 on the Noometry Index. Magistral Medium costs 1.8× less per token, which makes it the better buy when GPT-5.2 Codex's lead doesn't matter for your workload.

Which is cheaper, GPT-5.2 Codex or Magistral Medium?

Magistral Medium is cheaper. It lists at $2 per million input tokens and $5 per million output tokens; GPT-5.2 Codex lists at $1.75 and $14.

Is GPT-5.2 Codex or Magistral Medium better for coding?

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

Which has the bigger context window?

GPT-5.2 Codex does, with 400K tokens against 262K.

How many benchmarks do GPT-5.2 Codex and Magistral Medium share?

0 benchmarks have published results for both models. GPT-5.2 Codex has 5 scored results on Noometry and Magistral Medium has 22.

Related comparisons

Go deeper