Mistral Large 4 as a coding agent in your terminal
Mistral Large 4 by Mistral AI, one of 250+ models you can use in Darce, the open source AI coding agent you can undo.
| Model | Mistral Large 4 |
|---|---|
| Vendor | Mistral AI |
| Model id | mistralai/mistral-large-4-0 |
| Context window | 1.05M tokens |
| Price per 1M tokens | $0.68 input · $2.09 output (OpenRouter) |
| Can do | tool calling · reads images · reasoning |
| Category | Reasoning |
Strengths
Mistral's flagship Large 4 model with a 1M token context.
OpenRouter's description:
Mistral Large 4 is a frontier multimodal (text and image input) model from Mistral AI built for reasoning, coding, and agentic workloads. It offers a 1M-token context window with up...
Use Mistral Large 4 as a coding agent in your terminal
Start Darce in your project with Mistral Large 4:
npm install -g darce-cli
darce --model mistralai/mistral-large-4-0Already in a session? Type /model mistralai/mistral-large-4-0, or open the picker with Ctrl+P. Darce then reads your code, edits files and runs commands with Mistral Large 4; risky commands ask first, and /undo reverses any change, including what shell commands did. No account yet? npx darce-cli lets you try it free. Which plan includes which models is on the pricing page.
Make it your default or a gear
In ~/.darcerc, set it as the starting model or add it to the gears you move between with Shift+↑ / Shift+↓ (see configuration):
{
"router": { "default": "mistralai/mistral-large-4-0" },
"gears": ["qwen/qwen3-coder", "mistralai/mistral-large-4-0"]
}Compare it on your own code
Benchmarks rarely match your repository. Race Mistral Large 4 against two other models on a real task and keep the best diff:
/derby --models mistralai/mistral-large-4-0,mistralai/devstral-2512,mistralai/codestral-2508 fix the failing testRead more about /derby and /swarm.
Related models
- Devstral 2 2512 (Mistral AI): 262k tokens, $0.40 / $2.00 per 1M tokens
- Codestral 2508 (Mistral AI): 256k tokens, $0.30 / $0.90 per 1M tokens
- Claude Opus 5.5 (Anthropic): 1M tokens, $4.00 / $20.00 per 1M tokens
- Claude Fable 5.1 (Anthropic): 1M tokens, $10.00 / $50.00 per 1M tokens
- Claude Opus 5 (Anthropic): 1M tokens, $5.00 / $25.00 per 1M tokens
- GPT-6 Sol (OpenAI): 1.05M tokens, $2.00 / $10.00 per 1M tokens
All models · Getting started · Claude Code alternative
Model data from OpenRouter, refreshed daily. Prices are OpenRouter's list rates and show relative cost; your Darce allowance is used in proportion to them.