Mistral-Large-4-1T-A52B

模型发布 Hugging Face 模型 · mistralai 原文语言:中文

官方机构模型仓库创建于 2026-10-01。仓库创建时间不等于正式发布日期。任务类型:image-text-to-text

全文

Mistral Large 4 - Le Chonk

Mistral Large 4 is our largest and most capable model to date: a 1 trillion-parameter natively multimodal Mixture-of-Experts model with 49 billion active parameters per token (52 billion including embeddings and output layers), trained from scratch on 3,800 NVIDIA Grace Blackwell GPUs in Mistral's own datacenters in Europe.

Mistral Large 4 unifies instruction following, reasoning, coding, and agentic workflows in a single set of weights. While a generalist model, it shows especially good performance on workloads such as cybersecurity, finance, and law, and it surpasses frontier closed models on visual grounding. It is natively fluent in 160+ languages, including every official language of the European Union.

Find more information on our blog and our technical report. The model is also served on the Mistral API as mistral-large-4.

[!Note] The checkpoint ships with an embedded DSpark speculative decoding draft head — see Speculative decoding (DSpark).

[!Note] A quantized NVFP4 checkpoint is also available, with a smaller memory footprint, faster inference and same performance. It targets Blackwell GPUs and supports vLLM and SGLang.

Key Features

Mistral Large 4 includes the following architectural choices:

~1T total / ~52B active parameters: granular Mixture-of-Experts with 128 routed experts (4 active per token) and 1 shared expert. 1M context length, for long-context workloads. Multimodal input: accepts text and image input, with text output. Pixtral-style vision encoder trained to handle variable image sizes and aspect ratios. Instruct and Reasoning functionalities with function calls, reasoning effort configurable per request.

Mistral Large 4 offers the following capabilities:

Reasoning Mode: three reasoning efforts — low, medium, high (default) — so the same model can answer a quick chat reply or work through a complex agentic run. Vision: analyzes images, charts, technical drawings, and documents, with state-of-the-art visual grounding among open weights. Multilingual: natively fluent in 160+ languages, including all official languages of the European Union. System Prompt: strong adherence and support for system prompts. Agentic: native function calling, JSON output, and strict JSON schema enforcement. Cybersecurity: state of the art among open-weight models for security work, while refusing malicious requests. Large Context Window: supports a 1M context window.

We release this model under the Mistral Ecosystem Open-Weight License: a modified version of the MIT license, for both commercial and non-commercial use — operating a Model-as-a-Service business requires a separate commercial license with Mistral.

Recommended Settings

Reasoning Effort: 'low' / 'medium' / 'high' — default is 'high'. Use reasoning_effort="high" for complex prompts and agentic usage, 'low' for fast chat replies and 'medium' for day to day usage. Sampling: for all reasoning efforts, we recommend the following sampling parameters: temperature=1.0 top_p=0.95 System Prompt: define a clear environment and use case, including guidance on how to effectively leverage tools in agentic systems. Tools: keep the set of tools well-defined and limit their number to the minimum required for the use case. Context: the checkpoint supports a 1M context window.

Benchmarks

We compared Mistral Large 4 with recent open-weight models. We report results on agentic coding and global intelligence here; for more benchmarks, especially on cybersecurity, finance and law, see our blog post.

Agentic Coding

Mistral Large 4 delivers frontier coding performance with significantly fewer tokens, making sophisticated coding agents more economical to run at scale.

On the Artificial Analysis Coding Agent Index, ML4 scores 48%, effectively tied with the leading open-weight model, GLM-5.3, while using 47% fewer tokens per task on average.

Global Intelligence

On the Artificial Analysis Intelligence Index v5, Mistral Large 4 scores 26, the highest among western open-weight models. The leading open-weight models from China score higher on this aggregate index, but Mistral Large 4 is particularly strong on coding and cybersecurity, as shown in our blog post.

Demo Gallery

Le Chonk Gallery is a live gallery of demo Spaces built with Mistral Large 4, from us and from the community: coding, vision and grounding, tool calls, JSON schema, multilingual, and more. Any Space tagged Le_chonk appears there.

