Curated dataset78 models
Ledger/Microsoft/mai-code-2
Datasheet
Microsoft/Released Nov 17, 2026

MAI Code 2

New drop

Released Nov 17, 2026; Microsoft's frontier agentic coding model with a 1M-token context window, reaching 98% of GPT-6.1 Sol coding quality at 40% of the price and 96% of Claude Opus 5.5 at 5% of the cost; 84.6% on Terminal-Bench 2.1 and 73.2% on DeepSWE 1.1 (max reasoning effort, GitHub Copilot CLI harness, self-reported). The $0.50/$2.50 price is a promotional rate through May 17, 2027; the later rate is $1/$5.

Context
1,050,000
tokens
Architecture
77B active
3B embedded, ~2.8T total
Lab price
$0.50 in$2.50 out
per 1M tokens
License
Microsoft Foundry/ Enterprise AI Services Code of Conduct

Published benchmarks, lab reported

Figures published by the lab, not reproduced independently.

Terminal-Bench
Terminal-Bench 2.1, max effort
Lab reported84.6%
Quickstart
curl -s https://modelregistry.tirup.in/api/cli?model=mai-code-2
Sources3 sources · checked Nov 19, 2026

Every displayed field is traced to a primary source. What this means

Where each fact comes from

Badge New drop is a laboratory designation. Restates the laboratory's own positioning or release status.

Cite this record

ModelRegistry, "MAI Code 2" datasheet, dataset revision 2026.11.20-r4, revised 2026-11-20, https://modelregistry.tirup.in/models/mai-code-2

Where it ranks

Not ranked yet. Its published scores cannot join a comparison table:

Artificial Analysis has not published a result for this model: No Artificial Analysis page exists for MAI Code 2 and the model list names no Microsoft MAI model, so the evaluator has published no result for it. Searched Nov 19, 2026, and re-checked weekly. The page checked.

  • Terminal-Bench 84.6% (Terminal-Bench 2.1, max effort): Fewer than 4 tracked models report Terminal-Bench (Terminal-Bench 2.1, max effort), so no rank is computed.

A missing rank means the evidence is missing, not that the model is weak. Leaders by task.

Common questions

How much does MAI Code 2 cost?

MAI Code 2 lists at $0.50 per 1M input tokens and $2.50 per 1M output tokens, according to the price published by Microsoft. Cached, batch and committed-throughput tiers are billed differently and are not included in that figure.

What is the context window of MAI Code 2?

MAI Code 2 accepts 1,050,000 tokens of context, with a maximum output of 128,000 tokens. Both figures are as published by Microsoft.

Is MAI Code 2 open source or open weights?

No. MAI Code 2 is a closed model available through Microsoft's API under Microsoft Foundry / Enterprise AI Services Code of Conduct; the weights are not published.

When was MAI Code 2 released?

MAI Code 2 was released on Nov 17, 2026 (2026-11-17) and the record's sources were last checked on 2026-11-19.

Head-to-head comparisons

All model comparisons

Alternatives to MAI Code 2: cheaper, stronger and open-weight options