Skip to main content

What models power Mistral Code?

Updated this week

Mistral Code leverages specialized, high-performance models from Mistral AI to provide its advanced coding assistance features.

The choice of model is tailored to the specific task being performed by the extension.

Core models used by Mistral Code

Code completions

Mistral Code primarily uses Codestral for its sophisticated FIM capabilities.

Codestral is Mistral AI's specialized code model, specifically designed and optimized for code generation tasks, including infilling code, completing code blocks, and understanding programming languages deeply.

πŸ”Ž Learn more about Codestral and its capabilities on the Mistral AI Blog.

Chat completions

For conversational interactions, code explanation, generating code from descriptions, refactoring suggestions, and other chat-based assistance, Mistral Code utilizes our latest powerful and versatile model Mistral Medium 3.

Mistral Medium 3 is designed for a wide range of complex reasoning and generation tasks, making it well suited for understanding developer queries and providing helpful, context-aware responses.

πŸ”Ž Discover more about Mistral Medium 3 on the Mistral AI Blog.

Using custom models

πŸ“Œ Currently, there is no option to select or use custom fine-tuned models directly within the Mistral Code extension or plugin. The extension is optimized to use the specific Mistral AI models mentioned above to ensure the best performance and integration for its features.

By employing these specialized models, Mistral Code aims to deliver a high-quality, responsive, and intelligent coding assistance experience.

Did this answer your question?