---
title: "mai-code-2-flash - Model Details & Comparison"
description: "mai-code-2-flash 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-flash"
markdown: "https://www.getmaxim.ai/bifrost/model-library/compare/github_copilot/mai-code-2-flash.md"
---

# mai-code-2-flash - Model Details & Comparison

> mai-code-2-flash 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-flash

mai-code-2-flash is a responses model from Github Copilot, one of 17 responses models they offer. It is priced at $0.05 per 1M input tokens and $0.25 per 1M output tokens, ranking 3 out of 190 responses models by cost and cheaper than 98% of models in this category. mai-code-2-flash 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.05 / 1M tokens Input Price.**
- **$0.25 / 1M tokens Output Price.**

## Capabilities

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

## mai-code-2-flash Pricing Overview

At $0.05 per 1M input tokens and $0.25 per 1M output tokens, mai-code-2-flash ranks 3 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 98% of models in this category.

mai-code-2-flash 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-flash with comparable capabilities.

| Model | Provider | Input $/1M | Output $/1M |
| --- | --- | --- | --- |
| gpt-6-luna | Opencode-go | $0.10 | $0.50 |
| muse-spark-1.3-contributor | Opencode-go | $0.10 | $0.20 |
| muse-spark-1.2-contributor | Opencode-go | $0.10 | $0.20 |
| codex-mini | Azure | $1.50 | $6.00 |
| gpt-5.1-codex | Azure | $1.38 | $11.00 |

- [Compare codex-mini](https://www.getmaxim.ai/bifrost/model-library/compare/azure/codex-mini.md)
- [Compare gpt-5.1-codex](https://www.getmaxim.ai/bifrost/model-library/compare/azure/gpt-5.1-codex.md)

## Related Resources

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

## FAQ

### Is mai-code-2-flash cheaper than gpt-6-luna?

Yes. mai-code-2-flash costs $0.05 per 1M input tokens compared to gpt-6-luna's $0.10 per 1M input tokens, making it 100% more affordable. Both are responses models and share support for vision, function calling, reasoning.

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

mai-code-2-flash input pricing is $0.05 per 1M tokens, which is 97% below the median of $2.00 for responses models. It ranks 3 out of 190 responses models by input cost, making it cheaper than 98% of models in this category. For output, it costs $0.25 per 1M tokens compared to the median of $11.00.

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

Among Github Copilot's 17 responses models, mai-code-2-flash ranks 1 by input cost. It is the most affordable Github Copilot model with vision and structured output support.

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

The most comparable responses models to mai-code-2-flash are: gpt-6-luna from Opencode-go ($0.10/1M input tokens); muse-spark-1.3-contributor from Opencode-go ($0.10/1M input tokens); muse-spark-1.2-contributor from Opencode-go ($0.10/1M input tokens); codex-mini from Azure ($1.50/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.

### Is mai-code-2-flash the cheapest responses model with vision?

Yes. At $0.05 per 1M input tokens, mai-code-2-flash is the most affordable responses model that supports vision. This makes it a strong option for vision-dependent workloads where cost efficiency matters.

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

mai-code-2-flash 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.05 and generating 1M output tokens costs $0.25.

## 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-flash](https://www.getmaxim.ai/bifrost/model-library/compare/github_copilot/mai-code-2-flash) for AI/LLM consumption.*
