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

Devstral 2 2512 vs GPT-5.2-Codex

A detailed comparison of pricing, benchmarks, and capabilities

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

Join the Price Per Token Community

Key Takeaways

Devstral 2 2512 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Better at math

GPT-5.2-Codex wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Supports vision
  • Has reasoning mode
Price Advantage
Devstral 2 2512
Benchmark Advantage
GPT-5.2-Codex
Context Window
GPT-5.2-Codex
Speed
GPT-5.2-Codex

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureDevstral 2 2512GPT-5.2-Codex
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyDevstral 2 2512GPT-5.2-Codex
LicenseOpen SourceProprietary
AuthorMistral AIOpenAI
ReleasedDec 2025Jan 2026

Devstral 2 2512 Modalities

Input
text
Output
text

GPT-5.2-Codex Modalities

Input
textimage
Output
text

Frequently Asked Questions

Devstral 2 2512 has cheaper input pricing at $0.40/M tokens. Devstral 2 2512 has cheaper output pricing at $0.90/M tokens.
GPT-5.2-Codex scores higher on coding benchmarks with a score of 43.0, compared to Devstral 2 2512's score of 23.7.
Devstral 2 2512 has a 262,144 token context window, while GPT-5.2-Codex has a 400,000 token context window.
Devstral 2 2512 does not support vision. GPT-5.2-Codex supports vision.