Last refreshed 2026-06-02. Next refresh: weekly.
Why use MAI-Code-1 on Microsoft Foundry?
Microsoft Foundry offers MAI-Code-1 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-1MAI-Code-1Request example
MAI-Code-1.Gotchas
- Use provider model ID "MAI-Code-1", not the LLMReference slug "mai-code-1".
Capabilities
No model capability flags are currently sourced.
About MAI-Code-1
MAI-Code-1 is Microsoft AI's inference-efficient coding model tuned for the GitHub and developer ecosystem. It is integrated into GitHub Copilot and Visual Studio Code for more capable agentic coding tasks than the lighter Flash variant. Microsoft had not published context window, parameter count, benchmark scores, or standalone token pricing at launch, so treat it as a Copilot-route coding model until more technical details are released.
FAQ
What API model ID do I use for MAI-Code-1 on Microsoft Foundry?
Use the model ID MAI-Code-1 when calling Microsoft Foundry's API.
Who created MAI-Code-1?
MAI-Code-1 was created by Microsoft AI as part of the MAI model family.
Is MAI-Code-1 open source?
MAI-Code-1 is not open source; the seed data lists it as proprietary.