Mistral AI
Mistral AI
vs
OpenAI
OpenAI

Mistral Small 3.1 24B vs GPT-5.2-Codex

A detailed comparison of pricing, benchmarks, and capabilities

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

Key Takeaways

Mistral Small 3.1 24B wins:

  • Cheaper input tokens
  • Cheaper output tokens

GPT-5.2-Codex wins:

  • Larger context window
  • Has reasoning mode
Price Advantage
Mistral Small 3.1 24B
Benchmark Advantage
Mistral Small 3.1 24B
Context Window
GPT-5.2-Codex
Speed
N/A

Pricing Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureMistral Small 3.1 24BGPT-5.2-Codex
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyMistral Small 3.1 24BGPT-5.2-Codex
LicenseOpen SourceProprietary
AuthorMistral AIOpenAI
ReleasedMar 2025Jan 2026

Mistral Small 3.1 24B Modalities

Input
textimage
Output
text

GPT-5.2-Codex Modalities

Input
textimage
Output
text

Frequently Asked Questions

Mistral Small 3.1 24B has cheaper input pricing at $0.10/M tokens. Mistral Small 3.1 24B has cheaper output pricing at $0.30/M tokens.
Mistral Small 3.1 24B has a 128,000 token context window, while GPT-5.2-Codex has a 400,000 token context window.
Mistral Small 3.1 24B supports vision. GPT-5.2-Codex supports vision.