Price Per TokenPrice Per Token
Mistral AI
Mistral AI
vs
OpenAI
OpenAI

Magistral Medium vs GPT-5.2-Codex

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

107 out of our 480 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Magistral Medium wins:

  • Cheaper output tokens
  • Better at math

GPT-5.2-Codex wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Supports vision
Price Advantage
Magistral Medium
Benchmark Advantage
GPT-5.2-Codex
Context Window
GPT-5.2-Codex
Speed
GPT-5.2-Codex

Pricing Comparison

Price Comparison

MetricMagistral MediumGPT-5.2-CodexWinner
Input (per 1M tokens)$2.00$1.75 GPT-5.2-Codex
Output (per 1M tokens)$5.00$14.00 Magistral Medium
Cache Read (per 1M)N/A$0.17 GPT-5.2-Codex
Using a 3:1 input/output ratio, Magistral Medium is 43% cheaper overall.

Magistral Medium Providers

No provider data available

GPT-5.2-Codex Providers

No provider data available

Benchmark Comparison

7
Benchmarks Compared
0
Magistral Medium Wins
3
GPT-5.2-Codex Wins

Benchmark Scores

BenchmarkMagistral MediumGPT-5.2-CodexWinner
Intelligence Index
Overall intelligence score
18.849.0
Coding Index
Code generation & understanding
16.043.0
Math Index
Mathematical reasoning
40.3--
MMLU Pro
Academic knowledge
75.3--
GPQA
Graduate-level science
67.989.9
LiveCodeBench
Competitive programming
52.7--
AIME
Competition math
70.0--
GPT-5.2-Codex significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Magistral Medium
Other models

Context & Performance

Context Window

Magistral Medium
N/A
tokens
GPT-5.2-Codex
400,000
tokens

Speed Performance

MetricMagistral MediumGPT-5.2-CodexWinner
Tokens/second0.0 tok/s72.4 tok/s
Time to First Token0.00s7.11s
GPT-5.2-Codex responds Infinity% faster on average.

Capabilities

Feature Comparison

FeatureMagistral MediumGPT-5.2-Codex
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyMagistral MediumGPT-5.2-Codex
LicenseProprietaryProprietary
AuthorMistral AIOpenAI
ReleasedUnknownJan 2026

Magistral Medium Modalities

Input
Output

GPT-5.2-Codex Modalities

Input
textimage
Output
text

Related Comparisons

Compare Magistral Medium with:

Compare GPT-5.2-Codex with:

Frequently Asked Questions

GPT-5.2-Codex has cheaper input pricing at $1.75/M tokens. Magistral Medium has cheaper output pricing at $5.00/M tokens.
GPT-5.2-Codex scores higher on coding benchmarks with a score of 43.0, compared to Magistral Medium's score of 16.0.
Magistral Medium has a unknown token context window, while GPT-5.2-Codex has a 400,000 token context window.
Magistral Medium does not support vision. GPT-5.2-Codex supports vision.
Advertise with us