kwj.ai · acquisition inquiries from >$999view prospectus →
The Domesday Book ofKWJ · AI

Mistral · The Coding-Agent Era

Codestral

Mistral's coding specialist. 80+ programming languages, fill-in-the-middle, low latency.

By C.W. Jameson · Published 19 May 2026 · Last reviewed 19 May 2026

Codestral is Mistral's focused answer to the coding-agent market. It supports fill-in-the-middle (FIM) completion — the ability to complete code given both preceding and following context — which is the mode that tab-completion agents use. The model covers over 80 programming languages and runs on infrastructure fast enough for inline completion.

Field signature

Fill-in-the-middle outputs that respect surrounding code context.

Specifications

Released2024-05
Context window32,000 tokens
Pricing$0.20 / $0.60 per million tokens
Modalitiestext
LicenseCodestral License (non-production free, commercial paid)
EraThe Coding-Agent Era

Strengths

  • FIM completion
  • Speed
  • Broad language support

Weaknesses

  • General reasoning weaker than Mistral Large

Authentication markers

The fingerprints by which Codestral can be identified from its output alone.

TellMeaning
Fill-in-the-middle with both prefix and suffix tokens.Codestral or StarCoder derivative.

Notable works

  • Default backend for several VS Code extensions

Market position

$0.20-$0.60 per million tokens

Partner offer

Partner offerings listed for operator convenience. See disclosure for terms.

View partner →

Affiliate link — see disclosure.

Primary sources

  1. [1] Mistral AI: Codestral

From the Almanac shop

The Operator's Compendium

Every agent harness, every routing pattern, every cost trick. 90-page PDF.

$29Coming soon

Back to the directory