Mistral Large 4

Mistral's open-weight flagship, nicknamed Le Chonk: code and security reviews, writing in 160+ languages, and questions about images and long documents, with a 1M-token context window

About Mistral Large 4

Mistral Large 4 is a large language model from Mistral AI, the French AI lab. It came out as a public preview on October 6, 2026, and the final version with open weights followed on October 29, 2026. Its nickname is Le Chonk. It replaces Mistral Large 3 from December 2025

It is a mixture-of-experts model with about 1 trillion parameters, 49 billion of which work on each token. It was trained from scratch in Mistral's own data centers in Europe. It reads text and images, writes in more than 160 languages and has three reasoning levels: low, medium and high. The weights are on Hugging Face, so companies can run the model on their own servers

On Overchat AI, Mistral Large 4 is in the same chat as Claude, GPT, Gemini and other models, so you can switch to another model without starting a new conversation

Developer
Mistral AI
Released
Oct 29, 2026
Parameters
1T total, 49B active
Context window
1M tokens
Input
Text, images
Weights
Open, on Hugging Face

See how Mistral Large 4 answers

Prompt

Review this Flask route for security problems. Name the vulnerability, explain in one sentence how someone could exploit it, and give me the fixed code. @app.route("/download") def download(): name = request.args.get("file") return send_file(os.path.join("/srv/reports", name))

Mistral Large 4

Vulnerability: Path Traversal (Arbitrary File Read) — CWE-22

os.path.join("/srv/reports", name) does no validation, so ../ sequences escape the directory — and worse, os.path.join discards the base entirely if name is an absolute path.

Exploit (one sentence): An attacker can request /download?file=../../etc/passwd — or simply /download?file=/etc/passwd, since the absolute path overrides the join — to read any file the Flask process can access, such as /etc/passwd, .env secrets, database credentials, or application source code.

Fixed code

import os
from flask import abort, request, send_file
from werkzeug.utils import safe_join

REPORTS_DIR = os.path.realpath("/srv/reports")

@app.route("/download")
def download():
    name = request.args.get("file", "")
    if not name:
        abort(400)

    # safe_join returns None for "../" traversal AND absolute paths like /etc/passwd
    path = safe_join(REPORTS_DIR, name)
    if path is None or not os.path.isfile(path):
        abort(404)

    # realpath + commonpath also blocks symlinks planted inside REPORTS_DIR
    real = os.path.realpath(path)
    if os.path.commonpath([real, REPORTS_DIR]) != REPORTS_DIR:
        abort(404)

    return send_file(real, as_attachment=True)

If you don't need the extra symlink defense, the simplest correct fix is send_from_directory, which uses safe_join internally and returns 404 on traversal:

from flask import send_from_directory

@app.route("/download")
def download():
    name = request.args.get("file", "")
    return send_from_directory("/srv/reports", name, as_attachment=True)

Extra hardening worth adding

  • as_attachment=True (shown above) forces a download instead of rendering the file in-browser, preventing XSS if a report ever contains HTML/JS.
  • Whitelist extensions (e.g. only .pdf, .csv) so users can't fetch .py, .env, or config files even inside the directory.
  • Rate-limit the route — arbitrary-file-read endpoints are also useful for brute-forcing filenames.
  • Note the original also 500s when file is missing (os.path.join with None); the abort(400) handles that.
Prompt

Write a short note to our hotel guests in French, German and Spanish: the pool is closed for repairs on November 12 and 13, breakfast moves to the terrace on those days, and the spa stays open. Friendly, two sentences per language

Mistral Large 4

Français

Chers hôtes, la piscine sera fermée pour travaux les 12 et 13 novembre et le petit-déjeuner sera servi sur la terrasse ces jours-là. Notre spa reste ouvert comme d’habitude et nous vous souhaitons un agréable séjour !

Deutsch

Liebe Gäste, das Schwimmbad ist am 12. und 13. November wegen Reparaturarbeiten geschlossen und das Frühstück wird an diesen Tagen auf der Terrasse serviert. Unser Spa bleibt wie gewohnt geöffnet und wir wünschen Ihnen einen angenehmen Aufenthalt!

Español

Estimados huéspedes, la piscina estará cerrada por reparaciones los días 12 y 13 de noviembre y el desayuno se servirá en la terraza esos días. Nuestro spa permanece abierto como de costumbre y les deseamos una estancia muy agradable.

Prompt

Explain this clause from my freelance contract in plain words. Then tell me what risk it puts on me and one change I could ask for. "The Contractor shall indemnify and hold harmless the Client against any and all claims, losses and expenses, including legal fees, arising out of or in connection with the Services, without limitation as to amount"

