Try Bifrost Enterprise free for 14 days.
Request access

gemini-3.1-flash-image Cost Calculator - Vertex AI

Calculate the cost of using gemini-3.1-flash-image from Vertex AI for your AI applications

Pricing data last updated:

gemini-3.1-flash-image Cost Calculator

Mode: Image Generation

Cost Breakdown

Input Cost$0.00050000
Image Cost$0.067200
Total Cost$0.067700

Pricing Details

Input: $0.0000005000 per token
Output: $0.00000300 per token
Input Image: $0.00056000 per image
Output Image: $0.067200 per image
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

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

Model Specifications

Limits

Max Input Tokens65,536
Max Output Tokens32,768
Max Tokens32,768

About gemini-3.1-flash-image

gemini-3.1-flash-image is an image generation model from Vertex AI, one of 6 image generation models they offer. It is priced at $0.50 per 1M input tokens and $3.00 per 1M output tokens, ranking 8 out of 36 image generation models by cost and cheaper than 75% of models in this category. It accepts up to 66K input tokens.

Pricing Information

Input Cost$0.50 per 1M tokens
Output Cost$3.00 per 1M tokens
Image Input Cost$0.0006 per image
Image Output Cost$0.0672 per image

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

Technical Specifications

Maximum Input Tokens65,536
Maximum Output Tokens32,768
Maximum Total Tokens32,768

Pro Tip

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

How gemini-3.1-flash-image Pricing Compares

At $0.50 per 1M input tokens and $3.00 per 1M output tokens, gemini-3.1-flash-image ranks 8 out of 36 image generation models by input cost. It is more affordable compared to the median of $2.25 for image generation models, and is cheaper than 75% of models in this category.

ModelProviderInput / 1M tokensOutput / 1M tokensvs gemini-3.1-flash-image
gemini-2.5-flash-imageGoogle Gemini$0.30$2.50-40%
gemini-3.1-flash-imageGoogle Gemini$0.25$1.50-50%
gemini-3.1-flash-image-previewGoogle Gemini$0.25$1.50-50%

Alternatives to gemini-3.1-flash-image

Similar image generation models from other providers

Google Gemini
gemini-2.5-flash-image
$0.30/1M input
-40% vs gemini-3.1-flash-image
Google Gemini
gemini-3.1-flash-image
$0.25/1M input
-50% vs gemini-3.1-flash-image
Google Gemini
gemini-3.1-flash-image-preview
$0.25/1M input
-50% vs gemini-3.1-flash-image
Google Gemini
gemini-3.1-flash-lite-image
$0.25/1M input
-50% vs gemini-3.1-flash-image
Azure
gpt-image-1
$5.00/1M input
+900% vs gemini-3.1-flash-image

Frequently Asked Questions

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

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

How does gemini-3.1-flash-image pricing compare to the average image generation model?

gemini-3.1-flash-image input pricing is $0.50 per 1M tokens, which is 78% below the median of $2.25 for image generation models. It ranks 8 out of 36 image generation models by input cost, making it cheaper than 75% of models in this category. For output, it costs $3.00 per 1M tokens compared to the median of $10.00.

What makes gemini-3.1-flash-image different from other Vertex AI models?

Among Vertex AI's 6 image generation models, gemini-3.1-flash-image ranks 2 by input cost.

What are the best alternatives to gemini-3.1-flash-image?

The most comparable image generation models to gemini-3.1-flash-image are: gemini-2.5-flash-image from Google Gemini ($0.30/1M input tokens); gemini-3.1-flash-image from Google Gemini ($0.25/1M input tokens); gemini-3.1-flash-image-preview from Google Gemini ($0.25/1M input tokens); gemini-3.1-flash-lite-image from Google Gemini ($0.25/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 gemini-3.1-flash-image costs?

gemini-3.1-flash-image is priced based on input and output tokens, images. 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 $3.00.