Codestral

Mistral's code-generation model

Paris, France · Founded 2023 · Freemium
A European alternative to Cursor Tabnine GitHub Copilot Codeium

About Codestral

Codestral is the code-generation model family from French AI lab Mistral AI, headquartered in Paris. The flagship 22B-parameter model is trained on 80+ programming languages including Python, Java, C, C++, JavaScript and Bash, and supports code completion, fill-in-the-middle, test generation and chat over a 32K-token context (up to 256K in Codestral 25.08), with a single endpoint covering both instruct and completion. It plugs into VS Code and JetBrains via Continue.dev and Tabnine and into LlamaIndex and LangChain for agents. Weights are released under the Mistral AI Non-Production Licence (commercial licences on demand); API pricing is around USD 0.30 per million input and USD 0.90 per million output tokens.

Quick facts

Pricing model Freemium
Free trial
Open source Yes
Self-hostable Yes
Public API No
Target audience B2B
Company size fit All
DPA available Yes
Data stored in EU Yes
Last verified by eubuilt.eu on 26 Apr 2026 — re-checks every 6 months Flag listing → Read our criteria →