The Local Model Ledger
The Mistral Bench 2026-10-17 10:46 0 reads

Mistral Large 4 Baseline Test: Coding, Extraction, Summarization, and Planning

Mistral Large 4 Baseline Test: Coding, Extraction, Summarization, and Planning

This article provides a rigorous baseline evaluation of Mistral Large 4 across coding, structured extraction, summarization, and planning. Using five repeated runs under strict controlled conditions, the author analyzes consistency, quiet failure modes, and practical readiness for production workflows, emphasizing that reproducible evidence matters more than impressive one-off demos.

Before I claim anything useful about Mistral Large 4, I need a baseline that is boring enough to trust.

Last week I cleared the desk, logged the exact configuration I was about to use, and ran the same four task families I always start with: coding, structured extraction, summarization, and multi-step planning. No fancy agent loops. No retrieval. No tool calls. Just the model, a fixed set of prompts, and five independent runs of each prompt so I could see how much the answers moved.

This is the report.

Test Conditions (The Part Most Reviews Skip)

A documentary close-up of a corkboard covered in handwritten notes and error logs next to a mechanical keyboard.

I wrote these down before the first token was generated.

  • Model: Mistral Large 4 (API, latest stable endpoint as of the test date)

  • Temperature: 0.2 for coding and extraction, 0.4 for summarization and planning

  • Top-p: 0.9

  • Max tokens: 4096 (enough headroom for the longest expected outputs)

  • System prompt: identical across all runs — “You are a precise technical assistant. Follow the user’s instructions exactly. Prefer correct, complete answers over creative ones. If information is missing, say so.”

  • No few-shot examples unless the task itself required them

  • Hardware/API side: standard paid endpoint, no local quantization, no custom routing

  • Timing: all runs completed within a single 90-minute window on a weekday evening after the kids were asleep

  • Cost tracking: recorded prompt + completion tokens for every call

I used the same four source documents and code snippets for every run. Nothing was cleaned up after the first attempt. If the model hallucinated a field or invented a function that did not exist, that failure stayed in the record.

Signature reminder I kept on a sticky note next to the keyboard: “Here is what I controlled, here is what changed, and here is what I still don’t know.”

Task 1 — Coding: Three Small but Realistic Jobs

I gave the model three coding problems that mirror the kind of work I actually hand off in a normal week.

  1. Write a Python function that takes a list of support-ticket dictionaries and returns the top three categories by volume, handling missing keys gracefully.

  2. Refactor a short, slightly messy React component that mixed state and side effects; keep the public API identical.

  3. Produce a minimal but correct SQL query that joins three tables and filters on a date range plus a status flag, with an explanation of the index that would help.

What I Observed Across Five Runs

Coding was the strongest of the four categories. On the Python aggregation task the model produced correct, readable code on every run. It consistently chose collections.Counter or an equivalent dictionary approach and handled the missing-key case with .get(). Minor style differences appeared (one run preferred a list comprehension, another a generator), but none of them broke correctness.

The React refactor was more variable. Three of the five runs produced clean, modern code that separated concerns properly. Two runs left a small residual side effect inside a render path. Both of those runs still compiled and looked plausible at first glance; only a careful read revealed the problem. That is the quiet failure mode I care about most.

The SQL task was solid on structure but occasionally over-confident on indexing advice. Four runs suggested a composite index that would actually help. One run invented a covering index that included a column the query never selected. Again, the output looked professional until you checked it against the schema.

Practical takeaway: For straightforward coding tasks with clear constraints, Mistral Large 4 is already useful. For anything that mixes correctness with subtle architectural judgment, you still need a human review step. “If it only works in the demo, it isn’t in the workflow yet” applies here with particular force.

Task 2 — Structured Extraction: Turning Messy Text into Reliable Fields

I fed the model five different real-world support emails (anonymized) and asked it to extract a fixed JSON schema: customer name, issue category, urgency (low/medium/high), product version if mentioned, and a one-sentence summary of the requested action.

Results

Extraction accuracy on the required fields averaged 92 % across the five runs when I scored strictly (exact match on category and urgency). The model almost never invented a product version that was not in the email. It did, however, occasionally upgrade urgency from “medium” to “high” when the customer used strong language, even when the underlying problem was a simple configuration question.

The one-sentence summaries were consistently useful but sometimes slightly more dramatic than the original text. That is a soft failure: the JSON is still machine-readable, yet the tone can push a triage system in the wrong direction if you trust the summary without reading the source.

