impulse

Mai Code 1.1 Flash

Retiring 9 Dec 2026
API id MAI-Code-1.1-Flash
A newer model in this line is out: Mai Code 2 Flash.
Azure AI Foundry retires it on 9 Dec 2026 (in 21 days). No API serves it after that.
Input / 1M
$0.20
at Azure AI Foundry
Output / 1M
$1.20
at Azure AI Foundry
Context window
256K
tokens
Max output
64K
tokens per reply
Hosts
1
2 listings
Released
-
date not published

Pricing

List prices at Azure AI Foundry, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.20$1.20
Cached input
90% off input
$0.02

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
Use your own numbers

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.

HostIn / out per 1M
MAI-Code-1.1-Flash
$0.20 / $1.20
Retires 9 Dec 2026
GitHub CopilotSubscription
mai-code-1.1-flash
In the subscription

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

  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    56% less
  • GPT-6 Luna
    OpenAI · on OpenAI
    $0.10 / $0.50
    Has every key capability
    56% less
  • GPT-4o Mini
    OpenAI · on OpenAI
    $0.15 / $0.60
    Lacks reasoning
    42% less

Open-weight picks

  • MiMo V2.6 Pro
    Xiaomi · on GMI Cloud
    $0.348 / $0.696
    Has every key capability
    3% less
  • MiniMax M3
    MiniMax · on EmpirioLabs AI
    $0.225 / $0.90
    Has every key capability
    12% less
  • Muse Glimmer 30B
    Meta · on EmpirioLabs AI
    $0.20 / $0.80
    Has every key capability
    22% less
  • Qwen3.8 27B
    Alibaba Qwen · on EmpirioLabs AI
    $0.17 / $0.50
    Has every key capability
    44% less

Model line

Newer and older versions, at each lab's own price.

  1. UndatedMai Code 2 FlashLatest$0.05 / $0.25
  2. UndatedMai Code 1.1 FlashThis page$0.20 / $1.20

Call it

Using Azure AI Foundry's API.

Python
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
}