Model index
Microsoft AI·MAI

MAI Code 2

MAI Code 2 targets complex engineering tasks in real repositories, accepts text and image input, and is designed for multi-file implementation, deep debugging, and production-ready code.

CurrentCodingAgentMultimodalWeights not released

Released by Microsoft on 2026-11-17 and available in GitHub Copilot. Its model card lists 1.05M context, a 922K input limit, and a 128K output limit; the official launch post does not publish a directly callable API model ID.

MODEL NUMBER173
First public date
2026-11-17
Organization
Microsoft AI
Family
MAI
01

Specifications

Only published specifications are shown.

Active parameters
80B↗
Architecture
MoE↗
Context
1,050,000 tokens↗
Maximum input
922,000 tokens↗
Maximum output
128,000 tokens↗
Input modalities
Text · Image↗
Output modalities
Text↗
Open weights
No↗
Status
Current↗
02

Overview

Release dates

— On November 17, Microsoft introduced MAI Code 2 / Flash, Cyber 2 Flash, Image 2.7 / Flash, Realtime 1, and Decision 1.1; Image 2.7 also expanded into public preview on Foundry. ↗

Why it mattered

Microsoft introduced the MAI Code 2 family at Ignite. Its model card confirms that Code 2 and Flash share an architecture family and training recipe and were trained from scratch by Microsoft; Code 2 is the larger model for complex engineering. Total parameters are given only as a range, so no single total is entered.

03

Architecture & capabilities

Model capabilities

CodingAgentTool useLong contextVision
04

Release history

General release

On November 17, Microsoft introduced MAI Code 2 / Flash, Cyber 2 Flash, Image 2.7 / Flash, Realtime 1, and Decision 1.1; Image 2.7 also expanded into public preview on Foundry.

View source
05

Related models

Select a card to view the related model.

06

Sources

Suggest a correction

Copy this template, add the field, proposed value, and primary source, and share it with the archive maintainer.