{"slug": "mai-code-2-in-copilot-2-models-7-plans-1-free-tier", "title": "MAI Code 2 in Copilot: 2 Models, 7 Plans, 1 Free Tier", "summary": "GitHub made Microsoft's MAI Code 2 and MAI Code 2 Flash selectable in Copilot on November 17, 2026, across VS Code, JetBrains IDEs, Visual Studio, Copilot CLI, the cloud agent, Xcode and Eclipse. MAI Code 2 requires a paid Copilot plan starting at Pro, while Flash is available on all seven Copilot tiers including Free and Student, and Microsoft stated a 1-million-token context window for Flash. Both models use usage-based billing, and Flash also entered limited-access preview in Microsoft Foundry.", "body_md": "Microsoft’s new coding models reached developers on [November 17, 2026](https://github.blog/changelog/month/11-2026/page/2/), when GitHub made MAI Code 2 and MAI Code 2 Flash selectable in Copilot. The two models show up in the model picker inside Visual Studio Code and JetBrains IDEs, plus Visual Studio, Copilot CLI, the cloud agent, Xcode and Eclipse. MAI Code 2 needs a paid Copilot plan. Flash also runs on the Free and Student tiers.\n\nThat puts a Microsoft-built coding model within reach of free GitHub users, even if only the lighter Flash variant. It also muddies a question many developers are now searching for: does MAI Code 2 work in JetBrains AI Assistant, or only through the GitHub Copilot plugin? The evidence points to the plugin. Nothing in the retrieved JetBrains material names either model.\n\nThe launch landed in the middle of a crowded month for coding tools. Microsoft announced seven MAI models at Ignite, GitHub swapped the agent engine inside VS Code, and rivals kept shipping. Our earlier look at [Microsoft’s wider slate of MAI models](https://shattered.io/microsoft-unveils-six-mai-models-ignite-code-2-98-percent-claim/) covered the corporate side. This analysis stays on the developer side: who gets access, what the token rates look like, and what changes inside two of the most popular editors.\n\nDon't miss new tech stories on Google\n\nAdd Shattered once in the Google app and our stories show up in your news suggestions.\n\n[Add now](https://www.google.com/preferences/source?hl=en&q=https%3A%2F%2Fshattered.io%2F)\n\n## What Microsoft shipped on November 17\n\nMicrosoft AI released two models as one family. MAI Code 2 targets complex, agentic software engineering, the kind of task where a model reads a repository, edits several files and runs commands to check its own work. MAI Code 2 Flash is the lightweight sibling. Microsoft pitches it at routine, high-volume work such as explaining code, making targeted edits, fixing small bugs and iterating quickly. The company stated a 1-million-token context window for Flash.\n\nThe model card lists training dates of August through November 2026 and a release date of November 17, 2026. That is a short cycle. Microsoft describes both models as designed for everyday enterprise coding tasks, and positions them as lower-cost alternatives to competing coding models. That positioning matters more than any single benchmark, because it frames the launch as a price play inside Copilot rather than a bid for the top of a leaderboard.\n\nGitHub’s own listing says both models use usage-based billing. It does not announce a new model-specific subscription price. It also says the models are available to eligible Copilot subscribers on annual plans, and the retrieved material does not settle whether monthly-plan customers get identical access. Teams on monthly billing should check their model picker before assuming anything.\n\nFlash additionally entered limited-access preview in Microsoft Foundry. The official material does not say the full MAI Code 2 model sits there too, and nothing confirms that Flash reached general availability in Foundry by November 27. For most developers the Copilot picker is the only door that matters today.\n\n## MAI Code 2 plan availability across Copilot tiers\n\nGitHub names seven Copilot plans in the availability notice: Free, Student, Pro, Pro+, Max, Business and Enterprise. MAI Code 2 starts at Pro. Flash covers all seven. For comparison, the table below adds Gemini 4 Neon, which GitHub opened to the four top tiers on November 18.\n\n| Copilot plan | MAI Code 2 | MAI Code 2 Flash | Gemini 4 Neon | \n|---|---|---|---|\n| Free | No | Yes | No | \n| Student | No | Yes | No | \n| Pro | Yes | Yes | No | \n| Pro+ | Yes | Yes | Yes | \n| Max | Yes | Yes | Yes | \n| Business | Yes | Yes | Yes | \n| Enterprise | Yes | Yes | Yes | \n\nThe pattern is clear. Microsoft’s own models sit lower on the access ladder than the third-party frontier models. A Pro subscriber can use MAI Code 2 but not Gemini 4 Neon. A Free user can run Flash and nothing else from this list. GitHub gains a cheap tier of models it can offer widely, and Microsoft gains distribution for models it controls end to end.\n\nAccess is one thing and cost is another. Usage-based billing means a model can be listed for a plan and still burn through that plan’s allowance quickly. GitHub’s [Copilot page](https://github.com/features/copilot/) describes AI credits as the way to pay for usage, at $0.01 per credit, with monthly allowances worth $15 for Pro, $70 for Pro+ and $200 for Max. It also says users can set a dollar budget for paid overage and get alerts at 75, 90 and 100 percent of that budget.\n\n## Token rates for MAI Code 2 and the May 17, 2027 step-up\n\nGitHub’s announcement confirms usage-based billing but does not itself publish a full token table. The rates below come from secondary reporting, including [a developer-focused write-up of the launch](https://mer.vin/news/mai-code-2-and-six-more-mai-models-what-developers-get/) and several price trackers that agree with one another. Treat them as reported figures, not official Microsoft or GitHub rates.\n\n| Rate per 1M tokens (reported) | MAI Code 2 | MAI Code 2 Flash | \n|---|---|---|\n| Input, promotional through May 17, 2027 | $0.50 | $0.05 | \n| Output, promotional | $2.50 | $0.25 | \n| Cached input, promotional | Not confirmed | $0.005 | \n| Input, after May 17, 2027 | $1.00 | $0.10 | \n| Cached input, after May 17, 2027 | $0.05 | $0.01 | \n| Output, after May 17, 2027 | $5.00 | $0.50 | \n| Step-up in headline rates | 2x | 2x | \n\nBoth models double in price on May 17, 2027, if the reports hold. That is a six-month promotional window, and it shapes how teams should read the launch. Cheap rates today are an invitation to standardize on a model that costs twice as much by spring. Anyone building a workflow around MAI Code 2 should budget for the higher rate from the start.\n\n### Why the direct-API figures stay out of the table\n\nOne more set of numbers needs a warning label. A standalone site at maicode2.com lists a separate pay-per-token API table with higher figures, $3.00 and $15.00 for MAI Code 2 and $0.30 and $1.50 for Flash. That domain is not Microsoft’s, and the figures do not match the Copilot rates above, so they stay out of the table. If Microsoft publishes a direct API price list of its own, expect it to differ from the Copilot promotional rates. Teams comparing [Claude Code, Cursor and Copilot pricing](https://shattered.io/claude-code-vs-cursor-vs-github-copilot-pricing-limits-2026/) should keep Copilot-routed costs and direct-API costs in separate columns.\n\n## What one agent step costs at the reported rates\n\nToken rates mean little until you apply them to real work. Take an illustrative agent step with repository context: 40,000 input tokens and 3,000 output tokens. That is a plausible size for a step where the agent reads a handful of files and proposes an edit. The figures below are our own arithmetic on the reported rates, not numbers from Microsoft or GitHub.\n\n- **MAI Code 2, promotional:** 0.04M input tokens at $0.50 plus 0.003M output tokens at $2.50 comes to about $0.0275 per step.\n- **MAI Code 2 Flash, promotional:** the same step costs about $0.00275, one tenth of the full model.\n- **MAI Code 2, after May 17, 2027:** about $0.055 per step.\n- **MAI Code 2 Flash, after May 17, 2027:** about $0.0055 per step.\n\nIf those models bill against a Pro plan’s $15 monthly allowance, the promotional MAI Code 2 rate covers roughly 545 steps of that size, and Flash covers roughly 5,450. After the price step, those numbers halve. The assumption matters, because GitHub has not said in the retrieved material how MAI usage maps onto each plan’s credit pool. Real sessions also vary widely, since long agent runs can chain dozens of steps with growing context.\n\nThe ratio is the useful takeaway. Flash costs one tenth of MAI Code 2 per token at both the promotional and the later rates. Any team that can route routine edits and explanations to Flash and keep the full model for hard multi-file work will cut spend sharply. A [GitHub Copilot usage audit](https://shattered.io/github-copilot-usage-audit-cursor-installs-seats-12-steps-2026/) is the practical way to find out which share of your requests are routine.\n\n## VS Code: the Copilot harness is now the default\n\nMAI Code 2 arrived in VS Code alongside a bigger change under the hood. On November 18, VS Code made the Copilot harness, built on the Copilot SDK, the default for new agent sessions. The older Local harness is being phased out and is scheduled for removal in February 2027. VS Code’s blog says Claude and Codex harnesses can also run through the Agent Host, using a supported account or a developer’s own API key.\n\nFor model choice this matters in two ways. First, MAI Code 2 reaches VS Code users through the Copilot subscription and the Copilot picker. The evidence shows no separate MAI Code 2 product for VS Code, no standalone license and no VS Code-specific pricing. Second, the harness decides how many tokens an agent burns. In one online Business and Enterprise rollout comparison, the group on the Copilot harness used 14.2% fewer tokens per active device than the group on the Local harness, with 9.6% lower estimated processing cost. That is one rollout, not a universal result, but it points in a useful direction.\n\nVS Code’s weekly releases kept moving too. GitHub’s notes identify Copilot in VS Code 1.145 in early November and 1.146 in mid-November, the latter adding an experimental Compare Models capability that lets an agent launch model comparisons and summarize the results. Microsoft’s update service reportedly lists 1.147.0 as the latest stable Linux x64 build as of November 21. Compare Models is exactly the feature a team needs when deciding whether Flash can handle a given task type, so it deserves a trial run. The wider [agent-first push in Copilot](https://shattered.io/github-copilot-agentic-coding-carbon-fable-5-2-pro-plus-39-max-100-2026/) explains why model choice now sits at the center of the editor.\n\n### On-device MAI Code 1.1 Flash is a different model\n\nDo not confuse the new hosted models with the on-device one. VS Code’s documentation lists MAI Code 1.1 Flash as the model available for on-device Copilot sessions. The download is 52.8 GB, and setup needs about 54.8 GB of free disk. The machine needs an NVIDIA GPU with at least 96 GB of memory, and unified-memory devices count toward that figure. On-device responses show 0 credits, so they do not draw on AI credit usage. Neither MAI Code 2 nor MAI Code 2 Flash appears on that documentation page.\n\n## JetBrains: Copilot plugin versus JetBrains AI Assistant\n\nJetBrains users face the biggest source of confusion. GitHub says the models are selectable in Copilot’s picker in JetBrains IDEs. That means the GitHub Copilot plugin. JetBrains AI Assistant is a separate product with its own subscription and its own model list, and no retrieved JetBrains document names MAI Code 2 or MAI Code 2 Flash. Any claim that either model is already a JetBrains AI Assistant model remains unverified as of November 27.\n\nGitHub also published a JetBrains update tied to Ignite, and Copilot became available inside JetBrains Air earlier in the month. Reported Ignite additions include remote access, on-device voice dictation, browser-use controls and historical diffs. Browser use entered public preview in Copilot CLI, the Copilot app, VS Code and JetBrains when paired with the GitHub Copilot Chrome extension, according to GitHub’s changelog. Our earlier report on how [Copilot landed in Xcode and JetBrains Air](https://shattered.io/github-copilot-xcode-jetbrains-air-two-days-2026/) covers the distribution strategy behind those moves, and Xcode’s built-in assistant integration is in public preview starting with Xcode 27.3 beta.\n\n### What JetBrains charges for its own AI\n\nJetBrains runs a credit model of its own. One AI credit equals one US dollar of AI use, charged in local currency, and third-party model usage bills at public API rates with no JetBrains surcharge. Plans renew every 30 days from activation. The AI Ultimate tier costs $30 per user per month and includes 35 monthly credits plus unlimited AI completion in JetBrains IDEs. JetBrains’ pricing page also lists AI Free and AI Pro, with AI Pro reportedly at $10 per user per month, although business pricing in the licensing documentation differs from the public individual page.\n\nJetBrains also ships Junie Lite, which works free with a JetBrains Account and no AI subscription, and its 2026.3 notes describe Claude Agent inside AI Assistant chat as part of the JetBrains AI subscription. The AI Assistant plugin on JetBrains Marketplace shows [a release published on November 5](https://plugins.jetbrains.com/plugin/22282-jetbrains-ai-assistant/versions/stable/1212941), version 202630.0, which reportedly added card verification for some Free and Trial users to prevent abuse. JetBrains says that check does not result in charges. For a head-to-head view of how the two editor ecosystems price agents, see our [Zed, VS Code and JetBrains comparison](https://shattered.io/zed-vs-vscode-vs-jetbrains-pricing-agents-2026/).\n\n## Microsoft’s 98% claim and how to read it\n\nThe headline number in Microsoft’s pitch is a comparison with OpenAI’s GPT-6.1 Sol. [The Next Web reported](https://thenextweb.com/news/microsoft-mai-code-2-licensed-weights-ignite?trk=article-ssr-frontend-pulse_little-text-block) that Microsoft says MAI Code 2 matches 98% of GPT-6.1 Sol at 40% of the price. The claim comes from Microsoft, and the retrieved material does not include an independent reproduction. A vendor-chosen benchmark on a vendor-chosen task mix proves little about your repository.\n\nTwo details deserve attention. The comparison target is GPT-6.1 Sol, which is no longer the newest OpenAI model in Copilot, because GitHub made GPT-6.2 Astra and GPT-6.2 Sol generally available for the top plans this month. Microsoft’s claim therefore measures MAI Code 2 against last generation’s flagship, not the current one. And a 98% score on a benchmark average can hide large gaps on specific tasks, such as long-horizon refactors or unfamiliar frameworks, where the last two percent often lives.\n\nThe honest reading is narrower and still useful. Microsoft says it built a model it considers close to a frontier one at a lower price. Developers can test that claim for free with Flash and cheaply with MAI Code 2 during the promotional window. The practical test is simple: run the same ten real tickets through MAI Code 2, GPT-6.2 Astra and Gemini 4 Neon, then compare the diffs and the cost per accepted change.\n\n## How MAI Code 2 stacks up in the Copilot model picker\n\nCopilot’s picker now offers a deliberately layered lineup. At the cheap end sits MAI Code 2 Flash. In the middle sits MAI Code 2. At the top sit third-party flagships, including OpenAI’s GPT-6.2 Astra and GPT-6.2 Sol, Google’s Gemini 4 Neon and Claude Fable 5.2, all of which appear in GitHub’s November changelog. GitHub says the GPT-6.2 models target agentic coding and code review with stronger coding judgment than earlier GPT-6 releases, and it lists them for Pro+, Max, Business and Enterprise.\n\nThird-party models in Copilot bill at provider list prices, according to the retrieved summary for Gemini 4 Neon. That sets up a direct price contrast. MAI Code 2 costs a few dollars per million output tokens at the reported rates, while the third-party flagships follow whatever their labs charge. Microsoft controls the pricing of its own models and can hold them below the market. A reader weighing these options alongside terminal agents should read [our GitHub Copilot versus Claude Code comparison](https://shattered.io/github-copilot-vs-claude-code-2026/) for the seat-price and agent-feature side of the decision.\n\nOne reported detail suggests how GitHub thinks about tiering. A summary of the changelog says MAI Code 2 was assigned to the Copilot Fusion Standard tier, and GitHub’s page advertises 30% off Copilot Fusion usage until December 31. The retrieved material does not explain Fusion tiers in full, so treat the tier label as a reported detail. The discount, though, adds a second price incentive on top of the promotional token rates.\n\n## A month of model churn: the Copilot timeline\n\nNovember 2026 has been unusually busy for Copilot. GitHub reportedly deprecated a group of older models across Copilot Chat, inline edits, ask mode, agent mode and code completions on November 16. A day later MAI Code 2 arrived. Within two days Gemini 4 Neon and the GPT-6.2 models followed. Earlier in the autumn GitHub had already [retired six models and shifted toward GPT-6.1 Sol](https://shattered.io/github-copilot-retires-6-models-gpt-5-6-2026/), so the pattern is now a steady rotation: new models in, old models out, every few weeks.\n\nThe rotation reaches Microsoft’s own lineup too. GitHub’s November archive lists an upcoming deprecation of MAI-Code-1.1-Flash in December, and one summary puts the date at December 18. That retirement targets the hosted Copilot model. It is a planned change and not a completed one as of November 27. Teams that pinned a model by name in scripts or policies should check for these retirements before December.\n\n| Date | Event | Status | \n|---|---|---|\n| Nov. 17, 2026 | MAI Code 2 and MAI Code 2 Flash arrive in GitHub Copilot | Shipped | \n| Nov. 18, 2026 | Gemini 4 Neon generally available for Pro+, Max, Business, Enterprise | Shipped | \n| Nov. 18, 2026 | Copilot harness becomes default for new VS Code agent sessions | Shipped | \n| Dec. 2026 | MAI-Code-1.1-Flash deprecation in Copilot | Announced | \n| Dec. 31, 2026 | 30% Copilot Fusion usage discount ends | Announced | \n| Feb. 2027 | VS Code Local harness removed | Announced | \n| May 17, 2027 | Promotional MAI Code 2 rates end | Scheduled | \n\n## Market impact: Microsoft undercuts its own partners\n\nCopilot’s model picker is a marketplace, and Microsoft now sells its own product on the shelf next to OpenAI’s, Google’s and Anthropic’s. That creates an obvious tension. Microsoft earns revenue from partner models in Copilot, yet it has strong reasons to steer routine traffic toward its own cheaper models. Every request that Flash handles instead of a third-party flagship improves margins on the heaviest part of the product, the inference bill.\n\nThe market is shifting from autocomplete toward agents that read codebases, modify files and run commands. Price becomes a stronger lever in that phase, since agent workloads consume far more tokens than autocomplete ever did. A model at one tenth the cost changes the economics of running agents all day, and GitHub’s own usage-credit system makes that cost visible to every user.\n\nCompetitors face a choice. Labs that sell models into Copilot can match the price pressure, bundle usage differently, or lean on quality gaps at the top. Terminal-first agents and rival editors have their own answers, and the wider [coding and developer tools category](https://shattered.io/category/software/) shows how fast those answers change. The deeper risk for third parties is dependence on a distributor that owns a competing model. Distribution is the moat, and Copilot has it.\n\n## What engineering teams should do now\n\nStart with a bounded test, not a migration. Pick ten to twenty real tickets across difficulty levels, including at least three that need multi-file changes. Run each through MAI Code 2 Flash, MAI Code 2 and your current default model. Record accepted changes, review time and token spend. A [structured team pilot for AI coding assistants](https://shattered.io/best-ai-coding-assistants-team-pilot-12-steps-2026/) gives a repeatable method for that comparison.\n\n- **Route by task size:** send explanations, small fixes and test scaffolding to Flash, and reserve MAI Code 2 for work that spans files.\n- **Budget for May 2027:** model costs at the post-promotion rates, not the introductory ones.\n- **Set dollar budgets:** Copilot lets users cap paid overage and trigger alerts at 75, 90 and 100 percent.\n- **Check pinned names:** scripts and policies that reference MAI-Code-1.1-Flash need an update before the December retirement.\n- **Plan for the harness change:** VS Code teams still on the Local harness have until February 2027.\n- **Confirm plan type:** GitHub’s notice references annual plans, so verify access on monthly subscriptions.\n\nSecurity and compliance teams should also review data handling before enabling a new model family for the whole organization. GitHub also announced that Copilot code-review billing will default to the organization, which affects who pays for automated reviews that use these models.\n\n## Five predictions for the next six months\n\n- **Price-step pressure builds before May 17, 2027.** Expect GitHub or Microsoft to extend, adjust or reframe the promotion, because a flat doubling would hit adoption just as teams standardize.\n- **JetBrains answers inside its own product.** Either MAI models appear in JetBrains AI, or JetBrains leans harder on its model-neutral credit pricing as a selling point.\n- **Independent benchmarks arrive.** Third-party reviewers will test the 98% claim against GPT-6.2 and Gemini 4 Neon, and the result will likely be task-dependent.\n- **A Flash-style tier becomes standard.** Other labs will push cheap, high-volume models into Copilot’s free tiers to compete for new users.\n- **Foundry access widens.** Flash leaves limited-access preview, and the full MAI Code 2 joins it, once Microsoft sees enough enterprise demand.\n\nThese are analysis, not reporting. None of the five has an official announcement behind it, and any of them could slip or fail to happen.\n\n## Unconfirmed claims and open questions\n\nSeveral claims circulating about MAI Code 2 do not survive a check. Reports of a separate native VS Code launch, a standalone VS Code subscription or a confirmed direct model endpoint remain unverified. A third-party page claiming that MAI Code 2 Flash was replaced by MAI Code 2 conflicts with Microsoft’s own pages, which present both as concurrently available models. No official source says either model was renamed, retired or acquired.\n\nOpen questions remain on the access side. GitHub has not detailed how MAI usage maps onto each plan’s credit allowance. Monthly-plan access is unclear. The official pages do not publish a verifiable token table, so every price in this report traces back to secondary sources. And independent evidence for Microsoft’s benchmark claim does not exist yet. When Microsoft or GitHub publishes an official price table or a reproducible benchmark, those numbers should replace the reported ones.\n\n## FAQ: MAI Code 2 in VS Code and JetBrains\n\n### Is MAI Code 2 available in VS Code?\n\nYes, through GitHub Copilot. Both MAI Code 2 and MAI Code 2 Flash became selectable in Copilot’s model picker in Visual Studio Code on November 17, 2026. No separate VS Code product or pricing exists for them.\n\n### Can I use MAI Code 2 in JetBrains AI Assistant?\n\nNot confirmed. The models work in JetBrains IDEs through the GitHub Copilot plugin. The retrieved JetBrains material does not name either model as part of JetBrains AI Assistant, so treat that claim as unverified.\n\n### Is MAI Code 2 free?\n\nMAI Code 2 requires a paid Copilot plan, starting at Pro. MAI Code 2 Flash is listed for Free and Student users as well. Both use usage-based billing, so free access carries limits.\n\n### What is the difference between MAI Code 2 and MAI Code 2 Flash?\n\nMAI Code 2 targets complex, agentic software engineering. Flash targets routine, high-volume tasks such as explanations and targeted edits. At the reported rates Flash costs one tenth as much per token.\n\n### How much do MAI Code 2 and Flash cost in Copilot?\n\nSecondary reports put MAI Code 2 at $0.50 input and $2.50 output per million tokens through May 17, 2027, and Flash at $0.05 and $0.25. After that date the reported rates double. GitHub has not published a full token table in the retrieved material.\n\n### Does MAI Code 2 replace MAI-Code-1.1-Flash?\n\nPartly. GitHub lists an upcoming deprecation of the hosted MAI-Code-1.1-Flash in December, which is planned and not yet effective. VS Code’s documentation still lists MAI Code 1.1 Flash as the on-device model.\n\n### Are Microsoft’s benchmark claims independently verified?\n\nNo. The claim that MAI Code 2 matches 98% of GPT-6.1 Sol at 40% of the price comes from Microsoft, as relayed by The Next Web. The retrieved material includes no independent reproduction.", "url": "https://wpnews.pro/news/mai-code-2-in-copilot-2-models-7-plans-1-free-tier", "canonical_source": "https://shattered.io/mai-code-2-github-copilot-vs-code-jetbrains-two-models-seven-plans-nov-27/", "published_at": "2026-11-27 08:17:20+00:00", "updated_at": "2026-11-27 08:20:12.053572+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "large-language-models", "ai-products", "ai-agents"], "entities": ["Microsoft", "GitHub", "MAI Code 2", "MAI Code 2 Flash", "Copilot", "Visual Studio Code", "JetBrains", "Microsoft Foundry"], "also_reported_by": [], "takeaway": "MAI Code 2 Flash is available on the Free and Student Copilot tiers with a 1-million-token context window, while the full MAI Code 2 requires Pro or higher, and both bill on usage rather than a model-specific subscription.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/mai-code-2-in-copilot-2-models-7-plans-1-free-tier", "markdown": "https://wpnews.pro/news/mai-code-2-in-copilot-2-models-7-plans-1-free-tier.md", "text": "https://wpnews.pro/news/mai-code-2-in-copilot-2-models-7-plans-1-free-tier.txt", "jsonld": "https://wpnews.pro/news/mai-code-2-in-copilot-2-models-7-plans-1-free-tier.jsonld"}}