Codestral

by Mistral AIChat

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

Context
256K tokens
Max output
4,096 tokens
Parameters
22.2B (total or active not stated)
Released
2024-05-29
Weights
Open

mistral/codestral · also seen as codestral-latest, mistral/codestral-latest, vertex_ai/codestral@2405, vertex_ai/codestral@latest

Specifications

Full facts as recorded, incl. what is unknown.

Released
2024-05-29
Weights
Open
Input
Text
Output
Text
Context window
256,000 max across endpoints
Max output
4,096
Providers
2 + 3 gateways, not counted as providers
Epoch Capabilities Index
not evaluated
Direct price range
$0.20–$0.30 in · $0.60–$0.90 out per 1M tokens · across all 2 providers
More details
Last updated
2025-01-04
Knowledge cutoff
Parameters
22.2B (total or active not stated)
Developer country
France

Capabilities

Across all endpoints: supported if any endpoint supports it.

  • Tool calling
  • Parallel toolsunknown
  • Structured output
  • Reasoning
  • Image input
  • PDF input
  • Audio input
  • Audio outputunknown
  • Video input
  • Prompt cachingunknown
  • Web searchunknown
  • Computer useunknown
  • System messagesunknown
  • Assistant prefill
  • Temperature
  • Streamingunknown
  • Attachments

Endpoints

One row per provider and variant; gateways are listed separately.

Loading endpoints…

Price history

No change since 19 Oct 2026. The cheapest direct price has been $0.20 in / $0.60 out per 1M tokens at Vertex on every data refresh since then.

Tracked from 19 Oct 2026. Headline-eligible direct prices only, so a price the sanity check flags never draws a spike. Series as JSON

Cost calculator

Loading endpoints…

Similarly priced models

Blended rate per 1M tokens, each at its own cheapest provider (10M input : 2M output mix).

ModelBlended/1MIn/1MOut/1MContextvs Codestral
Llama 3.1 70b InstructMeta$0.40$0.40$0.40131K+0%
Codestral-22B-v0.1Mistral AI$0.40$0.30$0.90128K+0%
Codestral 25.08Mistral AI$0.40$0.30$0.90256K+0%
Mistral Code LatestMistral AI$0.40$0.30$0.90128K+0%
UnslopNemo 12BTheDrummer$0.40$0.40$0.401.02M+0%
ReMM SLERP 13Bundi95$0.40$0.35$0.656.1K+0%
MiniMax-M2MiniMax$0.397$0.17$1.53205K−1% cheaper
DeepSeek V4 ProDeepSeek$0.406$0.348$0.6961M+2%

More from Mistral AI

Newest Mistral AI models in the catalogue. All Mistral AI models

ModelReleasedContextListed price
Mistral Large 42026-10-061.05Mfrom $0.68
Voxtral Small 24B 2507 STT2026-08-13—unpriced
Leanstral 1.52026-06-30262Kunpriced
Mistral Code Latest2026-06-02128Kfrom $0.30
Mistral Code Agent Latest2026-06-02256Kfrom $0.40
Voxtral Mini Transcribe2026-05-1516.4Kunpriced
Mistral Medium 3.52026-04-30262Kfrom $1.50
Mistral Medium 3.52026-04-29262Kfrom $1.50
Heads up: prices are indicative list rates scraped from provider pricing pages; verify with the provider before relying on them. Report incorrect data for this model