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.
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.
| Provider | Trains on your prompts | Keeps prompts | Zero retention | Data processing agreement |
|---|---|---|---|---|
Microsoft AzureApproved '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 |