Last refreshed 2026-06-15. 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.
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: MAI-Code-1Model ID
MAI-Code-1Request example
Curated snippets for this provider are not sourced yet. Use Microsoft Foundry documentation with model ID
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.
Get Started
Model Specs
Released2026-06-02