MAI Code 2 Flash

Proprietary1.05M context

MAI Code 2 Flash is a proprietary model from Microsoft with a 1.05M-token context window. 1 provider lists it: Microsoft Azure, at $0.05 per million input tokens and $0.25 per million output tokens, checked 3 Dec 2026.

$0.05
Lowest input, per 1M
$0.25
Lowest output, per 1M
1
Providers listed

Providers serving MAI Code 2 Flash

Microsoft Azure charges $0.05 in · $0.25 out. Prices in US dollars per million tokens, checked 3 Dec 2026; the source link opens where the price is published.

Providers serving MAI Code 2 Flash, cheapest first by blended rate
ProviderInputOutputContextModel IDSource
Microsoft Azure$0.05$0.251.05MMAI-Code-2-Flash

How each provider handles your prompts

For each provider's paid API, from its own pages, checked 26 Oct 2026. Where a promise lives matters: a signed agreement binds the provider, while a docs page can change without notice. Not legal advice.

How each provider serving MAI Code 2 Flash handles your prompts
ProviderTrains on your promptsKeeps promptsZero retentionData processing agreement
Microsoft Azure
Approved 'modified abuse monitoring' turns off the storage and human review; stateful features (Responses API, stored completions, Assistants threads) keep history as you configure them.MoreLess
No
Prompts and outputs flagged by abuse monitoring may be stored for human review; no retention period stated
Enterprise plans only
Public

More from Microsoft

QAI lists these prices; it does not serve or resell these models. Prices are each provider's standard on-demand list price in US dollars per million tokens (default region, standard tier, peak hours, base context tier), checked on the date shown against the provider's own published prices or, where it has no public price page, its listing on OpenRouter. Most benchmark scores come from Artificial Analysis; Epoch AI (GPQA Diamond), MathArena (AIME 2026) and the APEX-Agents and CritPt leaderboards add the rest, and where none of them has a model, or none ran it at full capability, a figure its maker published may stand in (marked v); in some benchmarks it was run the maker's own way, which its note names. Each benchmark follows one test setup, the one used by the source that covers the most models, and leaves results from other setups out. Each score is the best its source published across the model's settings, names any non-default setting, and links to its source.

An AIME 2026 score noted “released after the exam” comes from a model released after the exam, so the problems may have been in its training data. GDPval-AA is a rating against other models (Elo), not a percentage. Data as of 3 Dec 2026.

Sources and licences