Curated dataset78 models

MAI Code 2 vs Qwen4-Max

Microsoft vs Alibaba Cloud (Qwen)Dataset revised

Answer

MAI Code 2 costs less per token: $0.50 in and $2.50 out per 1M, against $1.50 in and $4.50 out. MAI Code 2 accepts Code input; Qwen4-Max does not. MAI Code 2 carries the larger context window at 1,050,000 tokens against 1,000,000 tokens. No decision turns on max output, price, closed weights, release date.

Within 5% or equal: Max output (128,000 tokens and 131,072 tokens) · Price ($3.00 and $6.00 per 1M in plus 1M out) · Closed weights · Release date (2026-11-17 and 2026-11-16)

Where they differ

2 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 2Qwen4-Max
Context window5% more on MAI Code 21,050,000 tokens1,000,000 tokens
InputsCode input on MAI Code 2Text, Vision, CodeText, Vision, Video

Specification

FieldMAI Code 2Qwen4-Max
Context window1,050,000 tokens1,000,000 tokens
Max output128,000 tokens131,072 tokens
Input price / 1M$0.50$1.50
Output price / 1M$2.50$4.50
1M in + 1M out$3.00$6.00
WeightsClosed (API only)Closed (API only)
LicenceMicrosoft Foundry / Enterprise AI Services Code of ConductProprietary API
Released2026-11-172026-11-16
InputsText, Vision, CodeText, Vision, Video

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.

Where MAI Code 2 leads

  • Cheaper input: $0.50 vs $1.50 per 1M tokens.
  • Larger context: 1,050,000 tokens vs 1,000,000 tokens on Qwen4-Max.

Where Qwen4-Max leads

  • Nothing measured separates it from MAI Code 2: price, context, output, modalities, weights and published benchmarks are equal or within 5%.

Common questions

Is MAI Code 2 cheaper than Qwen4-Max?

Yes for MAI Code 2. MAI Code 2 lists $0.50 in / $2.50 out per 1M tokens; Qwen4-Max lists $1.50 in / $4.50 out. Both are official list prices recorded with a source link.

Which has the larger context window, MAI Code 2 or Qwen4-Max?

MAI Code 2 accepts 1,050,000 tokens; Qwen4-Max accepts 1,000,000 tokens.

Is MAI Code 2 or Qwen4-Max open weights?

Neither publishes weights; both are closed API models (Microsoft Foundry / Enterprise AI Services Code of Conduct; Proprietary API).

When were MAI Code 2 and Qwen4-Max released?

MAI Code 2 was released on 2026-11-17 and Qwen4-Max on 2026-11-16. MAI Code 2 is the more recent release.

Do MAI Code 2 and Qwen4-Max report the same benchmarks?

No. The two records do not publish a score for the same benchmark. 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, 4 for Qwen4-Max). Prices are official list prices per 1M tokens and change without notice. Methodology