I also tested a deliberately incomplete email that omitted the product version. The model correctly returned null on four of five runs and hallucinated a plausible version number on the fifth. That single hallucination is the kind of error that only appears when you force repeated runs under the same conditions.

Task 3 — Summarization: Long and Medium Documents

I used two documents: a 4,200-word internal post-mortem from a past project and a 1,800-word product requirements draft. The instruction was identical each time: “Produce a summary of no more than 250 words that preserves the key decisions, open risks, and owners. Do not add recommendations that are not in the source.”

What Happened

Length control was excellent. Every summary stayed inside the 250-word limit. Factual fidelity on the post-mortem was high; the model almost never invented owners or decisions. The requirements document produced more drift. Two of the five runs quietly elevated a “nice-to-have” feature into a “must-have” because the original language was enthusiastic. That is exactly the kind of subtle distortion that can mislead a planning meeting later.

I also measured how much unique information survived when I asked for a second, even shorter summary of the first summary. Information loss was graceful rather than catastrophic, which is better than many models I have tested, but it is still loss.

Task 4 — Planning: Multi-Step Task Decomposition

The final task family asked the model to turn a high-level goal into a concrete, ordered plan with dependencies and a rough time estimate. Example prompt:

“We need to add a new document-ingestion path to our existing RAG system so that PDFs and markdown files can be processed overnight. Produce a step-by-step plan that a two-person team can execute over the next two weeks. Include checkpoints where a human must review output before the next stage begins.”

Observed Behavior

Planning quality was the most variable of the four categories. Three runs produced sensible, reviewable plans that correctly inserted human checkpoints. Two runs generated plans that looked complete but omitted the data-validation step after OCR, which in a real system is where most silent corruption occurs. Those two plans would have failed the “can this fail safely” test I care about.

Time estimates were consistently optimistic by roughly 30–40 %. That matches my own experience with almost every large model I have used for planning.

Overall Baseline Snapshot

Task Family

Correctness / Fidelity

Consistency across 5 runs

Quiet Failure Modes

Ready for light production use?

Coding

High

High

Residual side effects, index advice

Yes, with review

Extraction

High

Medium-High

Urgency inflation, rare hallucination

Yes, with schema validation

Summarization

High

Medium

Soft priority inflation

Yes, for internal notes

Planning

Medium

Medium

Missing safety checkpoints

Not yet without human rewrite

These numbers are not benchmark scores. They are the result of one controlled evening of work under the exact conditions listed above. Change the temperature, the system prompt, or the length of the source documents and the picture will shift. That is why I record the conditions every time.

A documentary shot of a desk with a computer displaying test data and printed reports featuring manual annotations and checkboxes.

What I Still Don’t Know

I have not yet tested the same tasks with retrieval in the loop, with tool use, or under local quantization. I have not measured how performance changes when the same prompt is run at 2 a.m. versus 7 p.m., or when the API is under heavier load. I have not compared these results side-by-side with the previous major Mistral release under identical conditions. Those tests are already queued.

The question is not whether Mistral Large 4 can produce a good answer once. The question is whether you want to maintain the workflow that depends on it. On the evidence of this baseline, the answer for coding and extraction is a cautious yes. For planning that must fail safely, the answer is still “only with a human in the loop.”

Practical Recommendations from This Baseline

  1. Use temperature 0.2 (or lower) for any task that must stay schema-faithful.

  2. Always request structured output when the downstream step is machine-readable; free-form summaries still need a second pair of eyes.

  3. Insert an explicit human checkpoint after any planning or multi-step decomposition step. The model is good at generating the outline; it is less reliable at protecting the safety gates.

  4. Log every run. The single hallucination in the incomplete-email test would have been invisible without the five-run protocol.

  5. Treat the first successful output as a hypothesis, not a conclusion. Re-run it.

I will publish the exact prompts and scoring rubrics I used in a follow-up notebook post so anyone can reproduce the same baseline on their own account or local setup. Until then, the numbers above are the cleanest starting point I have.

Coffee is finished. Notebook is closed. Next up: five identical runs of a single long prompt to measure stability under repetition. That test tends to be more revealing than any single impressive demo.

If it only works in the demo, it isn’t in the workflow yet.

Last updated — 2026-10-17 10:47
Comments [ 0 ]

No comments yet.

Leave a comment