MAI Code 2 Description

MAI Code 2 is an advanced artificial intelligence coding model designed to assist developers with software engineering, application development, and complex code maintenance tasks. Developed by Microsoft AI, the model focuses on practical enterprise programming workloads such as implementing features, debugging applications, refactoring code, and preparing changes for production. Its architecture combines a decoder-only transformer with sparse Mixture-of-Experts layers and an integrated vision encoder for processing both text and images. The model provides a context window of approximately 1.05 million tokens, allowing it to examine extensive source code, documentation, and related development materials. MAI Code 2 supports repository-wide reasoning and multi-file modifications, helping developers implement coordinated changes across interconnected software components. Its frontend development capabilities include generating user interfaces, dashboards, data visualizations, and interactive applications from developer instructions. Microsoft reports that the model delivers 98% of GPT-6.1 Sol's coding benchmark performance at 40% of the cost and 96% of Claude Opus 5.5's performance at 5% of the cost under its published evaluation conditions. The model is available in GitHub Copilot, with additional distribution through developer platforms planned. By combining long-context code understanding, automated implementation, debugging assistance, and visual programming capabilities, MAI Code 2 helps engineering teams improve development productivity while managing AI inference costs.

Pricing

Pricing Starts At:
$0.50 per 1M tokens (input)
Pricing Information:
$0.50 per 1 million input tokens and $2.50 per 1 million output tokens (with cached input reads at $0.025 per 1M tokens)

Integrations

Reviews

Total 0 out of 5 stars
ease 0 out of 5 stars
features 0 out of 5 stars
design 0 out of 5 stars
support 0 out of 5 stars

No User Reviews. Be the first to provide a review:

Write a Review

Company Details

Company:
Microsoft AI
Year Founded:
2024
Headquarters:
United States
Website:
microsoft.ai/

Media

MAI Code 2 Screenshot 1
Recommended Products
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now

Product Details

Platforms
Web-Based
Types of Training
Training Docs
Customer Support
Online Support

MAI Code 2 Features and Options

MAI Code 2 User Reviews

Write a Review
  • Previous
  • Next