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.

ModelMistral Large 4
VendorMistral AI
Model idmistralai/mistral-large-4-0
Context window1.05M tokens
Price per 1M tokens$0.68 input · $2.09 output (OpenRouter)
Can dotool calling · reads images · reasoning
CategoryReasoning

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-0

Already 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 test

Read more about /derby and /swarm.

Related models

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.