All AI models · LLM benchmarks · Methodology

Mistral

Codestral

Mistral code model for completions, refactors, and developer IDE workflows

Model facts

Context window
256K tokens
Maximum output
4K tokens
Cheapest paid input
$0.3 per 1M tokens
Cheapest paid output
$0.9 per 1M tokens
Open weights
yes
Providers
5

Capabilities and modalities

tool calling, structured output, temperature control, open weights, text.

Observed price history

  • 2026-08-24: $0.3 input / $0.9 output per 1M tokens

API providers

  • DevPass (LLM Gateway) — model id codestral-2508; $0.3 input / $0.9 output per 1M tokens; provider documentation
  • Eden AI (latest) — model id mistral/codestral-latest; $0.3 input / $0.9 output per 1M tokens; provider documentation
  • Merge Gateway (latest) — model id mistral/codestral-latest; $0.3 input / $0.9 output per 1M tokens; provider documentation
  • Mistral (latest) — model id codestral-latest; $0.3 input / $0.9 output per 1M tokens; provider documentation
  • Vercel AI Gateway (latest) — model id mistral/codestral; $0.3 input / $0.9 output per 1M tokens; provider documentation