Mistral Code Agent
At a glance
- Price per 1M tokens (input)
- $0.40
- Price per 1M tokens (output)
- $2.00
- Context
- 256,000 tokens
- Free access
- yes (see below)
Refreshed daily; data verified December 3, 2026. Published September 1, 2026, last price change September 18, 2026.
Mistral Code Agent by Mistral AI is built for software development teams that need an AI assistant capable of writing, modifying, and reviewing code within existing workflows. It suits tasks such as generating code snippets, debugging errors, refactoring legacy files, and navigating large codebases. What sets Mistral AI apart is its focus on open-weight models and flexible deployment options, giving teams more control over how the model is hosted and integrated.
Specifications & pricing
| Input (per 1M tokens) | $0.40 |
|---|---|
| Output (per 1M tokens) | $2.00 |
| Cache read (per 1M tokens) | $0.04 |
| Context window | 256,000 tokens |
| Max output | 256,000 tokens |
| Capabilities | tool calling, reasoning |
LiteLLM community dataset (MIT), verified December 3, 2026. Official Mistral AI pricing.
What Mistral Code Agent would cost on your workload — run it through the cost calculator →
Price history
| Date | Input / 1M | Output / 1M |
|---|---|---|
| August 30, 2026 (first record) | $0.40 | $2.00 |
| September 18, 2026 | $0.40 | $2.00 |
Where to try Mistral Code Agent for free
- Mistral AI offers a free chat — Le Chat (free plan). A vendor's free chat may run a different model from the same family — the exact model is not guaranteed.
Frequently asked questions
What is this model good for?+
It is designed for coding work, including generating functions, explaining unfamiliar code, finding bugs, and suggesting refactors. It supports tool calling, which lets the model interact with external systems such as code editors or terminals to complete multi-step tasks.
How do I get started?+
Access the model through Mistral AI's platform or deploy it in your own environment using the available weights. You will need an API key or a compatible inference stack, then you can send prompts and define the tools the model may use.
How does it differ from other Mistral models?+
While general Mistral models handle a broad range of language tasks, this variant is tuned specifically for software engineering and agentic workflows. It prioritizes code understanding and the ability to chain reasoning steps with tool use.
What are its limitations?+
It may produce incorrect code or suggest outdated library usage, so human review is necessary. It does not replace testing, version control, or security review, and complex projects still require developer oversight.
Compare with others

Org chart: how to move your company onto AI
A practical map: which company roles and processes AI agents can take over, where to start, and in what order to roll it out.