AI Token Calculator · Microsoft · Lightweight

MAI-Code-1.1-Flash cost in GitHub Copilot

$0.20 input and $1.20 output per 1M tokens. A typical Copilot Chat request is about 0.266 AI Credits, number 4 of 29 from cheapest.

MAI-Code-1.1-Flash prices

Rate, USD per 1M tokensStandard
Input$0.20
Cached input$0.02
Cache write—
Output$1.20

Cached input is 10% of the input price on MAI-Code-1.1-Flash. GitHub lists no cache-write price, so cache writes are charged as normal input. Output costs 6.0× input. 1 AI Credit = $0.01.

What a request costs on MAI-Code-1.1-Flash

0.076
AI Credits · quick question, 2,000 in and 300 out ($0.0008)
0.266
AI Credits · typical chat request, 8,500 in and 800 out ($0.0027)
5.91
AI Credits · agent task, 20 model calls ($0.06)
106
AI Credits a month for 400 chat requests, 6% of one Business seat

The chat request is Copilot’s typical context in a new chat (instructions, tool definitions and a referenced file) around a short prompt, with an 800-token answer. The agent task starts at 12,000 input tokens, adds 3,000 per call for answers and tool output, and reads 85% of each later call from cache. These are examples: your own requests can be larger or smaller.

Price your own text on MAI-Code-1.1-Flash

MAI-Code-1.1-Flash compared with other Copilot models

On the typical chat request, MAI-Code-1.1-Flash is number 4 of 29 from cheapest. GPT-6 Luna is the cheapest at 0.125 credits, so MAI-Code-1.1-Flash costs 2.1× as much. A cheaper model is only cheaper if it gets the answer right first time: retries and long answers cost more than the price gap.

ModelCredits per chat requestInput / output per 1M
Claude Haiku 5.5Anthropic · Lightweight 0.125 $0.10 / $0.50
GPT-5.6 LunaOpenAI · Lightweight 0.266 $0.20 / $1.20
MAI-Code-1.1-FlashMicrosoft · Lightweight 0.266 $0.20 / $1.20
GPT-5.4 nanoOpenAI · Lightweight 0.270 $0.20 / $1.25
Gemini 3.8 FlashGoogle · Versatile 0.938 $0.75 / $3.75

All 29 models, side by side: GitHub Copilot model prices.

Questions about MAI-Code-1.1-Flash pricing

How much does MAI-Code-1.1-Flash cost in GitHub Copilot?

MAI-Code-1.1-Flash costs $0.20 per 1M input tokens, $0.02 per 1M cached input tokens and $1.20 per 1M output tokens. At 1 AI Credit = $0.01, a typical Copilot Chat request of 8,500 input and 800 output tokens costs about 0.266 AI Credits.

How many MAI-Code-1.1-Flash requests fit in a Copilot Business seat?

A Business seat includes 1,900 AI Credits a month, pooled across the organization. At about 0.266 credits per typical chat request, that is roughly 7,142 requests on MAI-Code-1.1-Flash. Agent tasks use far more: the 20-call example on this page costs about 5.91 credits.

Does MAI-Code-1.1-Flash have a long-context price?

No. GitHub lists one set of rates for MAI-Code-1.1-Flash, whatever the request size.

These are estimates. What you are billed is what GitHub reports under Billing → AI usage.

↑↓ navigate ↵ open