LLM Gateway
Codestral-2508 also brings improvements to chat mode: Instruction ... The agent also writes a changelog and updates the README section on error ...
Model details
Codestral is Mistral AI's dedicated code generation model built around a 22-billion parameter architecture and a fill-in-the-middle mechanism that lets developers complete partial code mid-function rather than just appending completions at the end of a file. Trained on over 80 programming languages ranging from mainstream Python and Java to specialized languages like Swift and Fortran, the model was designed to assist developers across a wide spectrum of coding environments and project types. Its longer 32k context window, benchmarked against competitors limited to 8k or 16k, proved decisive on RepoBench—a long-range evaluation for code generation—where Codestral outperformed all other models in the performance/latency space. Combined with strong results on HumanEval and MBPP benchmarks, the model was engineered to reduce errors, streamline workflow, and serve as a practical coding partner across software development cycles.
The July 2025 release of Codestral 25.08 expanded this foundation into a comprehensive enterprise coding stack, addressing deployment constraints that had slowed AI coding adoption in regulated industries like finance, healthcare, and defense. By making the model available with open weights, Mistral AI enabled organizations to deploy it within VPC, on-premises, or air-gapped environments—removing the SaaS-only limitation that blocked many enterprise teams. This capability also opened the door to custom post-training on internal codebases and development conventions. The subsequent launch of Mistral Code in June 2025 bundled Codestral into a fully supported IDE assistant for JetBrains and VSCode, reinforcing it with enterprise governance tooling built on the open-source Continue project. Today, the model sits at the center of Mistral's integrated coding platform, designed for developers who need frontier-grade code generation with the deployment flexibility and observability that large organizations require.
Transparent token rates
Rates are shown per one million tokens. Combined means one million input plus one million output tokens.
LLM Gateway
Codestral-2508 also brings improvements to chat mode: Instruction ... The agent also writes a changelog and updates the README section on error ...