Sulat.com
AI models
DevPass (LLM Gateway) logo

Model details

Codestral

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.

DevPass (LLM Gateway)codestral-2508mistral

Quick Info

Powered by
Provider
DevPass (LLM Gateway)
Model key
codestral-2508
Release date
Jul 30, 2025
Last updated
Jul 30, 2025
Input modalities
Output modalities
Capabilities

Cost

Input token cost
$0.30
Output token cost
$0.90

Limits

Output tokens
16,384 tokens
Context window
256,000 tokens

Transparent token rates

Compare mistral pricing

Rates are shown per one million tokens. Combined means one million input plus one million output tokens.

Browse this family

Latest news about Codestral

LLM Gateway

Coverage

Codestral-2508 also brings improvements to chat mode: Instruction ... The agent also writes a changelog and updates the README section on error ...

Videos about Codestral

More models around Codestral