---
title: "MAI Code 2 Flash across providers · providers.dev"
description: "MAI Code 2 Flash (microsoft/mai-code-2-flash) at 1 entry (1 by subscription) across providers and access methods: context window 922,000 tokens, maximum output 128,000 tokens."
canonical: https://providers.dev/models/microsoft/mai-code-2-flash/
---

[Models](https://providers.dev/models/) / MAI Code 2 Flash

# MAI Code 2 Flash

`microsoft/mai-code-2-flash`

- Context window
  922K tokens
  Its only entry
- Maximum output
  128K tokens
  Smallest to largest among its entries
- Entries
  1
  1 by subscription
- With providers.dev evidence
  0
  Corrections or evaluations

Entries for MAI Code 2 Flash

| Model | Provider | Context window | Max output | Price in / out | Released | Cache lifetime | Source |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [MAI Code 2 Flash](https://providers.dev/entries/github-copilot/mai-code-2-flash)<br>`mai-code-2-flash` | [GitHub Copilot](https://providers.dev/providers/github-copilot/) Subscription | [922K](https://providers.dev/entries/github-copilot/mai-code-2-flash#limits) | [128K](https://providers.dev/entries/github-copilot/mai-code-2-flash#limits) | In plan | 2026-11-17 | Short Unknown Long Unknown | models.dev 2026-11-30 pi.dev 2026-11-30 |

[`GET /api/v1/models/microsoft/mai-code-2-flash`](https://providers.dev/api/v1/models/microsoft/mai-code-2-flash)

---

providers.dev

Model metadata per provider and access method. The baseline is imported from [models.dev](https://models.dev/) (MIT, © 2025 models.dev); the model catalog of [Pi](https://pi.dev/models) (MIT) is shown beside it. providers.dev is independent and is not affiliated with or endorsed by models.dev, Pi or any listed provider.

## Dataset

- models.dev imported 2026-11-30
- Pi's catalog fetched 2026-11-30
- [Version and publication](https://providers.dev/#dataset)

## Reference

- [API documentation](https://providers.dev/docs/api/)
- [OpenAPI document](https://providers.dev/api/v1/openapi.json)
- [Methodology](https://providers.dev/docs/methodology/)
- [Licensing and attribution](https://providers.dev/docs/licensing/)
- [Contributing](https://providers.dev/docs/contributing/)
- [Provimux](https://provimux.providers.dev/)
- [Provimux support](https://provimux.providers.dev/support/)
- [pi-cache-keeper](https://pi-cache-keeper.providers.dev/)
- [Gabriel Voicu](https://ngvoicu.dev/)
- [LLM cost audit](https://ngvoicu.dev/consulting/#llm-cost-audit)
- [Contact](mailto:office@providers.dev)
