Last refreshed 2026-06-02. Next refresh: weekly.
Why use MAI-Code-1-Flash on Microsoft Foundry?
Microsoft Foundry offers MAI-Code-1-Flash with competitive pricing. Microsoft Foundry is a unified Azure platform-as-a-service offering for enterprise AI operations, model builders, and application development.
Setup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: MAI-Code-1-FlashMAI-Code-1-FlashRequest example
MAI-Code-1-Flash.Gotchas
- Use provider model ID "MAI-Code-1-Flash", not the LLMReference slug "mai-code-1-flash".
Capabilities
About MAI-Code-1-Flash
MAI-Code-1-Flash is Microsoft AI's lightweight agentic coding model built directly inside GitHub Copilot's production harness. It is designed for fast everyday developer workflows, adaptive thinking by task complexity, multi-turn instruction following, and token-efficient coding. Microsoft reports 51.2% on SWE-bench Pro versus 35.2% for Claude Haiku 4.5 in the same Copilot harness, plus stronger results on SWE-bench Verified, SWE-bench Multilingual, and Terminal-Bench 2.0 without publishing exact scores for those secondary benchmarks.
FAQ
What API model ID do I use for MAI-Code-1-Flash on Microsoft Foundry?
Use the model ID MAI-Code-1-Flash when calling Microsoft Foundry's API.
Who created MAI-Code-1-Flash?
MAI-Code-1-Flash was created by Microsoft AI as part of the MAI model family.
Is MAI-Code-1-Flash open source?
MAI-Code-1-Flash is not open source; the seed data lists it as proprietary.