{"slug": "mai-code-2-and-mai-code-2-flash-in-github-copilot", "title": "MAI Code 2 and MAI Code 2 Flash in GitHub Copilot", "summary": "Microsoft AI released MAI Code 2 and MAI Code 2 Flash into GitHub Copilot, expanding the MAI-Code family from lightweight coding assistance to agentic software engineering. MAI Code 2 targets complex tasks such as deep debugging, multi-file implementation, refactoring and repository-wide reasoning, while MAI Code 2 Flash is a lightweight, cost-efficient model for code explanations, targeted edits, routine fixes and rapid iteration. Both models are billed under usage-based billing; MAI Code 2 is available on Copilot Pro, Pro+, Max, Business and Enterprise, and MAI Code 2 Flash also reaches Copilot Free and Student plans, selectable across VS Code, Visual Studio, Copilot CLI, the Copilot cloud agent, github.com, GitHub Mobile, JetBrains, Xcode and Eclipse.", "body_md": "# MAI Code 2 and MAI Code 2 Flash in GitHub Copilot\n\nThe next generation of Microsoft AI (MAI) coding models has arrived in GitHub Copilot. Introducing **MAI Code 2** and **MAI Code 2 Flash**, two new models that represent a major step forward for the MAI-Code family, expanding from lightweight coding assistance to complex, agentic software engineering.\n\n- **MAI Code 2:** A powerful, general purpose coding model built to help developers get from request to result with focused responses, practical code changes, and less unnecessary back and forth. Ideal for complex tasks like deep debugging, multi-file implementation, refactoring, and repository-wide reasoning.\n- **MAI Code 2 Flash:** A lightweight, cost-efficient coding model optimized for everyday development workflows. Well suited for code explanations, targeted edits, routine fixes, and rapid iteration.\n\nBoth models are designed for agentic coding workflows, giving developers more flexibility to choose the model that best fits their task.\n\nRead the [MAI Code 2 and MAI Code 2 Flash announcement](https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/) for a deeper look at the model’s vision support, coding performance improvements, and efficiency gains.\n\nThese models are billed under usage-based billing. For more details, see [Models and pricing for GitHub Copilot](https://docs.github.com/copilot/reference/copilot-billing/models-and-pricing?utm_source=mai-model-changelog-pricing-docs&utm_medium=changelog&utm_campaign=ignite-nov-2026).\n\n### [Availability in GitHub Copilot](#availability-in-github-copilot)\n\n- **MAI Code 2:** Copilot Pro, Pro+, Max, Business, and Enterprise\n- **MAI Code 2 Flash:** Copilot Free, Student, Pro, Pro+, Max, Business, and Enterprise\n\nBoth models are available to eligible GitHub Copilot subscribers on annual plans.\n\nYou can select the models in the model picker in:\n\n- Visual Studio Code\n- Visual Studio\n- Copilot CLI\n- GitHub Copilot cloud agent\n- GitHub Copilot app\n- github.com\n- GitHub Mobile iOS and Android\n- JetBrains\n- Xcode\n- Eclipse\n\n### [Enabling access](#enabling-access)\n\nCopilot Enterprise and Copilot Business plan administrators can manage access to MAI models through the model policy in Copilot settings. Under default model enablement, new models are enabled automatically unless an administrator has turned off the global default or explicitly disables the model.\n\n### [Learn more](#learn-more)\n\nTo learn more about the new models, see the [MAI Code 2 page](https://microsoft.ai/models/mai-code-2/).\n\nTo explore all models available in GitHub Copilot, see our [documentation on supported models](https://docs.github.com/copilot/reference/ai-models/supported-models?utm_source=mai-model-changelog-supported-model-docs&utm_medium=changelog&utm_campaign=ignite-nov-2026) and get started with Copilot.\n\n### [Share your feedback](#share-your-feedback)\n\nWe’d love to hear about your experience using MAI Code 2 and MAI Code 2 Flash. Join the [GitHub Community](https://github.com/orgs/community/discussions/213300?utm_source=mai-model-changelog-community-discussion&utm_medium=changelog&utm_campaign=ignite-nov-2026) to share your feedback and help us continue improving these models.", "url": "https://wpnews.pro/news/mai-code-2-and-mai-code-2-flash-in-github-copilot", "canonical_source": "https://github.blog/changelog/2026-11-17-mai-code-2-and-mai-code-2-flash-in-github-copilot", "published_at": "2026-11-17 18:01:45+00:00", "updated_at": "2026-11-17 19:55:34.602959+00:00", "lang": "en", "topics": ["ai-products", "ai-tools", "developer-tools", "large-language-models", "ai-agents"], "entities": ["Microsoft AI", "GitHub Copilot", "MAI Code 2", "MAI Code 2 Flash", "Visual Studio Code", "GitHub", "JetBrains", "Xcode"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/mai-code-2-and-mai-code-2-flash-in-github-copilot", "markdown": "https://wpnews.pro/news/mai-code-2-and-mai-code-2-flash-in-github-copilot.md", "text": "https://wpnews.pro/news/mai-code-2-and-mai-code-2-flash-in-github-copilot.txt", "jsonld": "https://wpnews.pro/news/mai-code-2-and-mai-code-2-flash-in-github-copilot.jsonld"}}