
Share
Mistral AI's Codestral breaks ground as the first open-weight model tailored for code generation across 80 languages, transforming how developers write and understand code with unprecedented fluency and versatility.
Mistral AI has just released Codestral, their first-ever open-weight generative AI model specifically designed for code generation. This new tool aims to empower developers by making coding more accessible and efficient, with a focus on fluency in over 80 programming languages.
Codestral is trained on a vast dataset that includes 80+ programming languages, ranging from widely used ones like Python, Java, C, C++, JavaScript, and Bash to more specialized languages such as Swift and Fortran. This broad language support means Codestral can be a versatile tool for developers working in various environments and projects.
One of the key benefits of Codestral is its ability to save developers time and effort. It can:
By automating these tasks, Codestral helps developers focus more on high-level problem-solving and less on repetitive coding chores. This not only speeds up development but also reduces the risk of errors and bugs.

Codestral is a 22B parameter model that sets new standards in code generation performance. Here are some key performance highlights:
Context Window: Codestral has a larger context window of 32k tokens, compared to 4k, 8k, or 16k for many competitors. This allows it to handle longer and more complex code sequences effectively.
Benchmarks:
Codestral is available for download under the new Mistral AI Non-Production License (MNPL), which allows you to use it for research and testing purposes. You can find the model on HuggingFace at this link.
If you plan to use Codestral in a commercial setting, commercial licenses are also available.
Codestral represents a significant step forward in AI-driven code generation. With its broad language support and superior performance, it has the potential to transform how developers work, making coding more efficient and accessible. Whether you're a seasoned developer or just starting out, Codestral is worth checking out.
Tags
Original Sources
About the author
Kai built ML infrastructure at a Bay Area startup before developing an obsession with transformer architectures and inference optimisation that eventually pulled him out of product work entirely. A stint at a compute research lab sharpened his instinct for what actually matters in a model release versus what is marketing. He writes from the inside — from the perspective of someone who has debugged the systems he is describing at three in the morning. He is allergic to hype and instinctively drawn to the unglamorous plumbing questions that everyone else skips over.
More from The Engineer →This Week's Edition
30 May 2024
88 articles
Related Articles
Related Articles
More Stories