Try Bifrost Enterprise free for 14 days.
Request access

gemini-2.5-flash Cost Calculator - DeepInfra

Calculate the cost of using gemini-2.5-flash from DeepInfra for your AI applications

Pricing data last updated:

gemini-2.5-flash Cost Calculator

Mode: Chat

Max: 1,000,000 tokens

Max: 1,000,000 tokens

Cost Breakdown

Input Cost$0.00030000
Output Cost$0.002500
Total Cost$0.002800

Pricing Details

Input: $0.0000003000 per token
Output: $0.00000250 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
✓Vision
✓Reasoning
✓Audio Input

Limits

Max Input Tokens1,000,000
Max Output Tokens1,000,000
Max Tokens1,000,000

About gemini-2.5-flash

gemini-2.5-flash is a chat model from DeepInfra, one of 134 chat models they offer. It is priced at $0.30 per 1M input tokens and $2.50 per 1M output tokens, ranking 1383 out of 3501 chat models by cost and cheaper than 60% of models in this category. gemini-2.5-flash supports vision, function calling, reasoning, audio input, structured output — one of only 10 chat models with this combination. Its 1,000K-token context window is in the top 25% among chat models.

Pricing Information

Input Cost$0.30 per 1M tokens
Output Cost$2.50 per 1M tokens

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

Technical Specifications

Maximum Input Tokens1,000,000
Maximum Output Tokens1,000,000
Maximum Total Tokens1,000,000

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 1,000,000 input tokens. The maximum output length is 1,000,000 tokens.

Model Capabilities

✓Function Calling - Execute custom functions and tools
✓Vision - Process and understand images
✓Audio Input - Accept audio data as input
✓Advanced Reasoning - Complex problem-solving capabilities
✓Response Schema - Structured output formatting

How gemini-2.5-flash Pricing Compares

At $0.30 per 1M input tokens and $2.50 per 1M output tokens, gemini-2.5-flash ranks 1383 out of 3501 chat models by input cost. It is more affordable compared to the median of $0.60 for chat models, and is cheaper than 60% of models in this category.

gemini-2.5-flash is one of 134 DeepInfra chat models, one of only 10 chat models combining audio input, function calling, reasoning, structured output, vision. its 1,000K-token context window places it in the top 25% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs gemini-2.5-flash
gemini-2.5-flashGoogle Gemini$0.30$2.500%
gemini-flash-lite-latestGoogle Gemini$0.30$2.500%
gemini-3.1-flash-liteGoogle Gemini$0.25$1.50-17%

Alternatives to gemini-2.5-flash

Similar chat models from other providers

Google Gemini
gemini-2.5-flash
$0.30/1M input
0% vs gemini-2.5-flash
Google Gemini
gemini-flash-lite-latest
$0.30/1M input
0% vs gemini-2.5-flash
Google Gemini
gemini-3.1-flash-lite
$0.25/1M input
-17% vs gemini-2.5-flash
Google Gemini
gemini-3.5-flash-lite
$0.30/1M input
0% vs gemini-2.5-flash
OpenRouter
gemini-2.5-flash
$0.30/1M input
0% vs gemini-2.5-flash

Frequently Asked Questions

Is gemini-2.5-flash cheaper than gemini-2.5-flash?

No. gemini-2.5-flash costs $0.30 per 1M input tokens while gemini-2.5-flash costs $0.30 per 1M input tokens, making gemini-2.5-flash 0% more affordable for input. However, gemini-2.5-flash may offer different capabilities or performance characteristics that justify the price difference.

How does gemini-2.5-flash pricing compare to the average chat model?

gemini-2.5-flash input pricing is $0.30 per 1M tokens, which is 50% below the median of $0.60 for chat models. It ranks 1383 out of 3501 chat models by input cost, making it cheaper than 60% of models in this category. For output, it costs $2.50 per 1M tokens compared to the median of $1.71.

What makes gemini-2.5-flash different from other DeepInfra models?

Among DeepInfra's 134 chat models, gemini-2.5-flash ranks 74 by input cost. Its combination of audio input, function calling, reasoning, structured output, vision is shared by only 9 other chat models.

What are the best alternatives to gemini-2.5-flash?

The most comparable chat models to gemini-2.5-flash are: gemini-2.5-flash from Google Gemini ($0.30/1M input tokens); gemini-flash-lite-latest from Google Gemini ($0.30/1M input tokens); gemini-3.1-flash-lite from Google Gemini ($0.25/1M input tokens); gemini-3.5-flash-lite from Google Gemini ($0.30/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 large is gemini-2.5-flash's context window?

gemini-2.5-flash supports up to 1,000,000 input tokens, placing it in the top 25% of chat models by context window size (rank 586 of 3230). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I calculate gemini-2.5-flash costs?

gemini-2.5-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.30 and generating 1M output tokens costs $2.50.