---
title: "mai-code-2-flash Cost Calculator - Github Copilot"
description: "Calculate the cost of using mai-code-2-flash from Github Copilot. Input costs $0.05 and output $0.25 per 1M tokens."
url: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot/model/mai-code-2-flash"
markdown: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot/model/mai-code-2-flash.md"
---

# mai-code-2-flash Cost Calculator - Github Copilot

> Calculate the cost of using mai-code-2-flash from Github Copilot. Input costs $0.05 and output $0.25 per 1M tokens.

## 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.

## Pricing

Published Github Copilot pricing for mai-code-2-flash.

- **$0.05 / 1M tokens Input.**
- **$0.25 / 1M tokens Output.**

## Technical Specifications

- **Responses Mode.**
- **128,000 Max Input Tokens.**
- **128,000 Max Output Tokens.**

## Model Capabilities

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

## How Pricing Compares

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.

| Model | Provider | Input $/1M | Output $/1M | vs mai-code-2-flash |
| --- | --- | --- | --- | --- |
| gpt-6-luna | Opencode-go | $0.10 | $0.50 | +100% |
| muse-spark-1.3-contributor | Opencode-go | $0.10 | $0.20 | +100% |
| muse-spark-1.2-contributor | Opencode-go | $0.10 | $0.20 | +100% |
| codex-mini | Azure | $1.50 | $6.00 | +2900% |
| gpt-5.1-codex | Azure | $1.38 | $11.00 | +2650% |

## More from Github Copilot

- [gpt-6-luna ($0.10/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot/model/gpt-6-luna.md)
- [gpt-5.6-luna ($0.20/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot/model/gpt-5.6-luna.md)
- [mai-code-1.1-flash ($0.20/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot/model/mai-code-1.1-flash.md)
- [gpt-5.4-nano ($0.20/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot/model/gpt-5.4-nano.md)

## Related Resources

- [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

- [All Github Copilot pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot.md)
- [LLM cost calculator](https://www.getmaxim.ai/bifrost/llm-cost-calculator.md)
- [Model library](https://www.getmaxim.ai/bifrost/model-library.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/llm-cost-calculator/provider/github_copilot/model/mai-code-2-flash](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/github_copilot/model/mai-code-2-flash) for AI/LLM consumption.*
