MAI Code 1.1 Flash is Microsoft's language model with a 256K context window and up to 64K output tokens, available from 2 providers, starting at $0.2 / 1M input and $1.20 / 1M output. A lightweight coding-focused language model from Microsoft's MAI series optimized for fast code generation and completion responses.
Specifications
Canonical IDmicrosoft-mai-code-1-1-flash
TypeLanguage
StatusDeprecating
CreatorMicrosoftMicrosoft
Providers
Context Window256K tokens
Max Output64K tokens
Input ModalitiesImage
Output ModalitiesText
Reasoning Effortsdefault
Deprecation Date

Capabilities

Input1/5
Text·
Image✓
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities5/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling✓
Structured Outputs✓
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
azure_ai/MAI-Code-1.1-Flash
$0.2$1.20$0.02
GitHub Models logo
GitHub Models
github_copilot/mai-code-1.1-flash
$0.2$1.20$0.02

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
MAI Image 2.6 Flash32K$1.75$19.00Available
MAI Voice 2.1 Flash—$15.00—Available
MAI Voice 2 Flash—$15.00—Available
MAI Code 1.1 Flash—256K$0.200$1.20Current
MAI Code 1 Flash—128K——Available
MAI Code 1 Flash Internal—128K——Available
MAI Cyber 1 Flash—256K$0.600$3.50Available

Other Models

ModelTierReleasedContextInput / 1MOutput / 1M
MAI Image 2.6—32K$5.00$38.00
MAI Transcribe 2 Streaming————
MAI Voice 2.1——$22.00—
MAI Transcribe 2————
MAI Voice 2——$22.00—
MAI Image 2 Efficient—————
MAI Image 2.5——32K$5.00—
MAI Image 2.6 Preview—————
MAI Image 2.7 Preview—————
MAI Image 2.5 ProPro—32K$5.00—

Model IDs

azure_ai/MAI-Code-1.1-Flash
github_copilot/mai-code-1.1-flash
microsoft-mai-code-1-1-flash