Skip to content

Pick your style: Denkbaar

Book a conversation

Articles

History

Codestral: Mistral's first code model

·

Mistral AI releases Codestral, a 22B model for code, under a licence for non-production use.

A developer views purple blocks among code bars on a laptop beside a server and a folder.
Codestral creates code, but business use needs a suitable licence. Illustration: Denkbaar.

On 29 May 2024, Mistral AI releases Codestral, a model made for code.

What happened

  • Codestral has 22 billion parameters and is trained on more than 80 programming languages.
  • It can fill in code in the middle of a file (fill-in-the-middle), complete functions and write tests.
  • The context window is 32,000 tokens.
  • The weights are open, under the new Mistral AI Non-Production License: for research and testing. For business use, you ask for a commercial licence.
A purple block fills a gap between rows of bars, beside green test boxes.
Codestral can fill code in the middle of a file and write tests. Illustration: Denkbaar.

Why it mattered

A code model that you can run yourself helps when your code may not leave your company. But “open weights” is not the same as open source here.

Hands open a folder beside a model block and a loose cable.
Arrange the licence before the model enters your daily work. Illustration: Denkbaar.

What you can do with it now

Use such a model for tests first. Arrange the licence before it goes into your daily work.

Written afterwards on 12 November 2026, from the source below.

Sources

  1. Mistral AI: Codestral

Topics: modelsmistralcoding