LLM Reference
Microsoft Foundry

MAI-Code-1 on Microsoft Foundry

MAI · Microsoft AI

Serverless

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.

Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: MAI-Code-1
Model ID
MAI-Code-1

Request 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.

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.

Get Started