Try Bifrost Enterprise free for 14 days.
Request access

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

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

Pricing data last updated:

gemini-3.1-flash-image-preview 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

Capabilities

Vision
Web Search

Limits

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

About gemini-3.1-flash-image-preview

gemini-3.1-flash-image-preview is an image generation model from Vertex AI, one of 4 image generation models they offer. It is priced at $0.50 per 1M input tokens and $3.00 per 1M output tokens, ranking 6 out of 29 image generation models by cost and cheaper than 76% of models in this category. gemini-3.1-flash-image-preview supports vision, web search, prompt caching, structured output — one of only 7 image generation models with this combination. 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.

Model Capabilities

Vision - Process and understand images
Web Search - Access real-time web information
Prompt Caching - Optimize repeated prompts
System Messages - Configure model behavior
Response Schema - Structured output formatting

How gemini-3.1-flash-image-preview Pricing Compares

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

gemini-3.1-flash-image-preview is one of 4 Vertex AI image generation models, one of only 7 image generation models combining prompt caching, structured output, vision, web search.

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

Alternatives to gemini-3.1-flash-image-preview

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-preview
Google Gemini
gemini-3.1-flash-image-preview
$0.25/1M input
-50% vs gemini-3.1-flash-image-preview
Google Gemini
gemini-3.1-flash-image
$0.50/1M input
0% vs gemini-3.1-flash-image-preview
Google Gemini
gemini-3-pro-image-preview
$2.00/1M input
+300% vs gemini-3.1-flash-image-preview
Google Gemini
deep-research-pro-preview-12-2025
$2.00/1M input
+300% vs gemini-3.1-flash-image-preview

Frequently Asked Questions

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

No. gemini-3.1-flash-image-preview 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-preview may offer different capabilities or performance characteristics that justify the price difference.

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

gemini-3.1-flash-image-preview input pricing is $0.50 per 1M tokens, which is 75% below the median of $2.00 for image generation models. It ranks 6 out of 29 image generation models by input cost, making it cheaper than 76% 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-preview different from other Vertex AI models?

Among Vertex AI's 4 image generation models, gemini-3.1-flash-image-preview ranks 2 by input cost. Its combination of prompt caching, structured output, vision, web search is shared by only 6 other image generation models.

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

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

gemini-3.1-flash-image-preview 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.