Try Bifrost Enterprise free for 14 days.
Request access

gemini-3.1-pro-preview Cost Calculator - Vertex AI

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

Pricing data last updated:

gemini-3.1-pro-preview Cost Calculator

Mode: Chat

Max: 1,048,576 tokens

Max: 65,536 tokens

Cost Breakdown

Input Cost$0.002000
Output Cost$0.012000
Total Cost$0.014000

Pricing Details

Input: $0.00000200 per token
Output: $0.00001200 per token
Output Image: $0.00012000 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

✓Function Calling
✓Vision
✓Reasoning
✓Web Search
✓Audio Input

Limits

Max Input Tokens1,048,576
Max Output Tokens65,536
Max Tokens65,536

About gemini-3.1-pro-preview

gemini-3.1-pro-preview is a chat model from Vertex AI, one of 112 chat models they offer. It is priced at $2.00 per 1M input tokens and $12.00 per 1M output tokens, ranking 2666 out of 3501 chat models by cost and cheaper than 21% of models in this category. gemini-3.1-pro-preview supports vision, function calling, reasoning, audio input, web search, prompt caching, structured output. Its 1,049K-token context window is in the top 13% among chat models.

Pricing Information

Input Cost$2.00 per 1M tokens
Output Cost$12.00 per 1M tokens
Image Output Cost$0.0001 per image

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

Technical Specifications

Maximum Input Tokens1,048,576
Maximum Output Tokens65,536
Maximum Total Tokens65,536

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 1,048,576 input tokens. The maximum output length is 65,536 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
✓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-pro-preview Pricing Compares

At $2.00 per 1M input tokens and $12.00 per 1M output tokens, gemini-3.1-pro-preview ranks 2666 out of 3501 chat models by input cost. It is more expensive compared to the median of $0.60 for chat models, and is cheaper than 21% of models in this category.

gemini-3.1-pro-preview is one of 112 Vertex AI chat models, with support for vision, function calling, reasoning, audio input, web search, prompt caching, structured output. its 1,049K-token context window places it in the top 13% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs gemini-3.1-pro-preview
gemini-3.1-pro-previewGoogle Gemini$2.00$12.000%
gemini-3.1-pro-preview-customtoolsGoogle Gemini$2.00$12.000%
gemini-3-pro-previewOpenRouter$2.00$12.000%

Alternatives to gemini-3.1-pro-preview

Similar chat models from other providers

Google Gemini
gemini-3.1-pro-preview
$2.00/1M input
0% vs gemini-3.1-pro-preview
Google Gemini
gemini-3.1-pro-preview-customtools
$2.00/1M input
0% vs gemini-3.1-pro-preview
OpenRouter
gemini-3-pro-preview
$2.00/1M input
0% vs gemini-3.1-pro-preview
OpenRouter
gemini-3.1-pro-preview
$2.00/1M input
0% vs gemini-3.1-pro-preview
Google Gemini
gemini-pro-latest
$2.00/1M input
0% vs gemini-3.1-pro-preview

Frequently Asked Questions

Is gemini-3.1-pro-preview cheaper than gemini-3.1-pro-preview?

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

How does gemini-3.1-pro-preview pricing compare to the average chat model?

gemini-3.1-pro-preview input pricing is $2.00 per 1M tokens, which is 233% above the median of $0.60 for chat models. It ranks 2666 out of 3501 chat models by input cost, making it cheaper than 21% of models in this category. For output, it costs $12.00 per 1M tokens compared to the median of $1.71.

What makes gemini-3.1-pro-preview different from other Vertex AI models?

Among Vertex AI's 112 chat models, gemini-3.1-pro-preview ranks 71 by input cost.

What are the best alternatives to gemini-3.1-pro-preview?

The most comparable chat models to gemini-3.1-pro-preview are: gemini-3.1-pro-preview from Google Gemini ($2.00/1M input tokens); gemini-3.1-pro-preview-customtools from Google Gemini ($2.00/1M input tokens); gemini-3-pro-preview from OpenRouter ($2.00/1M input tokens); gemini-3.1-pro-preview from OpenRouter ($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 large is gemini-3.1-pro-preview's context window?

gemini-3.1-pro-preview supports up to 1,048,576 input tokens, placing it in the top 13% of chat models by context window size (rank 150 of 3230). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I calculate gemini-3.1-pro-preview costs?

gemini-3.1-pro-preview 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 $2.00 and generating 1M output tokens costs $12.00.