Try Bifrost Enterprise free for 14 days.
Request access

mai-code-1-flash Cost Calculator - Github Copilot

Calculate the cost of using mai-code-1-flash from Github Copilot for your AI applications

Pricing data last updated:

mai-code-1-flash Cost Calculator

Mode: Chat

Max: 128,000 tokens

Max: 64,000 tokens

Cost Breakdown

Input Cost$0.00075000
Output Cost$0.004500
Total Cost$0.005250

Pricing Details

Input: $0.0000007500 per token
Output: $0.00000450 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Capabilities

Function Calling

Limits

Max Input Tokens128,000
Max Output Tokens64,000
Max Tokens64,000

About mai-code-1-flash

mai-code-1-flash is a chat model from Github Copilot, one of 2 chat models they offer. It is priced at $0.75 per 1M input tokens and $4.50 per 1M output tokens, ranking 1328 out of 2292 chat models by cost and cheaper than 42% of models in this category. mai-code-1-flash supports function calling, structured output. It accepts up to 128K input tokens.

Pricing Information

Input Cost$0.75 per 1M tokens
Output Cost$4.50 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens128,000
Maximum Output Tokens64,000
Maximum Total Tokens64,000

Pro Tip

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 64,000 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Parallel Function Calling - Execute multiple functions simultaneously
Response Schema - Structured output formatting

How mai-code-1-flash Pricing Compares

At $0.75 per 1M input tokens and $4.50 per 1M output tokens, mai-code-1-flash ranks 1328 out of 2292 chat models by input cost. It is more expensive compared to the median of $0.55 for chat models, and is cheaper than 42% of models in this category.

mai-code-1-flash is one of 2 Github Copilot chat models, with support for function calling, structured output.

ModelProviderInput / 1M tokensOutput / 1M tokensvs mai-code-1-flash
amazon.nova-pro-v1:0AWS Bedrock$0.80$3.20+7%
anthropic.claude-3-5-haiku-20241022-v1:0AWS Bedrock$0.80$4.00+7%
apac.amazon.nova-pro-v1:0AWS Bedrock$0.84$3.36+12%

Alternatives to mai-code-1-flash

Similar chat models from other providers

AWS Bedrock
amazon.nova-pro-v1:0
$0.80/1M input
+7% vs mai-code-1-flash
AWS Bedrock
anthropic.claude-3-5-haiku-20241022-v1:0
$0.80/1M input
+7% vs mai-code-1-flash
AWS Bedrock
apac.amazon.nova-pro-v1:0
$0.84/1M input
+12% vs mai-code-1-flash
Azure
gpt-5.4-mini
$0.75/1M input
0% vs mai-code-1-flash
Azure
gpt-5.4-mini-2026-03-17
$0.75/1M input
0% vs mai-code-1-flash

More from Github Copilot

Frequently Asked Questions

Is mai-code-1-flash cheaper than amazon.nova-pro-v1:0?

Yes. mai-code-1-flash costs $0.75 per 1M input tokens compared to amazon.nova-pro-v1:0's $0.80 per 1M input tokens, making it 7% more affordable. Both are chat models and share support for vision, function calling, prompt caching, structured output.

How does mai-code-1-flash pricing compare to the average chat model?

mai-code-1-flash input pricing is $0.75 per 1M tokens, which is 36% above the median of $0.55 for chat models. It ranks 1328 out of 2292 chat models by input cost, making it cheaper than 42% of models in this category. For output, it costs $4.50 per 1M tokens compared to the median of $1.50.

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

Among Github Copilot's 2 chat models, mai-code-1-flash ranks 1 by input cost.

What are the best alternatives to mai-code-1-flash?

The most comparable chat models to mai-code-1-flash are: amazon.nova-pro-v1:0 from AWS Bedrock ($0.80/1M input tokens); anthropic.claude-3-5-haiku-20241022-v1:0 from AWS Bedrock ($0.80/1M input tokens); apac.amazon.nova-pro-v1:0 from AWS Bedrock ($0.84/1M input tokens); gpt-5.4-mini from Azure ($0.75/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-1-flash costs?

mai-code-1-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.75 and generating 1M output tokens costs $4.50.