EveryDev.ai
Subscribe
Home
Tools

5,901+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2972
  • Coding2248
  • Infrastructure1067
  • Projects818
  • MCP794
  • Research744
  • Analytics565
  • Marketing527
  • Design488
  • Testing476
  • Data442
  • Security412
  • Integration288
  • Communication284
  • Prompts283
  • Extensions238
  • Voice213
  • DevOps190
  • Commerce183
  • Web128
  • Learning123
  • Finance44
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. MAI Code
    MAI Code icon

    MAI Code

    AI Coding Assistants
    Featured

    Microsoft AI's coding models for GitHub Copilot. MAI Code 2 takes on debugging, multi-file changes and repo-wide work. MAI Code 2 Flash covers routine edits at a lower cost.

    Visit Website

    At a Glance

    Pricing
    Free tier available

    Copilot's free tier. It includes MAI Code 2 Flash. MAI Code 2 needs a paid plan.

    Copilot Pro: $10/mo
    Copilot Pro+: $39/mo
    Copilot Max: $100/mo
    +4 more plans

    Engagement

    Available On

    VS Code
    JetBrains
    CLI
    Web
    iOS

    Resources

    WebsiteDocsllms.txt

    Topics

    AI Coding AssistantsCode IntelligenceAgent Harness

    Alternatives

    QoderMetisChatGPT Codex
    Developer
    MicrosoftRedmond, WAEst. 1975

    Updated Nov 2026

    About MAI Code

    MAI Code is Microsoft AI's family of coding models for GitHub Copilot. The current generation is MAI Code 2, plus a smaller MAI Code 2 Flash for routine work. Both launched at Microsoft Ignite on November 17, 2026. The line started in June 2026 with MAI-Code-1-Flash.

    What It Is

    MAI Code 2 is a general-purpose coding model for the everyday work Microsoft sees in Copilot. Microsoft says it's strongest at taking code to production, deep debugging, multi-file changes, repository-wide reasoning and UI work. It's also tuned for dashboards, data visualizations and other visual front-end code.

    MAI Code 2 Flash is the lighter model. It handles high-volume jobs like code explanations, targeted edits, routine fixes and quick iterations. Both models are built for agentic coding, where the model plans a multi-step task and carries it out with shell, file and search tools.

    How It Works

    Both are sparse mixture-of-experts models. Microsoft built them on new base models that are larger than the first generation's. They take text and images as input. You can give them screenshots, UI mockups, charts or diagrams along with your code.

    The model card lists a context window of about 1 million tokens and up to 128,000 output tokens. Reasoning effort has five levels: low, medium, high, xhigh and max. Microsoft trained both with reinforcement learning inside the Copilot CLI and VS Code agent harnesses. Their pretraining data cutoff is August 2026.

    Where You Can Use It

    Both models are in the Copilot model picker in VS Code, Visual Studio, JetBrains IDEs, Xcode, Eclipse, the Copilot CLI, the Copilot cloud agent, the GitHub Copilot app, github.com and GitHub Mobile. Organization admins control access through Copilot's model policy. New models are on by default unless an admin turned that default off.

    MAI Code 2 Flash is also in limited-access preview in Microsoft Foundry through an OpenAI-compatible Responses API. Microsoft says OpenRouter, Vercel, Hermes, OpenCode and Kilo will get both models soon.

    Companies can work with Microsoft on custom versions. Woven by Toyota fine-tuned MAI Code 2 Flash on its history of MISRA coding-standard fixes. It says the tuned model wrote ready-to-merge fixes for 44% of the cases where its production frontier models' fixes needed human rework.

    How Microsoft Positions It

    Microsoft compares MAI Code 2 with GPT-6.1 Sol and Claude Opus 5.5 on four benchmarks: DeepSWE 1.1, Terminal-Bench 2.1, SWE Atlas and FrontierCode v1.1. MAI Code 2 averages a 63.2% pass rate. GPT-6.1 Sol averages 64.1% and Claude Opus 5.5 averages 65.3%. Microsoft says that's 98% of GPT-6.1 Sol's result at 40% of the cost per task. Against Claude Opus 5.5 it's 96% of the result at 5% of the cost.

    MAI Code 2 Flash averages 61.0% on three of those benchmarks. That's above GPT-6 Luna at 55.1% and Claude Haiku 5.5 at 53.9%. Microsoft puts Flash's cost per task at 65% of GPT-6 Luna's and 20% of Claude Haiku 5.5's. In a blind test of front-end apps, developers preferred MAI Code 2's results over GPT-6 Sol's 64% of the time.

    These are Microsoft's own results. Every model ran at max reasoning effort. Microsoft's cost figures use the 50% promotional price for its own models.

    Limits Microsoft Lists

    Microsoft says both models aren't tuned yet for harder problems like fundamental science research or very long-horizon agentic work. At release they're optimized only for English. Microsoft hasn't tested them much on less common programming languages and frameworks.

    In long agentic sessions they can repeat tool calls, drift from instructions or stop before checking their work. Quality drops as the context nears its limit. MAI Code 2 Flash is less capable than MAI Code 2 on complex, long-running tasks.

    History: MAI-Code-1-Flash

    Microsoft AI introduced MAI-Code-1-Flash with several other MAI models on June 2, 2026. It was a small, fast model trained inside the Copilot harness and built for Copilot in VS Code. It had a 256K context window and took text only. Thinking effort had three levels: Low, Medium and High. Microsoft pitched it against Claude Haiku 4.5 and reported 51.2% on SWE-Bench Pro to Haiku's 35.2%. An updated MAI-Code-1.1-Flash followed later.

    Next to the first generation, MAI Code 2 adds larger base models, a context window about four times bigger, image input and two higher reasoning levels. The family also gains a full-size model next to Flash.

    MAI Code - 1

    Community Discussions

    Be the first to start a conversation about MAI Code

    Share your experience with MAI Code, ask questions, or help others learn from your insights.

    Pricing

    FREE

    Copilot Free

    Copilot's free tier. It includes MAI Code 2 Flash. MAI Code 2 needs a paid plan.

    • MAI Code 2 Flash in the Copilot model picker
    • Limited chat and agent usage
    • 2,000 code completions per month
    • Verified students get MAI Code 2 Flash on the free Copilot Student plan

    Copilot Pro

    Entry paid plan with both MAI Code models.

    $10
    per month
    • MAI Code 2 and MAI Code 2 Flash
    • 1,500 monthly AI credits, worth $15 (1,000 base plus 500 flex)
    • Unlimited code completions and next edit suggestions

    Copilot Pro+

    Individual plan with a larger credit allowance.

    $39
    per month
    • MAI Code 2 and MAI Code 2 Flash
    • 7,000 monthly AI credits, worth $70 (3,900 base plus 3,100 flex)
    • Unlimited code completions and next edit suggestions

    Copilot Max

    Highest-usage individual plan.

    $100
    per month
    • MAI Code 2 and MAI Code 2 Flash
    • 20,000 monthly AI credits, worth $200 (10,000 base plus 10,000 flex)
    • Unlimited code completions and next edit suggestions

    Copilot Business

    Team plan billed per granted seat.

    $19
    per month
    • MAI Code 2 and MAI Code 2 Flash
    • 1,900 AI credits per user per month, worth $19
    • Admins control MAI model access through model policy

    Copilot Enterprise

    Enterprise plan billed per granted seat.

    $39
    per month
    • MAI Code 2 and MAI Code 2 Flash
    • 3,900 AI credits per user per month, worth $39
    • Admins control MAI model access through model policy
    • Designed for companies on GitHub Enterprise Cloud

    MAI Code 2 tokens

    Copilot bills MAI Code 2 by token under usage-based billing. Price shown is per million input tokens.

    $0.5
    usage based
    • $0.50 per million input tokens
    • $0.025 per million cached input tokens
    • $2.50 per million output tokens
    • Promotional rates until May 17, 2027
    • From May 17, 2027: $1.00 input, $0.05 cached input and $5.00 output per million tokens

    MAI Code 2 Flash tokens

    Copilot bills MAI Code 2 Flash by token under usage-based billing. Price shown is per million input tokens.

    $0.05
    usage based
    • $0.05 per million input tokens
    • $0.005 per million cached input tokens
    • $0.25 per million output tokens
    • Promotional rates until May 17, 2027
    • From May 17, 2027: $0.10 input, $0.01 cached input and $0.50 output per million tokens
    View official pricing

    Capabilities

    Key Features

    • MAI Code 2 for deep debugging, multi-file changes and repository-wide reasoning
    • MAI Code 2 Flash for explanations, targeted edits and routine fixes at lower cost
    • Agentic coding with shell, file and search tools
    • Text and image input for screenshots, UI mockups, charts and diagrams
    • Context window of about 1 million tokens with up to 128K output tokens
    • Five reasoning effort levels from low to max
    • Tuned for dashboards, data visualizations and front-end UI code
    • In the Copilot model picker across VS Code, Visual Studio, JetBrains, Xcode, Eclipse, CLI, github.com and mobile
    • MAI Code 2 Flash API access in Microsoft Foundry (limited preview)
    • Organization admin controls through Copilot model policy

    Integrations

    GitHub Copilot
    Visual Studio Code
    Visual Studio
    JetBrains
    Xcode
    Eclipse
    GitHub Copilot CLI
    Microsoft Foundry
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate MAI Code and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Microsoft

    Microsoft is a multinational technology company that develops and supports software, services, devices, and solutions including Visual Studio Code, Azure AI Services, and developer tools.

    Founded 1975
    Redmond, WA
    228,000 employees

    Used by

    Walmart
    Coca-Cola
    NASA
    Mercedes-Benz
    +1 more
    Read more about Microsoft
    WebsiteGitHubX / Twitter
    19 tools in directory

    Similar Tools

    Qoder icon

    Qoder

    Qoder is an agentic AI coding and work platform built by Bright Zenith that combines autonomous development tools, multi-agent collaboration, and enterprise knowledge management for individuals and teams.

    Metis icon

    Metis

    An open-source coding agent with recursive multi-agent orchestration, durable SQLite memory, and dual terminal/desktop interfaces that supports any LLM provider.

    ChatGPT Codex icon

    ChatGPT Codex

    OpenAI's agentic coding tool that runs in ChatGPT, your IDE, and the terminal to handle complex engineering tasks like bug fixes, refactors, and PR reviews.

    Browse all tools

    Related Topics

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    1229 tools

    Code Intelligence

    AI tools that analyze, generate, and transform code through natural language understanding and programming language comprehension.

    173 tools

    Agent Harness

    Infrastructure, orchestrators, and task runners that wrap around LLM coding agents — covering session management, context delivery, worktree isolation, architecture enforcement, and issue-to-PR pipelines.

    513 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    49views
    1upvote