Mistral Large 4

(Note: I'm not a lawyer, and indemnity laws vary by jurisdiction — worth having an attorney review your full contract. But here's what this clause means in everyday terms.)

In plain words

You're promising to pay the client back for any claim, loss, or expense — including their legal bills — that is connected in any way to the work you did. "Hold harmless" adds that you also can't sue the client over that same issue. And "without limitation as to amount" means there's no ceiling — you could owe far more than you were paid for the project.

Breaking it down:

  • "Any and all claims, losses, expenses, including legal fees" = everything, with no exceptions listed
  • "Arising out of or in connection with the Services" = a very broad trigger. Anything even loosely tied to your work counts
  • "Without limitation as to amount" = unlimited liability

The risk it puts on you

  • Unlimited exposure: A lawsuit related to your work — even one where you're only partly at fault — could cost more than the entire project fee and reach your personal savings or assets.
  • You pay for the client's own mistakes: Because of the broad "in connection with" language, you could end up covering problems caused by the client's negligence, or changes they make after you deliver the work.
  • Legal fees regardless of outcome: You'd cover the client's lawyers even if the claim is weak or you ultimately win.
  • One-sided: Only you owe this protection; the client owes you nothing similar.
  • Insurance gap: Your professional liability insurance may not cover liability you voluntarily assumed in a contract like this.

One change to ask for

Put a cap on it. Ask them to replace "without limitation as to amount" with something like:

"provided that Contractor's total liability under this clause shall not exceed the total fees actually paid to Contractor under this Agreement."

This makes your worst-case exposure equal to what you were paid for the job — a standard, reasonable limit.

If you can negotiate further, also consider narrowing the trigger from "arising out of or in connection with the Services" to "caused by Contractor's negligence or willful misconduct," so you're not on the hook for things you didn't cause.

More prompts to try with Mistral Large 4

Mistral Large 4 vs other models

The same tests on every model, plus speed, open weights and hallucination rate, one rival at a time

Mistral Large 4GLM-5.3
Intelligence Index?
Mistral Large 4: 26
GLM-5.3: 31.7
Terminal-Bench 4.0?
Mistral Large 4: 25%
GLM-5.3: 42%
AutomationBench?
Mistral Large 4: 58%
GLM-5.3: 62%
GDP.pdf?
Mistral Large 4: 18%
GLM-5.3: 11%
HLE-Diamond?
Mistral Large 4: 17%
GLM-5.3: 18%
SpecMistral Large 4GLM-5.3
DeveloperMistral AIZ.ai
ReleasedOct 29, 2026Aug 18, 2026
Context window?1M tokens1M tokens
Output speed?161 tokens/s72 tokens/s
InputText, imagesText
Open weights?YesYes
Hallucination rate?28%39%
Mistral Large 4DeepSeek V4.1 Flash
Intelligence Index?
Mistral Large 4: 26
DeepSeek V4.1 Flash: 32.5
Terminal-Bench 4.0?
Mistral Large 4: 25%
DeepSeek V4.1 Flash: 34%
AutomationBench?
Mistral Large 4: 58%
DeepSeek V4.1 Flash: 67%
GDP.pdf?
Mistral Large 4: 18%
DeepSeek V4.1 Flash: 17%
HLE-Diamond?
Mistral Large 4: 17%
DeepSeek V4.1 Flash: 25%
SpecMistral Large 4DeepSeek V4.1 Flash
DeveloperMistral AIDeepSeek
ReleasedOct 29, 2026Oct 17, 2026
Context window?1M tokens1M tokens
Output speed?161 tokens/s179 tokens/s
InputText, imagesText, images
Open weights?YesYes
Hallucination rate?28%64%
Mistral Large 4Kimi K3.1 Pro
Intelligence Index?
Mistral Large 4: 26
Kimi K3.1 Pro: 46
Terminal-Bench 4.0?
Mistral Large 4: 25%
Kimi K3.1 Pro: 67%
AutomationBench?
Mistral Large 4: 58%
Kimi K3.1 Pro: 73%
GDP.pdf?
Mistral Large 4: 18%
Kimi K3.1 Pro: 31%
HLE-Diamond?
Mistral Large 4: 17%
Kimi K3.1 Pro: 37%
SpecMistral Large 4Kimi K3.1 Pro
DeveloperMistral AIMoonshot AI
ReleasedOct 29, 2026Oct 23, 2026
Context window?1M tokens1M tokens
Output speed?161 tokens/s35 tokens/s
InputText, imagesText, images, video
Open weights?YesNot yet
Hallucination rate?28%37%
Mistral Large 4Muse Spark Open
Intelligence Index?
Mistral Large 4: 26
Muse Spark Open: 24.7
Terminal-Bench 4.0?
Mistral Large 4: 25%
Muse Spark Open: 8%
AutomationBench?
Mistral Large 4: 58%
Muse Spark Open: 50%
GDP.pdf?
Mistral Large 4: 18%
Muse Spark Open: 19%
HLE-Diamond?
Mistral Large 4: 17%
Muse Spark Open: 26%
SpecMistral Large 4Muse Spark Open
DeveloperMistral AIMeta
ReleasedOct 29, 2026Oct 15, 2026
Context window?1M tokens1M tokens
Output speed?161 tokens/s141 tokens/s
InputText, imagesText, images, video, audio
Open weights?YesYes
Hallucination rate?28%28%
Mistral Large 4GPT-6 Luna
Intelligence Index?
Mistral Large 4: 26
GPT-6 Luna: 27.8
Terminal-Bench 4.0?
Mistral Large 4: 25%
GPT-6 Luna: 13%
AutomationBench?
Mistral Large 4: 58%
GPT-6 Luna: 53%
GDP.pdf?
Mistral Large 4: 18%
GPT-6 Luna: 23%
HLE-Diamond?
Mistral Large 4: 17%
GPT-6 Luna: 22%
SpecMistral Large 4GPT-6 Luna
DeveloperMistral AIOpenAI
ReleasedOct 29, 2026Sep 22, 2026
Context window?1M tokens1M tokens
Output speed?161 tokens/s122 tokens/s
InputText, imagesText, images, files
Open weights?YesNo
Hallucination rate?28%79%
Mistral Large 4MiniMax M3.1 Flash
Intelligence Index?
Mistral Large 4: 26
MiniMax M3.1 Flash: 28.9
Terminal-Bench 4.0?
Mistral Large 4: 25%
MiniMax M3.1 Flash: 26%
AutomationBench?
Mistral Large 4: 58%
MiniMax M3.1 Flash: 73%
GDP.pdf?
Mistral Large 4: 18%
MiniMax M3.1 Flash: 21%
HLE-Diamond?
Mistral Large 4: 17%
MiniMax M3.1 Flash: 28%
SpecMistral Large 4MiniMax M3.1 Flash
DeveloperMistral AIMiniMax
ReleasedOct 29, 2026Oct 19, 2026
Context window?1M tokens1M tokens
Output speed?161 tokens/s118 tokens/s
InputText, imagesText, images, video
Open weights?YesYes
Hallucination rate?28%94%

