MAI-Code-1-Flash in GitHub Copilot

Microsoft - Lightweight

In GitHub Copilot, MAI-Code-1-Flash costs $0.75 per 1M input tokens and $4.5 per 1M output tokens, billed as AI credits at $0.01 each. A typical daily-coding request works out to about 1.1 credits (about $0.01) with auto model selection on. Rates verified against GitHub's rate sheet on 2026-07-14.

Token rates

Input / 1M
$0.75
Cached input / 1M
$0.08
Output / 1M
$4.50
Cost per credit
$0.01

Credits per request

Defined workload baskets, not measured tasks, with auto model selection on.

WorkloadCredits (auto on)Credits (auto off)Cost
Short chat turn0.50.6$0.01
Daily coding request1.11.2$0.01
Agent session step3.63.9$0.04

At about 1.1 credits per daily-coding request, MAI-Code-1-Flash ranks #6 of 22 current models by cost, about 3.7x the cheapest (GPT-5.4 nano).

Requests per plan allowance

Daily-coding requests the included monthly credits buy, before any overage.

PlanCredits / monthRequests
Copilot Pro1,5001,424
Copilot Pro+7,0006,647
Copilot Max20,00018,993
Copilot Business1,9001,804
Copilot Enterprise3,9003,703
Estimate your monthly burn with MAI-Code-1-Flash

Cheaper: GPT-5.4 mini - Pricier: Kimi K2.7 Code

All models - GitHub AI Credits