MAI-Code-1
MAI-Code-1 is worth evaluating for coding when its provider route and context window match the workload.
Use it for
- Teams evaluating coding
- Buyers comparing 1 tracked provider route
Do not use it for
- Vision or document-understanding workloads
- Strict JSON or tool-calling flows
- Family
- MAI
- Released
- 2026-06-02
- Specialization
- code
- Openness
- Proprietary
- License
- ProprietaryCommercial use: conditional
- Weights
- Not released
- Code
- Unknown
- Training
- Fine-tuned
Cheapest of 1 route · Microsoft Foundry
About
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.
MAI-Code-1 is a proprietary model in the MAI family. This page tracks provider routes through Microsoft Foundry. No headline benchmark score is tracked for MAI-Code-1 yet.
Top use-case fit: coding, agents, and build tasks
Coding
Included by capability and metadata signals in the decision map.
Provider price ladder
Compare API pricing across 1 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Microsoft Foundry | - | - | ServerlessPartial |
Available via routers & gateways(5)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, semantic caching, and guardrails; Apache 2.0 core is fully self-hostable with the complete feature set.
Azure AI Foundry Model Router
RouterMicrosoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache 2.0 open-source core with a managed hosted tier for logging and analytics.
Kong AI Gateway
GatewayMulti-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Capabilities
No model capability flags are currently sourced.
Benchmark peer barsfor Coding
No task-mapped benchmark peers are available for this model yet.
Migration checks
No linked migration route is available for this model yet.
Frequently asked questions
When was MAI-Code-1 released?
MAI-Code-1 was released on 2026-06-02.
Which providers offer MAI-Code-1?
MAI-Code-1 is available from 1 provider: Microsoft Foundry.
Cheapest of 1 route · Microsoft Foundry