---
title: "gemma-4-31b Cost Calculator - Vertex AI"
description: "Calculate the cost of using gemma-4-31b from Vertex AI. Input costs $0.15 and output $0.60 per 1M tokens."
url: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai/model/gemma-4-31b"
markdown: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai/model/gemma-4-31b.md"
---

# gemma-4-31b Cost Calculator - Vertex AI

> Calculate the cost of using gemma-4-31b from Vertex AI. Input costs $0.15 and output $0.60 per 1M tokens.

## Important Links

- [View MCP Gateway](https://www.getmaxim.ai/bifrost/resources/mcp-gateway.md)
- [Features](https://www.getmaxim.ai/bifrost/#features)
- [Enterprise](https://www.getmaxim.ai/bifrost/enterprise)
- [Pricing](https://www.getmaxim.ai/bifrost/pricing.md)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/bifrost/book-a-demo)

## About gemma-4-31b

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

## Pricing

Published Vertex AI pricing for gemma-4-31b.

- **$0.15 / 1M tokens Input.**
- **$0.60 / 1M tokens Output.**

## Technical Specifications

- **Chat Mode.**
- **8,192 Max Output Tokens.**
- **8,192 Max Tokens.**

## Model Capabilities

gemma-4-31b supports: Function Calling, Vision, Tool Choice.

## How Pricing Compares

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

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

| Model | Provider | Input $/1M | Output $/1M | vs gemma-4-31b |
| --- | --- | --- | --- | --- |
| gpt-4o-mini-2024-07-18 | Azure | $0.17 | $0.66 | +10% |
| gpt-4o-mini | Azure | $0.15 | $0.60 | 0% |
| qwen3-vl-32b-instruct | Dashscope | $0.16 | $0.64 | +7% |
| qwen3-vl-32b-thinking | Dashscope | $0.16 | $2.87 | +7% |
| databricks-gemma-3-12b | Databricks | $0.15 | $0.50 | 0% |

## More from Vertex AI

- [gemini-2.0-flash-001 ($0.15/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai/model/gemini-2.0-flash-001.md)
- [mistral-nemo@latest ($0.15/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai/model/mistral-nemo-latest.md)
- [qwen3-next-80b-a3b-instruct-maas ($0.15/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai/model/qwen3-next-80b-a3b-instruct-maas.md)
- [qwen3-next-80b-a3b-thinking-maas ($0.15/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai/model/qwen3-next-80b-a3b-thinking-maas.md)

## Related Resources

- [gemma-4-31b specifications](https://www.getmaxim.ai/bifrost/model-library/compare/vertex_ai/gemma-4-31b.md)
- [All Vertex AI pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai.md)

## FAQ

### 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 626 out of 2912 chat models by input cost, making it cheaper than 78% of models in this category. For output, it costs $0.60 per 1M tokens compared to the median of $1.50.

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

Among Vertex AI's 113 chat models, gemma-4-31b ranks 17 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.

## Related Resources

- [All Vertex AI pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai.md)
- [LLM cost calculator](https://www.getmaxim.ai/bifrost/llm-cost-calculator.md)
- [Model library](https://www.getmaxim.ai/bifrost/model-library.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://www.getmaxim.ai/bifrost/pricing.md)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/bifrost/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/bifrost/book-a-demo)
- [Resources: Bifrost resources](https://www.getmaxim.ai/bifrost/resources.md)

---

*This is a markdown version of [https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai/model/gemma-4-31b](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/vertex_ai/model/gemma-4-31b) for AI/LLM consumption.*
