🇫🇷 France · Mistral Codestral

Status: 🟩 COMPLETE 🟦 LIVING Last updated: 2026-06-26 Plain-English tagline: Mistral’s coding-specialist model. Strong on multiple languages, available via Mistral API or open-weight download, the European alternative for code-specialised AI.


Front-matter facts

FieldValue
VendorMistral AI (Paris, France)
Country / origin🇫🇷 France 🇪🇺 EU
Recommended for Australian users?✅ Yes — EU GDPR-native provider; particularly relevant for AUS organisations preferring non-US AI
Privacy summaryMistral API: no training by default; EU servers. Open-weight: runs entirely on your hardware.
Free tierLimited via Mistral API free trial; open-weight is free to download and run
Paid tiersMistral API pay-per-token (EUR-denominated); Le Chat Pro for IDE-adjacent use
First released2024
Last reviewed2026-06-26
Official sitehttps://mistral.ai/news/codestral/

What it is

Codestral is Mistral AI’s coding-specialised LLM family. It’s available in two main forms:

  • Codestral via Mistral API — pay-per-token closed access
  • Codestral open weights — downloadable model weights (Codestral Mamba and successor releases) for self-hosting

The model is specifically tuned for:

  • Code completion (multiple languages)
  • Code chat / refactoring
  • Test generation
  • Documentation
  • Fill-in-the-middle (FIM) completions
  • Multi-language support: Python, JavaScript / TypeScript, Java, C / C++, Go, Rust, Ruby, PHP, Bash, SQL, and ~80 others

Codestral is Mistral’s response to the trend of coding-specialised models (alongside Anthropic’s general Claude with coding strength, Google’s Gemini coding variants, OpenAI’s Codex line, DeepSeek-Coder for the Chinese ecosystem).

Key positioning: Codestral is the EU-based coding model. For AUS / EU users wanting GDPR-native AI for code, Codestral is the natural pick.


What you’d use it for

  • Code completion / chat via API in your own tools
  • Self-hosted coding AI via open weights (Codestral Mamba, etc.)
  • EU data-residency for code work
  • Multi-language code generation where Mistral’s broad language coverage is useful
  • Backing IDE plugins (Cursor, Cline, Aider, Codestral plugins) with Mistral’s coding model
  • Cheaper than Claude / GPT for some coding tasks at scale

How to use it

Via Mistral API

  1. Sign up at console.mistral.ai
  2. Get an API key
  3. Use codestral-latest (or specific version) as the model in your API requests
  4. Available via direct Mistral API or via aggregators (OpenRouter, Together AI)

Via open weights

  1. Download from huggingface.co/mistralai
  2. Run with Ollama / LM Studio / vLLM / TGI
  3. Or host on Western inference providers (Together AI, Fireworks AI)

Via Cursor / Cline / Aider

  1. In any of these tools, select Codestral as your model
  2. Provide your Mistral API key
  3. Use as you would Claude / GPT

What it costs

Mistral API (Codestral)

  • Pay-per-token, EUR-denominated
  • Significantly cheaper than Claude Opus / GPT-5 for comparable coding output
  • Example (verify current): ~€0.25/$1.25 per million input/output tokens (approximate; rates change)

Open weights

  • Free to download and run
  • Cost = your hardware electricity + maintenance

Subscription (no direct subscription for Codestral itself)

  • Le Chat Pro €14.99/mo includes some Codestral access via the chat surface

How it compares to alternatives

CapabilityCodestralClaude (general)GPT-5DeepSeek-Coder (avoid direct)
Coding-specialised tuningYesGeneral + strong codingStrong codingCoding-specialised
EU jurisdictionYesUSUSChina ⛔
Open weightsYesNoLimited (gpt-oss separate)Yes (but politically-filtered training)
Cost (API)CheapModerateModerateCheap (but avoid direct)
Multi-language80+100+100+Strong
Available in coding toolsCursor / Cline / AiderEverywhereEverywhereOpen-source clients only (recommended via Western hosts)

For Western-jurisdiction open-weight coding models, Codestral and Llama-coder are the two main choices. Codestral often wins on multi-language coverage; Llama on raw capability at the largest sizes.


Privacy / data handling

  • Mistral API: no training; EU data centres
  • Open weights: completely under your control
  • Le Chat Pro: same as general Mistral Le Chat privacy posture

Recent changes

  • 2026: Codestral Mamba and successor releases
  • 2025: Codestral expanded language support
  • 2024: Initial Codestral launch

Gotchas

  • Codestral and general Mistral models are different — for general chat, use Mistral Large / Magnum; for coding specifically, Codestral
  • API is EUR-billed — foreign-transaction fees on AUS cards (use Wise / Revolut / ANZ Plus to avoid)
  • Open-weight Codestral has license terms — generally Apache 2.0-ish for most variants, but check the specific release; some Mistral commercial models have non-commercial-only open weights
  • Pricing rate-shift over time — verify current rates at mistral.ai/pricing
  • For most everyday IDE use, Claude or GPT via Cursor / Copilot is more polished — Codestral shines for self-hosted or EU-mandated work

See also


Sources