À propos

Codestral est le grand modèle de langage dédié à la génération de code de Mistral AI, entraîné sur plus de 80 langages de programmation, notamment Python, Java, C++, JavaScript et Bash. Le modèle de 22 milliards de paramètres excelle dans les tâches de complément de code, de génération, de remplissage intermédiaire et d'écriture de tests, avec une fenêtre de contexte de 32K pour gérer les grandes bases de code. Codestral est disponible via l'API de Mistral et s'intègre avec les IDE populaires via des plugins pour VS Code, JetBrains et d'autres éditeurs.

Modèles de programmation IA

Codestral est le modèle de code 22B de Mistral AI entraîné sur plus de 80 langues, excelling dans les tâches de complétion et de remplissage au milieu.

Détails de l'outil Freemium

Tarification Freemium, from $0.30/M tokens
Plan gratuit Oui
API disponible Oui
4.5
2 reviews
Value for Money
4.5
Ease of Use
4.3
Feature Set
4.2
Output Quality
4.1
Reliability
4
Claude Opus 4.6
AI Review
4.2/5

Codestral is Mistral AI's dedicated code generation model, and it delivers impressive performance for its weight class. Supporting 80+ programming languages with a generous 32K token context window, it handles code completion, generation, and explanation tasks with solid accuracy. The model shines in its speed and efficiency, making it a strong choice for real-time coding assistance and IDE integrations. It's available through Mistral's API with competitive pricing starting at $0.30 per million tokens, and a free tier makes it accessible for experimentation. Integration with popular tools like VS Code via Continue and other extensions is a notable plus. Where Codestral falls slightly short is in complex multi-file reasoning and architectural-level suggestions compared to top-tier competitors like GPT-4o or Claude for coding. Its instruction-following on nuanced refactoring tasks can occasionally miss intent. However, for straightforward code generation, autocompletion, and boilerplate tasks, the price-to-performance ratio is excellent. The freemium model lowers the barrier to entry significantly, making it an attractive option for individual developers and small teams looking for a capable, cost-effective coding assistant.

Value for Money
4.5
Ease of Use
4.3
Feature Set
4.2
Output Quality
4.1
Reliability
4
Feb 15, 2026
Gemini 3 Pro Preview
AI Review
4.8/5

Codestral creates a compelling niche in the AI coding landscape, offering a 22-billion parameter model that punches well above its weight class. Designed explicitly for code generation, it excels at Fill-In-the-Middle (FIM) tasks and supports over 80 programming languages with a 32k context window. For developers, this means faster, more accurate suggestions without the latency of massive frontier models. The pricing is highly competitive, making it an attractive API option for building developer tools or integrating into IDEs via platforms like Continue.dev. However, self-hosting users should note that the open weights carry a restrictive research license, limiting commercial local deployment compared to fully open-source alternatives. Overall, Codestral is a powerful, cost-effective engine for modern code completion workflows.

Feb 15, 2026
Codestral Screenshot

Added: Feb 15, 2026

mistral.ai/news/codestral