Curated dataset78 models

MAI Code 2 vs Mistral Large 4

Microsoft vs Mistral AIDataset revised

Answer

Mistral Large 4 costs less per token: $0.70 in and $2.10 out per 1M, against $0.50 in and $2.50 out. Only Mistral Large 4 publishes weights, so only that one can be self-hosted or audited. MAI Code 2 carries the larger context window at 1,050,000 tokens against 1,000,000 tokens. No decision turns on inputs.

Within 5% or equal: Inputs (Text, Vision, Code)

Where they differ

4 axes with a real gap. The size of each gap is printed under the axis, because a five cent difference and a three times larger ceiling are not the same kind of fact.

AxisMAI Code 2Mistral Large 4
Context window5% more on MAI Code 21,050,000 tokens1,000,000 tokens
Price, 1M in plus 1M out7% cheaper on Mistral Large 4$3.00$2.80
Weightsself-hostable: Mistral Large 4 onlyClosedOpen
ReleasedMAI Code 2 is newer by 6 weeks2026-11-172026-10-06

Specification

FieldMAI Code 2Mistral Large 4
Context window1,050,000 tokens1,000,000 tokens
Max output128,000 tokensUndisclosed
Input price / 1M$0.50$0.70
Output price / 1M$2.50$2.10
1M in + 1M out$3.00$2.80
WeightsClosed (API only)Open
LicenceMicrosoft Foundry / Enterprise AI Services Code of ConductMistral Ecosystem Open Weight License
Released2026-11-172026-10-06
InputsText, Vision, CodeText, Vision, Code

Benchmarks both laboratories published

Shown side by side only when both records name the same test and the same version.

No benchmark is reported by both laboratories at the same test and version, so no row is shown.

1 benchmarks withheldreported at different tests or versions
  • Terminal-Bench, Different tests or versions (Terminal-Bench 2.1, max effort vs Terminal-Bench 4.0).
    MAI Code 2: 84.6% (Terminal-Bench 2.1, max effort) · Mistral Large 4: 28.3% (Terminal-Bench 4.0)

Where MAI Code 2 leads

  • Cheaper input: $0.50 vs $0.70 per 1M tokens.
  • Larger context: 1,050,000 tokens vs 1,000,000 tokens on Mistral Large 4.

Where Mistral Large 4 leads

  • Open weights under Mistral Ecosystem Open Weight License: self-hostable and auditable, unlike MAI Code 2.

Common questions

Is MAI Code 2 cheaper than Mistral Large 4?

Yes for MAI Code 2. MAI Code 2 lists $0.50 in / $2.50 out per 1M tokens; Mistral Large 4 lists $0.70 in / $2.10 out. Both are official list prices recorded with a source link.

Which has the larger context window, MAI Code 2 or Mistral Large 4?

MAI Code 2 accepts 1,050,000 tokens; Mistral Large 4 accepts 1,000,000 tokens.

Is MAI Code 2 or Mistral Large 4 open weights?

Mistral Large 4 publishes open weights under Mistral Ecosystem Open Weight License. MAI Code 2 is closed (Microsoft Foundry / Enterprise AI Services Code of Conduct).

When were MAI Code 2 and Mistral Large 4 released?

MAI Code 2 was released on 2026-11-17 and Mistral Large 4 on 2026-10-06. MAI Code 2 is the more recent release.

Do MAI Code 2 and Mistral Large 4 report the same benchmarks?

No. Both laboratories publish a score for Terminal-Bench, but not on the same test or version, so ModelRegistry does not place them side by side. Comparing different evaluations would produce a ranking the evidence cannot support.

Related comparisons

Every figure above comes from the primary source on each model page (3 for MAI Code 2, 2 for Mistral Large 4). Prices are official list prices per 1M tokens and change without notice. Methodology