• Answer

What MAI Code 2 and MAI Code 2 Flash cost in GitHub Copilot AI credits

If your team pays for Copilot Business, both of Microsoft’s new coding models are on your plan. At promotional pricing, MAI Code 2 costs 50 AI credits per 1M input tokens and 250 per 1M output tokens, and MAI Code 2 Flash a tenth of that.

What each model costs

Both are billed under usage-based billing. Each token is priced by model, and the total is converted into AI credits, where 1 AI credit = $0.01 USD. As of November 20, 2026, GitHub lists these promotional prices per 1M tokens.

  • MAI Code 2: $0.50 input, $0.025 cached input and $2.50 output. That’s 50, 2.5 and 250 AI credits.
  • MAI Code 2 Flash: $0.05 input, $0.005 cached input and $0.25 output. That’s 5, 0.5 and 25 AI credits.

What your allowance covers

Copilot Business and Enterprise include per-user AI credit allowances, pooled at the billing entity level. Individual plans include allowances that vary by plan. Usage past your pool is billed in AI credits at the per-token rates.

Code completions and next edit suggestions aren’t billed in AI credits. They stay unlimited on all paid Copilot plans.

Can your developers pick them yet?

  • MAI Code 2: Copilot Pro, Pro+, Max, Business and Enterprise.
  • MAI Code 2 Flash: Copilot Free, Student, Pro, Pro+, Max, Business and Enterprise.

Both are available to eligible subscribers on annual plans.

On Business, admins manage access through the model policy in Copilot settings. New models are enabled automatically unless an admin turned off the global default or disabled the model.

What each model is for

GitHub describes MAI Code 2 as a general purpose coding model for complex tasks such as multi-file implementation and refactoring. Flash is the lightweight, cost-efficient one for everyday work such as targeted edits and routine fixes.

Microsoft says that, averaged over four benchmarks, MAI Code 2 gives 98% of the performance of GPT-6.1 Sol at 40% of the cost, and 96% of Claude Opus 5.5’s performance at 5% of the cost.

Our take

We’d check the model policy first, then agree a default by task: Flash for targeted edits and routine fixes, the larger model for multi-file work. Output is the expensive side on both, so that’s the usage we’d watch in a pooled allowance.

About VelocityStack

VelocityStack builds AI workflows, agents and internal tools for small teams. Two coding models at two prices is a routing question: we help you pick the model for each job, set up its prompts and build the workflow around it, in the tools you already use.

See how we set up AI workflows or book a 20-minute call.

Sources

  1. MAI Code 2 and MAI Code 2 Flash in GitHub Copilotgithub.blog
  2. Models and pricing for GitHub Copilotdocs.github.com
  3. MAI Code 2 and Code 2 Flash: Everyday coding at scalable pricesmicrosoft.ai

Found an error? Tell us.

Related service AI automation