Try Bifrost Enterprise free for 14 days.
Request access

gemma-4-31b Cost Calculator - Vertex AI

Calculate the cost of using gemma-4-31b from Vertex AI for your AI applications

Pricing data last updated:

gemma-4-31b Cost Calculator

Mode: Chat

Max: 8,192 tokens

Cost Breakdown

Input Cost$0.00015000
Output Cost$0.00060000
Total Cost$0.00075000

Pricing Details

Input: $0.0000001500 per token
Output: $0.0000006000 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

Limits

Max Output Tokens8,192
Max Tokens8,192

About gemma-4-31b

gemma-4-31b is a chat model from Vertex AI, one of 104 chat models they offer. It is priced at $0.15 per 1M input tokens and $0.60 per 1M output tokens, ranking 492 out of 2172 chat models by cost and cheaper than 77% of models in this category. gemma-4-31b supports vision, function calling.

Pricing Information

Input Cost$0.15 per 1M tokens
Output Cost$0.60 per 1M tokens

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

Technical Specifications

Maximum Output Tokens8,192
Maximum Total Tokens8,192

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. The maximum output length is 8,192 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Vision - Process and understand images

How gemma-4-31b Pricing Compares

At $0.15 per 1M input tokens and $0.60 per 1M output tokens, gemma-4-31b ranks 492 out of 2172 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 77% of models in this category.

gemma-4-31b is one of 104 Vertex AI chat models, with support for vision, function calling.

ModelProviderInput / 1M tokensOutput / 1M tokensvs gemma-4-31b
gpt-4o-mini-2024-07-18Azure$0.17$0.66+10%
gpt-4o-miniAzure$0.15$0.600%
qwen3-vl-32b-instructDashscope$0.16$0.64+7%

Alternatives to gemma-4-31b

Similar chat models from other providers

Azure
gpt-4o-mini
$0.15/1M input
0% vs gemma-4-31b
Dashscope
qwen3-vl-32b-instruct
$0.16/1M input
+7% vs gemma-4-31b
Dashscope
qwen3-vl-32b-thinking
$0.16/1M input
+7% vs gemma-4-31b
Gmi
gpt-4o-mini
$0.15/1M input
0% vs gemma-4-31b

Frequently Asked Questions

Is gemma-4-31b cheaper than gpt-4o-mini-2024-07-18?

Yes. gemma-4-31b costs $0.15 per 1M input tokens compared to gpt-4o-mini-2024-07-18's $0.17 per 1M input tokens, making it 10% more affordable. Both are chat models and share support for vision, function calling, prompt caching, structured output.

How does gemma-4-31b pricing compare to the average chat model?

gemma-4-31b input pricing is $0.15 per 1M tokens, which is 73% below the median of $0.55 for chat models. It ranks 492 out of 2172 chat models by input cost, making it cheaper than 77% of models in this category. For output, it costs $0.60 per 1M tokens compared to the median of $1.48.

What makes gemma-4-31b different from other Vertex AI models?

Among Vertex AI's 104 chat models, gemma-4-31b ranks 16 by input cost.

What are the best alternatives to gemma-4-31b?

The most comparable chat models to gemma-4-31b are: gpt-4o-mini-2024-07-18 from Azure ($0.17/1M input tokens); gpt-4o-mini from Azure ($0.15/1M input tokens); qwen3-vl-32b-instruct from Dashscope ($0.16/1M input tokens); qwen3-vl-32b-thinking from Dashscope ($0.16/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 gemma-4-31b costs?

gemma-4-31b 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.15 and generating 1M output tokens costs $0.60.