Calculate the cost of using mai-code-2 from Github Copilot for your AI applications
Pricing data last updated:
Mode: Responses
Max: 128,000 tokens
Max: 128,000 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
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.
Note: Use the interactive calculator above to estimate costs for your specific usage patterns.
Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 128,000 input tokens. The maximum output length is 128,000 tokens.
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.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs mai-code-2 |
|---|---|---|---|---|
| gpt-5.1-codex-mini | Azure | $0.28 | $2.20 | -45% |
| gpt-5.1-codex-mini-2025-11-13 | Azure | $0.25 | $2.00 | -50% |
| gpt-5.1-codex-mini | OpenAI | $0.25 | $2.00 | -50% |
Similar responses models from other providers
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.
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.
Among Github Copilot's 17 responses models, mai-code-2 ranks 6 by input cost.
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.
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.