Sources: Artificial Analysis, Mistral Large 4 (Oct 29, 2026), Mistral AI, Mistral Large 4 (Le Chonk) is now open weight, Mistral AI, Mistral Large 4 model card

Mistral Large 4 main features

Security reviews, coding with fewer tokens, writing in 160+ languages, and long documents and images in a 1M-token context

A Flask download route with a path traversal bug in a code editor, and Mistral Large 4's answer naming the vulnerability and the fix

Security code review

Mistral Large 4 is built for defensive security work. Paste a function or a whole file, and it names the vulnerability, explains how it could be exploited and writes the patch. It scores 51% on the Artificial Analysis Cyber Index, ahead of Kimi K3 at 41% and GLM-⁠5.3 at 36%. It helps you find and fix holes in your own code and turns down requests to break into other people's systems

Bar chart of the Artificial Analysis Coding Agent Index: GLM-5.3 49%, Mistral Large 4 48%, DeepSeek V4.1 Flash 46%, Kimi K3 41%, Muse Spark Open 26%, Beam 1.0 20%

Coding with fewer tokens

Mistral Large 4 writes, reviews and fixes code and works through multi-step coding tasks. On the Artificial Analysis Coding Agent Index it scores 48%, one point behind GLM-⁠5.3, while using 47% fewer tokens per task. It is also fast: about 161 tokens per second once the answer starts

A hotel notice about the pool closing and Mistral Large 4's versions of it in French, German and Spanish

Writing in 160+ languages

Mistral Large 4 writes fluently in more than 160 languages, including every official language of the European Union. Ask it to translate a page, answer a customer in their own language or write one message in several languages at once

An indemnity clause on page 12 of a freelance contract, and Mistral Large 4's answer explaining the unlimited liability and the cap to ask for

Long documents and images

Mistral Large 4 explains contract clauses in plain words, checks spreadsheets and sums up reports. Its context window holds about 1 million tokens, so a long contract, a report and the whole chat fit at once. It also reads images: screenshots, charts, scanned pages and technical drawings

Why use Mistral Large 4 on Overchat AI

One account for chat, images and video, on every device

