Mistral Large 4 is the flagship model of Paris-based Mistral AI and, at roughly 1.05 trillion parameters, the largest model the company has ever released. Mistral calls it “Le Chonk” (or, “unofficially”, ML4) and pitches it with the line “Built for Coders, Trusted by Defenders”: an open-weight, natively multimodal Mixture-of-Experts model tuned for agentic software engineering and defensive cybersecurity, trained from scratch in Mistral’s own European data centers. It matters for two reasons. It puts a European lab’s open weights in the same trillion-parameter class as DeepSeek V4 and Kimi K3, and it is unusually explicit about a security posture: it is meant to help defenders reproduce and patch vulnerabilities, where several closed frontier models refuse outright.
At a glance
| Mistral Large 4 | |
|---|---|
| Developer | Mistral AI |
| Public preview | October 6, 2026 (API, with 50% launch pricing for two weeks) |
| Open weights | October 29, 2026 (same day as vLLM’s day-0 support) |
| Total / active parameters | ~1.05T total / 52B active per token (about 49B excluding embeddings and output layers) |
| Architecture | Sparse MoE (128 routed experts, top-4, plus 1 shared expert) with MLA and a sparse-attention indexer |
| Modalities | Text and images in, text out (1.6B-parameter Pixtral-style vision encoder) |
| Context window | 1M tokens |
| Reasoning | Always on; reasoning_effort = low, medium, or high (default high) |
| License | Mistral Ecosystem Open-Weight License v26.10 (modified MIT) |
| API IDs | mistral-large-4, mistral-large-4-0 |
| API price | $0.70 per 1M input tokens, $0.07 cached input, $2.10 output |
| Weights | mistralai/Mistral-Large-4-1T-A52B (FP8), mistralai/Mistral-Large-4-1T-A52B-NVFP4 |
Architecture
Mistral held back architecture details at preview time, promising them later; the published checkpoint and vLLM’s day-0 integration blog now spell them out. The design borrows heavily from the efficiency playbook that DeepSeek popularized, then stacks several of Mistral’s own long-context tricks on top.
flowchart TB
IN[Text tokens + image patches]:::data --> VE[Pixtral-style vision encoder<br/>1.6B params, patch 14]:::process
IN --> EMB[Token embeddings]:::process
VE --> EMB
EMB --> L0[Layer 0: dense FFN]:::default
L0 --> STACK
subgraph STACK[Layers 1 to 71]
direction LR
ATT[MLA attention<br/>KV latent rank 512<br/>+ DSA sparse indexer, top-k 2048]:::default --> MOE[MoE FFN<br/>128 routed experts, top-4<br/>+ 1 shared expert]:::default
end
STACK --> HEAD[Output head<br/>logit soft-cap 30]:::output
STACK -.-> DS[DSpark drafter<br/>3 MLA draft layers]:::data
DS -.->|~2.9 accepted tokens per step| HEAD
classDef default fill:#ffffff,stroke:#4338CA,stroke-width:2px,color:#0F172A,rx:8px,ry:8px;
classDef data fill:#EEF0F7,stroke:#0D9488,stroke-width:2px,color:#0F172A,rx:8px,ry:8px;
classDef process fill:#F7F8FC,stroke:#6366F1,stroke-width:2px,color:#0F172A,rx:8px,ry:8px;
classDef output fill:#4338CA,stroke:#4338CA,stroke-width:2px,color:#ffffff,rx:8px,ry:8px;
Sparse Mixture-of-Experts
The model has 72 decoder layers with a hidden size of 6,144 and 64 attention heads. Layer 0 is a plain dense layer; every layer after it is an MoE layer with 128 routed experts, of which the router picks 4 per token, plus one shared expert that every token always passes through. Only about 3% of the routed expert pool fires for any token, which is how a 1-trillion-parameter model runs with the per-token compute of a ~50B dense model. The shared expert is a now-standard trick (also used by DeepSeek and GLM) that gives common knowledge a fixed home so the routed experts can specialize.
Attention built for a million tokens
At 1M tokens of context, attention and its KV cache dominate cost, and Mistral Large 4 attacks both:
- Multi-head Latent Attention (MLA). Keys and values are compressed into a shared low-rank latent (rank 512) plus a small 64-dimensional RoPE component, so the cache stores one compact vector per token per layer instead of full per-head K and V.
- A DSA-style sparse indexer. A lightweight indexer with 32 heads scores the context and selects the top 2,048 positions for each query to attend to, so attention cost stops growing with the full context length. Only 44 layers compute their own indexer; the other 28 reuse the selection of the nearest earlier indexer layer, an idea similar to GLM-5.2’s IndexShare.
- Cross-layer KV sharing. Nine late layers (39, 43, and so on up to 71) read layer 35’s latent cache instead of writing their own, so only 63 of 72 layers own a cache. With vLLM’s default
fp8_ds_mlacache format, the whole model needs about 47 KB of KV cache per token, so a full 1M-token context fits in roughly 47 GB. - Position handling. YaRN plus LeRoPE scaling for rotary embeddings, every fourth layer uses no positional encoding at all (NoPE), and SSMax query scaling keeps attention from going flat over very long sequences.
Built-in speculative decoding: DSpark
Instead of relying on a separate draft model or bolt-on EAGLE heads, the checkpoint ships its own drafter, DSpark: three sliding-window MLA layers (2,048-token window) with a gated recurrent head, tapping hidden states from five depths of the main model. vLLM reports about 2.9 accepted draft tokens per step and roughly 2x output throughput at tensor-parallel size 8. Because the drafter is in the weights, speculative decoding is a one-flag opt-in rather than a separate training project.
Training
Mistral says the model was trained from scratch on 3,800 NVIDIA Grace Blackwell GPUs in its own European data centers, on data spanning more than 160 languages including every official EU language. Post-training combined supervised fine-tuning with large-scale reinforcement learning using the same RL environment Mistral sells to customers as Mistral Forge; the preview post describes an asynchronous RL setup on about 3,000 GPUs generating around 33 billion tokens a day, roughly 16 billion of them trainable completion tokens. The open-weights release came after “just three weeks of additional reinforcement learning” on top of the preview checkpoint, aimed mainly at coding, defensive cybersecurity, and reasoning efficiency (fewer tokens per solved task).
Benchmarks
All figures below are self-reported by Mistral; independent evaluations were still arriving at the time of writing. The jump between preview and final weights is the most interesting part, because it isolates what three weeks of extra RL bought.
| Benchmark | Preview (Oct 6) | Open weights (Oct 29) | What Mistral compares against |
|---|---|---|---|
| Terminal-Bench 4.0 | 28.3% | 41% (with ~30% fewer output tokens) | Self, preview |
| Artificial Analysis Coding Agent Index | 49.8% (Mistral’s combined coding-agent index) | 48% | “Effectively tied” with GLM-5.3, using 47% fewer tokens per task |
| FrontierCode 2.0 (Cognition, private) | n/a | 19.7% | Leads GLM-5.3, Kimi K3, DeepSeek V4.1 Flash |
| Finch (finance workflows) | 67.4% | 73.3% | Second only to Kimi K3 among open models |
| BrowseComp | n/a | 84.5% | Up from 75% at the SFT checkpoint |
| Artificial Analysis Cyber Index | ”top five globally” | 51% | n/a |
| Lakera B3 agent security (attack resistance) | 93.3% | 97.1% | Self, preview |
| Refusal of malicious cyber requests | n/a | 96.6% | “Highest we measure among open models” |
At preview, Mistral also reported DeepSWE v1.1 at 61.7%, SWE-Atlas-QnA at 59.4%, 59.9% on AutomationBench’s 657 business workflows, and 93% on the 40 Cybench exercises. In blind human preference testing for coding (Surge), the final model was preferred over GLM-5.3, Kimi K3, and DeepSeek V4.1 Flash and trailed only Claude Opus 5.5.
How it compares to other trillion-class open models
| Model | Total params | Active per token | Expert routing | Context |
|---|---|---|---|---|
| Mistral Large 4 | ~1.05T | 52B | 4 of 128 routed + 1 shared | 1M |
| DeepSeek V4 Pro | 1.6T | 49B | MoE | 1M |
| Kimi K3 | 2.8T | n/a | 16 of 896 | 1M |
| GLM-5.2 | ~753B | ~40B | MoE + shared expert | 1M |
Mistral Large 4 is not the biggest by total parameters, but it activates the most per token of the models with published figures, and its routing (4 of 128 experts) is far less sparse than Kimi K3’s 16 of 896.
Reasoning effort
Mistral Large 4 always reasons before answering; there is no non-thinking mode. What you control is how much. The October 29 changelog made reasoning_effort accept low, medium, or high, removed the old none option (it now returns HTTP 400), and set high as the default. In practice, low suits routing, extraction, and quick tool calls; high is for multi-step debugging or security analysis where you would rather pay for tokens than for a wrong answer.
# Scenario: a triage service that calls Mistral's hosted API. Cheap requests use
# low effort; anything flagged as security-relevant gets high effort.
import os, requests
def ask_mistral(prompt: str, effort: str) -> str:
r = requests.post(
"https://api.mistral.ai/v1/chat/completions",
headers={"Authorization": f"Bearer {os.environ['MISTRAL_API_KEY']}"},
json={
"model": "mistral-large-4",
"messages": [{"role": "user", "content": prompt}],
"reasoning_effort": effort, # "low" | "medium" | "high"
},
timeout=300,
)
r.raise_for_status()
return r.json()["choices"][0]["message"]["content"]
ticket = "Login page returns 500 when the username contains a single quote."
effort = "high" if "quote" in ticket or "inject" in ticket else "low"
print(ask_mistral(f"Triage this bug report and suggest a root cause:\n{ticket}", effort))
Structured output works the same way through any OpenAI-compatible server. The model card’s own examples use strict JSON schemas with medium effort:
# Scenario: extracting fields from vendor security advisories into a database,
# where a malformed record would break the downstream pipeline.
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
schema = {
"type": "object",
"properties": {
"cve_id": {"type": "string"},
"severity": {"type": "string", "enum": ["low", "medium", "high", "critical"]},
"affected_versions": {"type": "array", "items": {"type": "string"}},
"patched_in": {"type": "string"},
},
"required": ["cve_id", "severity", "affected_versions", "patched_in"],
"additionalProperties": False,
}
resp = client.chat.completions.create(
model=client.models.list().data[0].id,
messages=[{"role": "user", "content": "Extract the fields:\n" + advisory_text}],
reasoning_effort="medium",
response_format={"type": "json_schema",
"json_schema": {"name": "advisory", "schema": schema, "strict": True}},
max_completion_tokens=16384,
)
record = resp.choices[0].message.content # guaranteed to match the schema
Running it yourself
Open weights do not mean laptop-friendly. Mistral publishes an FP8 checkpoint (block-scaled weights) and an NVFP4 checkpoint aimed at Blackwell GPUs (4-bit experts, FP8 attention and shared experts); AMD publishes an MXFP4 build that serves on four MI350-series GPUs, and community GGUF builds exist for llama.cpp. Mistral recommends vLLM or SGLang, both of which had day-0 support with dedicated Docker images.
# Scenario: a self-hosted deployment for a company that cannot send code off-site.
# FP8 checkpoint on one 8-GPU node, with the built-in DSpark drafter enabled
vllm serve mistralai/Mistral-Large-4-1T-A52B \
--tensor-parallel-size 8 \
--speculative-config '{"method": "dspark", "num_speculative_tokens": 3}' \
--tool-call-parser mistral --enable-auto-tool-choice \
--reasoning-parser mistral
# NVFP4 checkpoint on 4 Blackwell GPUs
vllm serve mistralai/Mistral-Large-4-1T-A52B-NVFP4 \
--tensor-parallel-size 4 \
--speculative-config '{"method": "dspark", "num_speculative_tokens": 3}' \
--tool-call-parser mistral --enable-auto-tool-choice \
--reasoning-parser mistral
# For very long contexts, add --decode-context-parallel-size 8 to spread the KV cache.
# SGLang equivalent
sglang serve --model-path mistralai/Mistral-Large-4-1T-A52B --tp-size 8 \
--mem-fraction-static 0.85 --speculative-algorithm DSPARK \
--max-running-requests 64 --reasoning-parser auto --tool-call-parser auto
The model card’s advice when memory is tight is to lower --max-model-len and/or --max-num-seqs. That is the real planning question for a model this size: after the weights are loaded, whatever GPU memory is left becomes KV cache, and the KV cache decides how many users you can continuously batch and how long their contexts can be.
Interactive: will it fit?
Two things jump out once you play with it. First, the FP8 checkpoint is borderline even on eight 141 GB H200s, which is why the 4-bit builds matter so much for anyone outside a Blackwell or MI350 cluster. Second, MLA and KV sharing make the cache small per token, but at 1M tokens a single request still needs about 47 GB, so a full-context session costs about as much memory as dozens of ordinary chats.
Images and tools
Images go in as ordinary OpenAI-style content parts, and tool calls come back through the mistral tool parser:
# Scenario: an incident bot that reads a screenshot of a monitoring dashboard and
# decides whether to page someone, using a tool to fetch the runbook.
import base64
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
img = base64.b64encode(open("grafana.png", "rb").read()).decode()
tools = [{
"type": "function",
"function": {
"name": "get_runbook",
"description": "Fetch the on-call runbook for a named service.",
"parameters": {"type": "object", "properties": {"service": {"type": "string"}},
"required": ["service"]},
},
}]
resp = client.chat.completions.create(
model=client.models.list().data[0].id,
messages=[{"role": "user", "content": [
{"type": "text", "text": "Which service is unhealthy here? Get its runbook."},
{"type": "image_url", "image_url": {"url": f"data:image/png;base64,{img}"}},
]}],
tools=tools, tool_choice="auto",
reasoning_effort="high",
)
print(resp.choices[0].message.tool_calls) # e.g. get_runbook(service="checkout-api")
License
The weights ship under the Mistral Ecosystem Open-Weight License (v26.10), which Mistral describes as a modified MIT license. You can use, modify, fine-tune, and commercialize the model freely, including inside your own products. The one carve-out: a business that offers the model itself as a service (a Model-as-a-Service provider reselling inference) needs a separate commercial license from Mistral. That is more restrictive than the plain MIT terms of DeepSeek V4 and GLM-5.2, but far looser than a research-only license, and it matters mostly to inference hosts rather than to enterprises deploying for their own use.
A cybersecurity-first posture
Mistral leans into security harder than any other open-weight lab. The preview post noted that on its reproduce-and-patch vulnerability test the model scored 82%, while some closed frontier models scored near zero because they refused the task. At the same time, Mistral says it red-teamed the model with cybersecurity firms, vetted partners, and state authorities, reports a 96.6% refusal rate on malicious cyber requests, and is adjusting guardrails after seeing the model refuse black-box attack tasks. A specialized, access-restricted cyber variant was also mentioned for Orange Cyberdefense. The bet is that defenders need a capable model they can run on their own infrastructure, without sending exploit details to a third-party API, which ties directly into the sovereign AI argument Mistral has long made.
What’s New (2025–2026)
- October 6, 2026: Public preview on the Mistral API and Studio, with 50% launch pricing for two weeks and a promise that weights would follow by month’s end.
- October 29, 2026: Open weights published on Hugging Face (FP8 and NVFP4), with day-0 support in vLLM and SGLang, NVIDIA NIM, TensorRT-LLM, and NeMo AutoModel. The same day, the API’s
reasoning_effortbecamelow/medium/highwithhighas default, andnonewas removed. - Hosted and quantized options: Beyond Mistral’s API and Studio, the model is available through OpenRouter, NVIDIA-hosted endpoints, Microsoft Foundry, and Mistral’s Vibe coding tool; AMD published an MXFP4 build for MI350-series GPUs, and community GGUF quantizations exist for llama.cpp.
- Context: Mistral Large 4 lands in a crowded late-2026 field of open trillion-scale MoE models (DeepSeek V4, Kimi K3, GLM-5.2 and its successors). Its differentiators are a European training stack, native multimodality, a built-in speculative drafter, and an explicit defensive-security focus rather than raw parameter count.
How to Use: Call a self-hosted Mistral Large 4 with a chosen reasoning effort
# Scenario: an internal code-review bot running against your own vLLM server.
# Start the server first (8 GPUs, FP8 checkpoint):
# vllm serve mistralai/Mistral-Large-4-1T-A52B \
# --tensor-parallel-size 8 \
# --tool-call-parser mistral --enable-auto-tool-choice \
# --reasoning-parser mistral
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
model = client.models.list().data[0].id
resp = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": "Review this diff for injection bugs:\n" + open("pr.diff").read()}],
reasoning_effort="medium", # "low" | "medium" | "high" (default "high")
temperature=1.0, # Mistral's recommended sampling settings
top_p=0.95,
max_completion_tokens=4096,
)
print("thinking:", resp.choices[0].message.reasoning[:300])
print("answer:", resp.choices[0].message.content)
Ready to build?
Leverage AI technologies to build your product stack
Superteams can help you build, deploy and launch AI application stacks using open source technologies — from architecture through to production.
Talk to Superteams