Mai Code 1.1 Flash
MAI-Code-1.1-FlashPricing
List prices at Azure AI Foundry, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $0.20 | $1.20 | |
| Cached input 90% off input | $0.02 | 90% off input |
What it costs a month
At Azure AI Foundry list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$134
- RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$96.00
- Coding agent1,000 requests a day, 40K in / 2K out, cached$161
- Overnight batch20,000 requests a day, 4K in / 0.4K out$768
Where to run it
1 host serve Mai Code 1.1 Flash. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Azure AI FoundryCloud MAI-Code-1.1-Flash | $0.20 / $1.20 Retires 9 Dec 2026 | MAI-Code-1.1-Flash | Retires 9 Dec 2026 |
GitHub CopilotSubscription mai-code-1.1-flash | In the subscription | mai-code-1.1-flash |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- ImagesText
- Produces
- Text
- Features
- Prompt caching
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Azure AI Foundry.
Smaller Microsoft models
No cheaper Microsoft model keeps its key capabilities.
Other frontier labs
- 56% less
- 56% less
- 42% less
Open-weight picks
- 3% less
- 12% less
- 22% less
- 44% less
Model line
Newer and older versions, at each lab's own price.
- UndatedMai Code 2 FlashLatest$0.05 / $0.25
- UndatedMai Code 1.1 FlashThis page$0.20 / $1.20
Call it
Using Azure AI Foundry's API.
from litellm import completion
response = completion(
model="azure_ai/MAI-Code-1.1-Flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Mai Code 1.1 Flash cost?
On Azure AI Foundry, Mai Code 1.1 Flash costs $0.20 per million input tokens and $1.20 per million output tokens. Cached input costs $0.02 per million tokens.
Which APIs offer Mai Code 1.1 Flash?
Mai Code 1.1 Flash runs on 1 API: Azure AI Foundry.
What is Mai Code 1.1 Flash's context window?
256K tokens, with up to 64K tokens in one reply.
Is Mai Code 1.1 Flash being retired?
Azure AI Foundry retires it on 9 Dec 2026. No API serves it after that.
Is there a newer version of Mai Code 1.1 Flash?
Yes. Mai Code 2 Flash is the newest model in this line.
What are cheaper alternatives to Mai Code 1.1 Flash?
Models that cost less and keep most of what it can do: Claude Haiku 5.5 on Anthropic (56% less), GPT-6 Luna on OpenAI (56% less) and MiMo V2.6 Pro on GMI Cloud (3% less). Savings are on a mix of 3 input tokens to 1 output token.
What is Mai Code 1.1 Flash's API model id?
Use MAI-Code-1.1-Flash with Azure AI Foundry.
Sources
Raw catalog entry for MAI-Code-1.1-Flash on Azure AI Foundry
{
"cache_read_input_token_cost": 2e-8,
"deprecation_date": "2026-12-09",
"input_cost_per_token": 2e-7,
"litellm_provider": "azure_ai",
"max_input_tokens": 256000,
"max_output_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 0.0000012,
"source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supported_modalities": [
"text",
"image"
],
"supported_output_modalities": [
"text"
],
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": true
}