Superchat splitting one request between Claude Opus 5.5 for the plan and Nano Banana 2.1 for the poster

Superchat AI agent

Superchat Agent automatically routes your message to the model best suited for the task. It can generate images and videos, use the AI tools built into Overchat AI, and learn from your interactions to get better over time

Message field with a PDF, a spreadsheet and a dashboard screenshot attached, Mistral Large 4 picked and a voice message being recorded

Chat with images and files

Upload PDFs, spreadsheets, code and screenshots and ask Mistral Large 4 about them. You can also dictate a message instead of typing it

An image made with Nano Banana 2.1 and a surfing video made with Seedance 2.5

Go beyond text

Generate images with Nano Banana and GPT Image and videos with Seedance and Kling in the same account, with the same credits as chat

Overchat AI on the web, iPhone and Android, and the Superchat screen of the iPhone app

On the web, iPhone and Android

Start a chat on your laptop and finish it on your phone. The Overchat AI app has the same models, and your chats stay in one account on every device

Download on the App Store

How to use Mistral Large 4 on Overchat AI

Start in the chat at the top of this page or in the Overchat AI app on the web, iOS or Android

  1. The Models menu with Mistral Large 4 picked between DeepSeek V4.1 Flash and Muse Wonder
    01

    Pick Mistral Large 4

    It is already picked in the chat on this page. In the Overchat AI app, open the model list next to the message field and choose Mistral Large 4

  2. Message field with download.py attached and a request to find the security problems in it
    02

    Paste code or attach a file

    Paste your code or add a document, a spreadsheet or a screenshot, and write what you need: the format, the length and what to check first

  3. Mistral Large 4's answer about the path traversal bug and a follow-up asking for a test
    03

    Keep going in the same chat

    Ask a follow-up, ask for a shorter version or the answer in another language, or switch to another model without losing the conversation

Explore other models

Models marked Soon are coming to Overchat AI; the rest are available now

Learn more about Mistral and open models

All articles

Ready to try Mistral Large 4?

Ask your first question or paste your code, and Mistral Large 4 answers in the Overchat AI chat

Chat with Mistral Large 4

Mistral Large 4 FAQ

If you have any questions,
reach out to us at hello@overchat.ai

Mistral Large 4 is the largest model from Mistral AI, released with open weights on October 29, 2026. It is a mixture-of-experts model with about 1 trillion parameters, 49 billion of them active for each token. It reads text and images, writes in more than 160 languages and has a context window of 1 million tokens

Le Chonk is the official nickname of Mistral Large 4. It comes from a cat meme: “chonk” is internet slang for a big, round cat, a joke about a model with 1 trillion parameters

Mistral Large 4 came out as a public preview in the Mistral API on October 6, 2026. The final version and the open weights followed on October 29, 2026, after three more weeks of training. It replaces Mistral Large 3, released in December 2025

Its weights are open: anyone can download them from Hugging Face. The license is the Mistral Ecosystem Open-Weight License, a modified MIT license. It allows commercial use, fine-tuning and running the model on your own servers. Companies that sell access to the model as an API service need a separate license from Mistral

The weights are free to download, but running a 1-trillion-parameter model takes a server with eight data center GPUs. On Overchat AI you can chat with Mistral Large 4 in the browser or the app without any hardware: it is in the model list next to Claude, GPT and Gemini

About 1 trillion in total (1.05 trillion), of which 49 billion are active for each token, or 52 billion counting the embedding and output layers. The model has 128 experts, 4 of which work on each token, plus one shared expert. The vision encoder adds 1.6 billion parameters

It is the strongest open-weight model from the US or Europe on the Artificial Analysis Intelligence Index: 26 points against 24.7 for Meta's Muse Spark Open. The leading open models from China score higher, with 31.7 for GLM-⁠5.3 and 32.5 for DeepSeek V4.1 Flash. Mistral Large 4 is strongest at security work, coding with few tokens and writing in many languages, and it has a low hallucination rate of 28%

Mistral Large 4 takes about 1 million tokens of context (1,048,576), roughly 750,000 words. Its answers can be up to 262,144 tokens long, reasoning included

Yes, with enough hardware. The full model runs on a server with eight GPUs through vLLM or SGLang, and a smaller NVFP4 version is made for NVIDIA Blackwell GPUs. There are GGUF files for llama.cpp too, but even compressed the model needs hundreds of gigabytes of memory. For most people, the chat on Overchat AI is the easier way to use it

Type your message in the chat at the top of this page, attach a file or paste your code if you need to and press Send. After you sign in, Mistral Large 4 answers in the Overchat AI chat, where you can keep the conversation going on the web, iOS or Android and switch to another model at any time