Codestral 2 (Mistral) logo

Codestral 2 (Mistral) Pricing

All plans and pricing as of 2026-04-18

Free tier available3 plansExcellent value score (9/10)

Open weights (Apache 2.0)

$0
  • 22B dense model on Hugging Face
  • Commercial use allowed (new in Codestral 2; original Codestral required Mistral Non-Production license)
  • Self-host on your own infrastructure
  • Fine-tune without license fees
Start Free
Most Popular

Mistral La Plateforme (hosted API)

$0.30 / $0.90/per 1M tokens (input/output)
  • Pay-as-you-go API access
  • FIM (fill-in-middle) endpoint for IDE autocomplete
  • Chat + completion endpoints
  • Consistent with Mistral Small/Medium tier pricing
Get Mistral La Plateforme (hosted API)

Self-hosted (Hardware)

Hardware only
  • Min: 48 GB VRAM (1x RTX 6000 Ada or 2x RTX 3090 with tensor parallelism)
  • Mid: 1x H100 80GB for production throughput
  • Max: 2x H100 for batched serving + low latency
  • Quantized (GGUF Q4_K_M) runs on a 24GB card for experimentation
Get Self-hosted (Hardware)

Is Codestral 2 (Mistral) Worth the Price?

S

Value Score: 9/10

Overall Score: 7.5/10 · Developers and teams who want a legally-clean open-weights code model they can self-host OR hit via API, particularly those with EU data-residency requirements. Ideal for building in-house IDE extensions, code-review bots, or CI/CD AI integrations where the Apache 2.0 license removes procurement friction.

Codestral 2's Apache 2.0 relicensing is the biggest licensing unlock in open-source coding models since Meta released Llama 2 commercially. The model itself is solid-not-frontier (22B dense, fast, predictable), but the license change is what matters -- teams that couldn't touch the original Codestral because of commercial restrictions can now ship it in products. For IDE-style inline autocomplete on owned infrastructure, or for EU-data-residency use cases, this is now a first-tier option. For agentic or frontier coding work, keep using Claude Opus 4.7 via Claude Code or Composer 2 in Cursor.

How Codestral 2 (Mistral) Pricing Compares

ToolFree TierStarting PriceValue ScoreOverall
Codestral 2 (Mistral)(this tool)Yes$09/107.5
GitHub CopilotYes$08/108.3
CursorYes$08/108.3
Codex (OpenAI)Yes$08/108.3
Google AntigravityYes$06/108.0
Claude CodeNo$20/month7/107.8