Comparison · Mistral and Qwen

Mistral Small 4 vs Qwen3.8 Flash

Listed API prices of Mistral Small 4 and Qwen3.8 Flash turned into the cost of the same three standard tasks and what each provider’s API documentation says about features that break on a switch. Output quality, speed and answer length are not compared.

Calculated impact cost per task and per month

For an L2 task (deep analysis over a 50,000-token document, 3 steps), Mistral Small 4 costs $0.026 and Qwen3.8 Flash $0.025 at the prices listed in the United States on , so Mistral Small 4 is 1.5 % more than Qwen3.8 Flash, counting visible output only, without cache discounts or hidden reasoning.

Head to head: Mistral Small 4: $0.026; Qwen3.8 Flash: $0.025 Calculated from published rates Input and visible output are priced separately for the same task. 159,000 input + 3,000 visible output tokens per task. No cache discount; hidden reasoning excluded.
Head to head.Calculated from published rates Input and visible output are priced separately for the same task. 159,000 input + 3,000 visible output tokens per task. No cache discount; hidden reasoning excluded. Open image · Explore the chart · Measured Lab · CC BY 4.0
TaskMistral Small 4, per taskQwen3.8 Flash, per taskMistral Small 4, per monthQwen3.8 Flash, per monthMistral Small 4 vs Qwen3.8 Flash, per task
L1Micro-task (classification or strict JSON extraction)$0.0003per L1 task$0.0003per L1 task$5.04per month$4.66per month+8.2 %
L2Deep analysis over a 50,000-token document$0.026per L2 task$0.025per L2 task$374.49per month$368.80per month+1.5 %
L3Agentic coding loop, 15 steps$0.203per L3 task$0.202per L3 task$2,959.78per month$2,942.70per month+0.6 %

Calculated Per month: 20 tasks an hour around the clock, 730 hours.

Prices USD per 1M tokens

PriceMistral Small 4Qwen3.8 Flash
Input, per 1M tokens$0.150$0.150
Output, per 1M tokens$0.600$0.470
Price fromOpenRouter · source page (data) PublishedProvider's price list · source page Published
Read · the United States · the United States
Context window262,144 tokens1,000,000 tokens

What can I use it for? six common tasks, our data checks

Quality on your task: not measured by Measured Lab yet.

TaskMistral Small 4Qwen3.8 Flash
Answer customer messagesFits on price and contextFits on price and context
Pull data from invoices and documents with strict JSON and page imagesFits on price and contextNot confirmed: strict JSON output partly, per Alibaba Cloud’s documentation
Summarize documents and meetingsFits on price and contextFits on price and context
Translate contentFits on price and contextFits on price and context
Chat assistant on your websiteFits on price and contextFits on price and context
Write and review code with tool callsFits on price and contextFits on price and context
Tasks it fits6 of 65 of 6

Checks of our data for six common tasks: a published price, a context window and answer length for the task and, where the task needs them, strict JSON output, page images and tool calls; prices, cost a month and terms for each model on its model card. Compare models for your own task in the model picker.

What breaks when you switch Published provider documentation

Moving from Mistral to Qwen, 1 of the 5 features may not carry over, by each provider’s documentation:

  • Strict JSON schemas — Mistral: yes; Qwen: partly. Code that parses answers without checks starts failing where a provider promises only valid JSON, not your schema.

Moving from Qwen to Mistral, 1 of the 5 features may not carry over, by each provider’s documentation:

  • Reasoning with tools — Qwen: yes; Mistral: not stated. Switching reasoning on can rule out some tool settings or output formats, or the other way round.
Feature of the APIMistralQwen
Strict JSON schemasYesPartly
Parallel tool callsYesYes
Streamed tool argumentsNot statedNot stated
Reasoning with toolsNot statedYes
Cache covers tool definitionsNot statedNot stated

What each provider’s own API documentation says, read ; “not stated” is not the same as “no”. Quotes and sources: what breaks when you switch AI APIs.

All model comparisons · How we check prices

Explore the numbers

Calculated from published rates

The same work. Two bills.

Input and visible output are priced separately for the same task.

$0.0004L2 task differenceQwen3.8 Flash less
$5.69L2 monthly differenceAssumption: 20 tasks/hour × 730 hours
Mistral Small 4$0.026Qwen3.8 Flash$0.025$0.00$0.01$0.02$0.03Mistral Small 4$0.026Qwen3.8 Flash$0.025$0.00$0.01$0.02$0.03
Fresh inputVisible output

159,000 input + 3,000 visible output tokens per task. No cache discount; hidden reasoning excluded.

Qwen3.8 Flash costs $0.0004 less per task.

Mistral Small 4$0.0003Qwen3.8 Flash$0.0003$0.00$0.0001$0.0002$0.0003$0.0004Mistral Small 4$0.0003Qwen3.8 Flash$0.0003$0.00$0.0001$0.0002$0.0003$0.0004
Fresh inputVisible output

1,500 input + 200 visible output tokens per task. No cache discount; hidden reasoning excluded.

Qwen3.8 Flash costs $0.0000 less per task.

Mistral Small 4$0.203Qwen3.8 Flash$0.202$0.00$0.10$0.20$0.30Mistral Small 4$0.203Qwen3.8 Flash$0.202$0.00$0.10$0.20$0.30
Fresh inputVisible output

1,315,500 input + 9,000 visible output tokens per task. No cache discount; hidden reasoning excluded.

Qwen3.8 Flash costs $0.0012 less per task.

Mistral Small 4$374.49Qwen3.8 Flash$368.80$0$100$200$300$400Mistral Small 4$374.49Qwen3.8 Flash$368.80$0$100$200$300$400
Fresh inputVisible output

Assumption: 20 tasks/hour × 730 hours = 14,600 tasks/month.

Observed · United States

Wait and streaming speed

The same short request. Each route must have successful answers on at least two dates.

Mistral Small 4

Collecting

No route for this model has passed the publication threshold.

Published context window: 262,144 tokens.

Qwen3.8 Flash

Direct API · Alibaba Cloud · 70 answers on 14 dates.

First answer token 1.25 s
Observed range · dot = median0.01.02.03.04.0secondsObserved range · dot = median0.01.02.03.04.0seconds

Qwen3.8 Flash · 1.25 s median; observed range 970 ms–3.45 s.

Output speed 60.3 tokens/s
Observed range · dot = median050100150200tokens/sObserved range · dot = median050100150200tokens/s

Qwen3.8 Flash · 60.3 tokens/s median; observed range 28.9 tokens/s–137 tokens/s.

Observed · independent medians

More output than the answer shows.

Visible answer67020406080Visible answer67020406080
Unknown · Hidden reasoning

The API did not report this count; Unknown is not zero.

Calculated median cost per request: $0.000089.

Visible outputHidden reasoning

Visible output and hidden reasoning are independent medians and are not added together. Request cost is the median of individually priced requests. Hidden reasoning is billed at the output rate.

Published context window: 1,000,000 tokens.

Published · provider documentation

What changes when you switch

A matching feature list does not measure migration quality. “Not stated” is not the same as “No”.

Feature of the APIMistralQwen
Strict JSON schemasYesPartly
Parallel tool callsYesYes
Streamed tool argumentsNot statedNot stated
Reasoning with toolsNot statedYes
Cache covers tool definitionsNot statedNot stated

Mistral → Qwen: Review Strict JSON schemas.

Qwen → Mistral: Review Reasoning with tools.

Read the dated documentation and feature details.

Sources: this page; published model prices (data (JSON)); task assumptions (data (JSON)). Published prices · Observed responses · Calculated scenarios · Assumptions stated with each chart.