Experiment ยท Model comparison

Qwen3.8-27B at home against Mistral Large 4 in the cloud

We run Qwen3.8-27B on our own hardware. Mistral Large 4 is the hosted model people compare against when they ask whether a local setup is good enough. So we gave both the same six short prompts and the same eight coding problems with hidden unit tests. On code they finished level. With thinking off the two were within a second of each other on time to a finished answer, and with thinking on the local model was about twice as quick.

This is a small test, not a leaderboard entry. Six prompts and sixteen coding samples per model are enough to see a pattern and not enough to rank anything. The caveats are at the end and they matter.

The result

11/16coding samples passed by Qwen3.8-27B, running locally
11/16coding samples passed by Mistral Large 4, through the API
13.6 saverage time to a finished answer, Qwen3.8-27B with thinking on
29.3 sthe same average for Mistral Large 4 with reasoning on

How we set it up

Qwen3.8-27B is an open-weights model, served locally through vLLM in FP8 with multi-token prediction, called directly with thinking switched off or on. Mistral Large 4 was called through the Mistral API as mistral-large-4-0, with reasoning effort set to none or high. The hosted default alias mistral-large-latest still pointed at the previous generation on the day we tested, so it is worth naming the model explicitly if you repeat this.

Both models got identical prompts. We ran two rounds on six short prompts (a coding task, a logic puzzle, a children's explanation in Dutch, a strict formatting task, a debugging task and a technical summary), once with thinking off and once with it on. Then we ran eight coding problems twice each with thinking on, and executed every answer against hidden unit tests. The tests were checked against our own reference solutions before the models saw a single problem.

Round one: thinking off

Without reasoning, both models answered in a few seconds and the answers were close in quality. Time to the first token favoured the local model by a wide margin (about 0.08 seconds at home, against 0.5 to 2 seconds through the API, which includes the network). Per-request decode speed was similar. Four requests at once finished in 3.6 seconds locally and 3.3 seconds through the API.

PromptQwen3.8-27B, timeMistral Large 4, timeQwen tokensMistral tokens
coding3.4 s3.9 s321341
reasoning5.0 s2.6 s403126
dutch3.7 s2.3 s204164
instruction0.9 s2.3 s6256
debug4.4 s3.2 s384200
summary1.9 s2.4 s138144
Average / total3.2 s2.8 s1,5121,031

On quality, the logic puzzle was the one place Mistral was visibly crisper: it followed "be concise" better. The summary of dense versus mixture-of-experts models went the other way: Mistral claimed dense models are faster, which is backwards, while Qwen got the speed point right.

Round two: thinking on

With reasoning switched on, the gap in time grew. Both models generate at similar speed once they start, so the difference is how long they think. Mistral Large 4 spent 14,430 tokens on the six prompts against 6,355 for Qwen, and one prompt (the technical summary) took Mistral about 78 seconds. Four requests at once took 23.2 seconds locally against 56.9 seconds through the API.

PromptQwen3.8-27B, timeMistral Large 4, timeQwen tokensMistral tokens
coding14.3 s39.4 s1,2583,104
reasoning6.5 s14.1 s523731
dutch9.7 s12.4 s8191,355
instruction25.5 s18.2 s1,8681,525
debug13.1 s14.3 s9041,414
summary12.7 s77.7 s9836,301
Average / total13.6 s29.3 s6,35514,430

Thinking helped Mistral more than Qwen. Its dense-versus-MoE summary became correct once it reasoned, where Qwen had already been correct on that point.

Round three: unit-tested code

Eight problems, each with hidden tests: duration parsing, an arithmetic expression evaluator without eval, counting longest increasing subsequences, full text justification, lexicographically smallest topological order, minimum window substring, strict Roman numerals, and a small JSON path reader. Two samples per problem per model, thinking on.

ProblemQwen3.8-27BMistral Large 4
eval_expr0 of 20 of 2
json_path1 of 20 of 2
justify1 of 22 of 2
parse_duration1 of 22 of 2
topo_lex2 of 21 of 2
count_lis2 of 22 of 2
min_window2 of 22 of 2
roman_strict2 of 22 of 2
Total11 of 1611 of 16

Both models scored 11 of 16, and they failed in a revealing way. Of Qwen's 5 misses, 4 were runs that used up the whole 32,000-token budget still thinking and 1 was genuinely wrong code. Of Mistral's 5, 4 hit the same budget wall and 1 was a server-side error from the API. Every answer that finished was correct except that one. So the score mostly measures which model finishes thinking in time on the two hardest problems, the expression evaluator and the JSON path reader, and on those the two were equally likely to run out.

What we would not conclude

  • That one model is smarter. On the problems that finished, they were equally correct.
  • Anything about long context or tool use. We did not test either. Mistral Large 4 offers a context window of about a million tokens, our local setup runs at 196K, and that gap could matter for other work.
  • Anything precise. One run per prompt and two samples per coding problem. Mistral was not even consistent with itself: the same problem hit the budget limit on one attempt and passed on the next.
  • A like-for-like speed comparison. The local model runs on a quiet machine next door. The API includes the network, queueing and Mistral's own load.

What we take from it

For the work we actually do, a 27B open model on our own hardware is not a compromise on code. It matches a hosted frontier model on these problems, it finishes about twice as fast once reasoning is on, and nothing leaves the building. That last point is the one our school and compliance customers care about most. The honest remaining gap is the very long context window, which this test did not touch. That is the next test worth running.

Provenance

Run on 24 October 2026. Local: Qwen3.8-27B, FP8, vLLM, thinking toggled per round, temperature 0.2 without thinking and 0.6 with it. Hosted: mistral-large-4-0 through the Mistral API, reasoning effort none or high, same temperatures. The first coding pass used a 12,000-token budget; the empty answers were rerun at 32,000, and the few that still ended early were rerun once more. The numbers on this page are computed from the saved run data, not typed in by hand.

Short version: level on code, quicker at home when thinking is on, and a small test that tells you where to look next, not who won.