# MAI Code 2 Flash

> MAI Code 2 Flash is Microsoft's lightweight coding model for high-volume work such as code explanations, targeted edits, routine fixes and rapid iteration. It brings strong coding quality to routine work at a much lower cost.

**ID**: `microsoft/mai-code-2-flash`  
**Creator**: microsoft  
**Category**: text  
**Context**: Not published  
**Status**: Coming soon — announced, not yet routable on AnyRouter; requests return 404 `model_not_yet_available`.  
**Note**: Coming soon. Microsoft lists MAI Code 2 Flash in GitHub Copilot and in a limited-access Microsoft Foundry preview, with OpenRouter, Vercel, Hermes, OpenCode and Kilo routes planned. No public API price or wire id is published yet, so there is no routable upstream.  
**Pricing**: Not published yet  
**Released**: 2026-11-17  
**Links**: [Announcement](https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/)  
**Web page**: https://anyrouter.dev/model/microsoft/mai-code-2-flash

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: chat, streaming, function-calling
