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

Magistral Medium vs GPT-5 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

GPT-5 Codex wins:

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

Pricing Comparison

Price Comparison

MetricMagistral MediumGPT-5 CodexWinner
Input (per 1M tokens)$2.00$1.25 GPT-5 Codex
Output (per 1M tokens)$5.00$10.00 Magistral Medium
Cache Read (per 1M)N/A$0.13 GPT-5 Codex
Using a 3:1 input/output ratio, Magistral Medium is 20% cheaper overall.

Magistral Medium Providers

No provider data available

GPT-5 Codex Providers

No provider data available

Benchmark Comparison

7
Benchmarks Compared
0
Magistral Medium Wins
6
GPT-5 Codex Wins

Benchmark Scores

BenchmarkMagistral MediumGPT-5 CodexWinner
Intelligence Index
Overall intelligence score
18.844.6
Coding Index
Code generation & understanding
16.038.9
Math Index
Mathematical reasoning
40.398.7
MMLU Pro
Academic knowledge
75.386.5
GPQA
Graduate-level science
67.983.7
LiveCodeBench
Competitive programming
52.784.0
AIME
Competition math
70.0--
GPT-5 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 Codex
400,000
tokens

Speed Performance

MetricMagistral MediumGPT-5 CodexWinner
Tokens/second0.0 tok/s182.4 tok/s
Time to First Token0.00s6.83s
GPT-5 Codex responds Infinity% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyMagistral MediumGPT-5 Codex
LicenseProprietaryProprietary
AuthorMistral AIOpenAI
ReleasedUnknownSep 2025

Magistral Medium Modalities

Input
Output

GPT-5 Codex Modalities

Input
textimage
Output
text

Related Comparisons

Compare Magistral Medium with:

Compare GPT-5 Codex with:

Frequently Asked Questions

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