Official demos run on the Mistral API with a small shared free budget per visitor for the first week of the release, so you can try the model without paying. You can also use your own Mistral API key.

To build a demo, we recommend Mistral Vibe, our coding agent powered by Mistral Large 4.

Usage

You can find Mistral Large 4 support on multiple libraries for inference and fine-tuning.

We thank all the ecosystem folks who helped us throughout this release to integrate Le Chonk into their frameworks.

The model can be deployed with:

vllm (recommended): See here or vLLM's recipes. SGLang: See here or SGLang’s cookbook. transformers: See here or Hugging Face’s blog post. llama.cpp: See GGUFs and instructions here.

Fine-tune the model via:

Axolotl: See here. Unsloth: See here for a guide and here for their GGUFs. TRL: See here.

[!Note] For optimal performance, we recommend using the Mistral AI API if local serving is subpar.

vLLM (Recommended)

We recommend using Mistral Large 4 with the vLLM library for production-ready inference.

See also the vLLM recipe for Mistral Large 4 for ready-made serving configurations.

Installation

Use the official vLLM Docker image, which includes support for Mistral Large 4:

Serve the Model

We recommend a server/client setup:

Key parameter notes:

--tool-call-parser mistral and --reasoning-parser mistral: required for tool usage and to separate reasoning from content in responses. If you run short of GPU memory, lower --max-model-len and/or --max-num-seqs (concurrency). See the vLLM guide on conserving memory.

Ping the Server

max_completion_tokens includes reasoning tokens as well as visible output tokens.

Instruction Following

Strict JSON Schema

Mistral Large 4 enforces response formats natively, including strict JSON schemas.

Vision and Tool Call

Let's solve some equations thanks to our simple Python calculator tool.

Speculative decoding (DSpark)

The checkpoint ships a DSpark draft head next to the target weights: 3 dense MLA draft layers in BF16 that propose a block of 3 tokens with a recurrent Markov head.

To enable it, add the following argument to the serving command above:

num_speculative_tokens is set to 3, the depth of the draft block.

DSpark speeds up decoding without changing the target model's outputs: we measured up to 1.9x higher throughput than serving the target model alone. Actual gains depend on hardware and workload.

SGLang

Serve Mistral Large 4 with the SGLang library for production-ready inference. See also SGLang's cookbook.

Installation

Use the official SGLang Docker image, which includes support for Mistral Large 4:

Serve the Model

[!Note] Speculative decoding (DSpark) is on and this recipe pins --max-running-requests to 64. Adjust it to match your target concurrency — if you remove the flag, SGLang falls back to 48.

Key parameter notes:

--speculative-algorithm DSPARK: enables the embedded DSpark draft head, which proposes blocks of 3 tokens. Remove this flag to serve without speculation. --tp-size 8: example tensor-parallel size for a node of 8 GPUs; adjust to your topology. --reasoning-parser auto and --tool-call-parser auto: let SGLang pick the reasoning and tool-call parsers for this model.

Transformers

For more details, check Hugging Face’s blog post.

Install Transformers from main:

Python Inference Snippet

Save the following as script.py:

Then run it on 8 GPUs with torchrun:

Mistral-Vibe

Use Mistral Large 4 with Mistral Vibe, our open-source CLI coding assistant.

Installation

Install Vibe with the one-line installer (Linux and macOS):

Or with uv or pip:

Then run vibe in your project. On first launch it asks for your Mistral API key and saves it to ~/.vibe/.env. To use Mistral Large 4 through the Mistral API, select mistral-large-4 as the model.

Local server

To use a local vLLM server instead, add this to ~/.vibe/config.toml:

Notes:

Replace with your server's URL. Other inference backends are also supported. Please look at Mistral Vibe repo for more info.

License

This model is licensed under the Mistral Ecosystem Open-Weight License.

*You must not use this model in a manner that infringes, misappropriates, or otherwise violates any third party’s rights, including intellectual property rights.*

正文以来源语言显示。

参考来源

← 返回每日简报