Codestral 2 (Mistral) Pricing
All plans and pricing as of 2026-04-18
Open weights (Apache 2.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
Mistral La Plateforme (hosted API)
- ✓Pay-as-you-go API access
- ✓FIM (fill-in-middle) endpoint for IDE autocomplete
- ✓Chat + completion endpoints
- ✓Consistent with Mistral Small/Medium tier pricing
Self-hosted (Hardware)
- ✓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
Is Codestral 2 (Mistral) Worth the Price?
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
| Tool | Free Tier | Starting Price | Value Score | Overall |
|---|---|---|---|---|
| Codestral 2 (Mistral)(this tool) | Yes | $0 | 9/10 | 7.5 |
| GitHub Copilot | Yes | $0 | 8/10 | 8.3 |
| Cursor | Yes | $0 | 8/10 | 8.3 |
| Codex (OpenAI) | Yes | $0 | 8/10 | 8.3 |
| Google Antigravity | Yes | $0 | 6/10 | 8.0 |
| Claude Code | No | $20/month | 7/10 | 7.8 |