MAI Code 2 Flash
Compare MAI Code 2 Flash with another model
Choose a model to open its comparison page.
MAI Code 2 Flash is the smaller, faster coding model in the MAI Code 2 family, released on 17 November 2026. It is in GitHub Copilot and in a limited preview on Microsoft Foundry. Microsoft says it will later be released on Open Router, Vercel, Hermes, Open Code, and Kilo. It takes text and images. The model card lists a 922,000 input-token limit, 128,000 output tokens, and a 1,050,000-token context, with reasoning effort of low, medium, high, xhigh, or max. The summary table lists 5B–15B parameters with 12B active. A footnote on the same card says 12 billion active and about 398 billion total. The active count matches. This page does not turn the two total-size figures into one number. GitHub Copilot lists a promotional rate until 2027-05-17: $0.05 input, $0.005 cached input, and $0.25 output per million tokens. From 2027-05-17 the Copilot standard rate is $0.10 input, $0.01 cached input, and $0.50 output per million tokens. This is the GitHub Copilot rate, not an Azure Foundry price and not a general API catalog price. Foundry has not published a dollar price per million tokens. The price row on this page is the current Copilot promotional rate. The launch post says that on three everyday coding benchmarks Flash is about even with GPT-6 Luna and Claude Haiku 5.5, at about 65% and 20% of the cost. The post says that cost comparison uses a 50% promotional price. These are Microsoft's comparisons, not LMSpeed tests.
Specifications
[2]- Model weights
- Closed / proprietary
Technical Details
- Released
- Nov 2026
- Reported product launch
- 2026-11-17 · Model card · Microsoft[2]
- Active parameters (billions)
- 12
- Input modalities
- text / image
- Output modalities
- text
- reasoning_effort takes effect
- Yes
- reasoning_effort
- low / medium / high / xhigh / max
