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

# gemma-4-31b-it Cost Calculator - OpenRouter

> Calculate the cost of using gemma-4-31b-it from OpenRouter. Input costs $0.10 and output $0.34 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/enterprise)
- [Pricing](https://www.getmaxim.ai/pricing)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/book-a-demo)

## About gemma-4-31b-it

gemma-4-31b-it is a chat model from OpenRouter, one of 436 chat models they offer. It is priced at $0.10 per 1M input tokens and $0.34 per 1M output tokens, ranking 396 out of 2911 chat models by cost and cheaper than 86% of models in this category. gemma-4-31b-it supports vision, function calling, reasoning, prompt caching, structured output. Its 262K-token context window is in the top 34% among chat models.

## Pricing

Published OpenRouter pricing for gemma-4-31b-it.

- **$0.10 / 1M tokens Input.**
- **$0.34 / 1M tokens Output.**

## Technical Specifications

- **Chat Mode.**
- **262,144 Max Input Tokens.**
- **262,144 Max Output Tokens.**
- **262,144 Max Tokens.**

## Model Capabilities

gemma-4-31b-it supports: Function Calling, Vision, Reasoning, Prompt Caching, Response Schema, Tool Choice.

## How Pricing Compares

At $0.10 per 1M input tokens and $0.34 per 1M output tokens, gemma-4-31b-it ranks 396 out of 2911 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 86% of models in this category.

gemma-4-31b-it is one of 436 OpenRouter chat models, with support for vision, function calling, reasoning, prompt caching, structured output. its 262K-token context window places it in the top 34% of chat models.

| Model | Provider | Input $/1M | Output $/1M | vs gemma-4-31b-it |
| --- | --- | --- | --- | --- |
| gemini-2.5-flash-lite | Vertex AI | $0.10 | $0.40 | 0% |
| gemini-2.5-flash-lite-preview-09-2025 | Vertex AI | $0.10 | $0.40 | 0% |
| gemini-2.5-flash-lite-preview-06-17 | Vertex AI | $0.10 | $0.40 | 0% |
| gemini-2.5-flash-lite | Google Gemini | $0.10 | $0.40 | 0% |
| gemini-2.5-flash-lite-preview-09-2025 | Google Gemini | $0.10 | $0.40 | 0% |

## More from OpenRouter

- [ui-tars-1.5-7b ($0.10/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/ui-tars-1.5-7b.md)
- [ministral-3b-2512 ($0.10/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/ministral-3b-2512.md)
- [gpt-4.1-nano ($0.10/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-4.1-nano.md)
- [muse-spark-1.2-contributor ($0.10/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/muse-spark-1.2-contributor.md)

## Related Resources

- [OpenRouter status](https://www.getmaxim.ai/bifrost/provider-status/openrouter.md)
- [All OpenRouter pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter.md)

## FAQ

### Is gemma-4-31b-it cheaper than gemini-2.5-flash-lite?

No. gemma-4-31b-it costs $0.10 per 1M input tokens while gemini-2.5-flash-lite costs $0.10 per 1M input tokens, making gemini-2.5-flash-lite 0% more affordable for input. However, gemma-4-31b-it may offer different capabilities or performance characteristics that justify the price difference.

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

gemma-4-31b-it input pricing is $0.10 per 1M tokens, which is 82% below the median of $0.55 for chat models. It ranks 396 out of 2911 chat models by input cost, making it cheaper than 86% of models in this category. For output, it costs $0.34 per 1M tokens compared to the median of $1.50.

### What makes gemma-4-31b-it different from other OpenRouter models?

Among OpenRouter's 436 chat models, gemma-4-31b-it ranks 57 by input cost.

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

The most comparable chat models to gemma-4-31b-it are: gemini-2.5-flash-lite from Vertex AI ($0.10/1M input tokens); gemini-2.5-flash-lite-preview-09-2025 from Vertex AI ($0.10/1M input tokens); gemini-2.5-flash-lite-preview-06-17 from Vertex AI ($0.10/1M input tokens); gemini-2.5-flash-lite from Google Gemini ($0.10/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 check if OpenRouter is down?

You can monitor OpenRouter service health in real time on the Bifrost OpenRouter Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.

### How do I calculate gemma-4-31b-it costs?

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

## Related Resources

- [All OpenRouter pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter.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/pricing)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/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/openrouter/model/gemma-4-31b-it](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gemma-4-31b-it) for AI/LLM consumption.*
