---
title: "mai-code-2 - Model Details & Comparison"
description: "mai-code-2 from Github Copilot: capabilities, context limits, pricing, and side-by-side comparisons with alternative models."
url: "https://www.getmaxim.ai/bifrost/model-library/compare/github_copilot/mai-code-2"
markdown: "https://www.getmaxim.ai/bifrost/model-library/compare/github_copilot/mai-code-2.md"
---

# mai-code-2 - Model Details & Comparison

> mai-code-2 from Github Copilot: capabilities, context limits, pricing, and side-by-side comparisons with alternative models.

## Important Links

- [View MCP Gateway](https://www.getmaxim.ai/resources/mcp-gateway.md)
- [Features](https://www.getmaxim.ai/bifrost/#features)
- [Enterprise](https://www.getmaxim.ai/enterprise)
- [Pricing](https://www.getmaxim.ai/pricing.md)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/book-a-demo)

## About mai-code-2

mai-code-2 is a responses model from Github Copilot, one of 17 responses models they offer. It is priced at $0.50 per 1M input tokens and $2.50 per 1M output tokens, ranking 35 out of 190 responses models by cost and cheaper than 82% of models in this category. mai-code-2 supports vision, function calling, reasoning, structured output. It accepts up to 128K input tokens.

## Specifications

- **Github Copilot Provider.**
- **Responses Mode.**
- **128,000 Max Input Tokens.**
- **128,000 Max Output Tokens.**
- **$0.50 / 1M tokens Input Price.**
- **$2.50 / 1M tokens Output Price.**

## Capabilities

mai-code-2 supports: Function Calling, Vision, Reasoning, Parallel Function Calling, Response Schema.

## mai-code-2 Pricing Overview

At $0.50 per 1M input tokens and $2.50 per 1M output tokens, mai-code-2 ranks 35 out of 190 responses models by input cost. It is more affordable compared to the median of $2.00 for responses models, and is cheaper than 82% of models in this category.

mai-code-2 is one of 17 Github Copilot responses models, with support for vision, function calling, reasoning, structured output.

## Models to Compare

Alternatives to mai-code-2 with comparable capabilities.

| Model | Provider | Input $/1M | Output $/1M |
| --- | --- | --- | --- |
| gpt-5.1-codex-mini | Azure | $0.28 | $2.20 |
| gpt-5.1-codex-mini-2025-11-13 | Azure | $0.25 | $2.00 |
| gpt-5.1-codex-mini | OpenAI | $0.25 | $2.00 |
| openai.gpt-5.6-luna | Bedrock Mantle | $0.26 | $1.58 |
| antigravity-preview-09-2026 | Google Gemini | $0.75 | $3.75 |

- [Compare gpt-5.1-codex-mini](https://www.getmaxim.ai/bifrost/model-library/compare/azure/gpt-5.1-codex-mini.md)
- [Compare gpt-5.1-codex-mini-2025-11-13](https://www.getmaxim.ai/bifrost/model-library/compare/azure/gpt-5.1-codex-mini-2025-11-13.md)
- [Compare gpt-5.1-codex-mini](https://www.getmaxim.ai/bifrost/model-library/compare/openai/gpt-5.1-codex-mini.md)
- [Compare antigravity-preview-09-2026](https://www.getmaxim.ai/bifrost/model-library/compare/gemini/antigravity-preview-09-2026.md)

## Related Resources

- [Calculate mai-code-2 costs](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot/model/mai-code-2.md)
- [All Github Copilot pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot.md)

## FAQ

### Is mai-code-2 cheaper than gpt-5.1-codex-mini?

No. mai-code-2 costs $0.50 per 1M input tokens while gpt-5.1-codex-mini costs $0.28 per 1M input tokens, making gpt-5.1-codex-mini 45% more affordable for input. However, mai-code-2 may offer different capabilities or performance characteristics that justify the price difference.

### How does mai-code-2 pricing compare to the average responses model?

mai-code-2 input pricing is $0.50 per 1M tokens, which is 75% below the median of $2.00 for responses models. It ranks 35 out of 190 responses models by input cost, making it cheaper than 82% of models in this category. For output, it costs $2.50 per 1M tokens compared to the median of $11.00.

### What makes mai-code-2 different from other Github Copilot models?

Among Github Copilot's 17 responses models, mai-code-2 ranks 6 by input cost.

### What are the best alternatives to mai-code-2?

The most comparable responses models to mai-code-2 are: gpt-5.1-codex-mini from Azure ($0.28/1M input tokens); gpt-5.1-codex-mini-2025-11-13 from Azure ($0.25/1M input tokens); gpt-5.1-codex-mini from OpenAI ($0.25/1M input tokens); openai.gpt-5.6-luna from Bedrock Mantle ($0.26/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

### How do I calculate mai-code-2 costs?

mai-code-2 is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.50 and generating 1M output tokens costs $2.50.

## Related Resources

- [Model library](https://www.getmaxim.ai/bifrost/model-library.md)
- [LLM cost calculator](https://www.getmaxim.ai/bifrost/llm-cost-calculator.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://www.getmaxim.ai/pricing.md)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/book-a-demo)
- [Resources: Bifrost resources](https://www.getmaxim.ai/resources.md)

---

*This is a markdown version of [https://www.getmaxim.ai/bifrost/model-library/compare/github_copilot/mai-code-2](https://www.getmaxim.ai/bifrost/model-library/compare/github_copilot/mai-code-2) for AI/LLM consumption.*
