GitHub CopilotMAI Code 2 Flash

GitHub Copilot

MAI Code 2 Flash

Microsoft's lightweight coding model for explanations, targeted edits and routine fixes at high volume

mai-code-2-flash
Context
1.1M
Max output
128K
Input $/M
$0.05
Output $/M
$0.25
Cache read $/M
$0.005
Cache write $/M
—

Against the catalogue

Context window1.1M

Larger than 99% of the 10,022 models listed

Input price$0.05

Cheaper than 90% of priced models

Capabilities

Reasoningsupported
Tool callingsupported
Structured outputsupported
Attachmentssupported
Temperaturenot supported
Open weightsnot supported
Interleaved thinkingnot supported

Modalities

Input
TextImage
Output
Text

Reasoning controls

effortlow, medium, high, xhigh, max

Pricing detail

RateBase $/M
Input$0.05
Output$0.25
Cache read$0.005