AI Rate Card

Base model

MAI Code 2 Flash

from $0.05 at 2 providers

microsoft/mai-code-2-flash · 2 providers · Text models ·

Found 2

Simple Full

Download

The offers of the current filter, current prices in USD.

Free for everyone, no sign-in needed: the whole catalog in one file, up to 20 downloads an hour (60 with a free account).

JSONCSVYAMLExcel

The same as an API for bots (format=json|csv|yaml, limit, offset):

https://airatecard.com/export?format=json&model=microsoft%2Fmai-code-2-flash

API parameters and a form

ModelVariantIconProviderInput, $Output, $Your cost/mo, $Subscription, $/moRegionContextMax outputAcceptsLast checkedRecommendActions
= MAI Code 2 Flash×
Provider
Pricing
Region
Input
Status
MAI Code 2 FlashMAI Code 2 Flashazure ↗$0.05$0.25—1.1M128Ktext, image29 Nov
12:09
MAI Code 2 FlashMAI Code 2 Flashgithub-copilot ↗$0.05$0.25—1.1M128Ktext, image29 Nov
12:00

Ranges in one field: "from-to" - "0.5-3", "-3" (up to), "128k-" (from); a colon works too. Several ticked values of one column are ORed, columns are ANDed.

Input price history, $/1M

Input price history, $/1Mminimummedian$0.055$0.0452026-11-182026-11-29$0.05$0.05

Latest: minimum $0.05, median $0.05 (Nov 29, 2026)

The market for MAI Code 2 Flash today

MAI Code 2 Flash is priced per token by 2 providers that we check daily; input costs from $0.05 to $0.05 per 1M tokens. The typical (median) input price is $0.05. azure is the cheapest on both input and output.

The MAI family - base models: 18
About the model: cost of your workload, questions, comparisons, citation

Cost of my workload → in the Tools tab: every provider of this model, cheapest first

Frequently asked questions

How much does MAI Code 2 Flash API cost?

From $0.05 input and $0.25 output per 1M tokens, at azure.

Which provider offers MAI Code 2 Flash cheapest?

azure offers the lowest price, $0.05 per 1M tokens, among 2 providers.

What is the context window of MAI Code 2 Flash?

1.1M tokens.

Compare

vs Claude Fable 5 vs Claude Fable 5.1 vs Claude Haiku 4.5 (latest)

Source: AI Rate Card, https://airatecard.com/en/model/microsoft/mai-code-2-flash, prices checked 2026-11-29