Try Bifrost Enterprise free for 14 days.
Request access

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

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

Pricing data last updated:

gemma-4-31b-it Cost Calculator

Mode: Chat

Max: 262,144 tokens

Max: 16,384 tokens

Cost Breakdown

Input Cost$0.00009000
Output Cost$0.00034000
Total Cost$0.00043000

Pricing Details

Input: $0.0000000900 per token
Output: $0.0000003400 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
Reasoning

Limits

Max Input Tokens262,144
Max Output Tokens16,384
Max Tokens16,384

About gemma-4-31b-it

gemma-4-31b-it is a chat model from OpenRouter, one of 441 chat models they offer. It is priced at $0.09 per 1M input tokens and $0.34 per 1M output tokens, ranking 340 out of 3254 chat models by cost and cheaper than 89% 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 37% among chat models.

Pricing Information

Input Cost$0.09 per 1M tokens
Output Cost$0.34 per 1M tokens

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

Technical Specifications

Maximum Input Tokens262,144
Maximum Output Tokens16,384
Maximum Total Tokens16,384

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 262,144 input tokens. The maximum output length is 16,384 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Vision - Process and understand images
Advanced Reasoning - Complex problem-solving capabilities
Prompt Caching - Optimize repeated prompts
Response Schema - Structured output formatting

How gemma-4-31b-it Pricing Compares

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

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

ModelProviderInput / 1M tokensOutput / 1M tokensvs gemma-4-31b-it
gemini-2.5-flash-liteVertex AI$0.10$0.40+11%
gemini-2.5-flash-lite-preview-09-2025Vertex AI$0.10$0.40+11%
gemini-2.5-flash-lite-preview-06-17Vertex AI$0.10$0.40+11%

Alternatives to gemma-4-31b-it

Similar chat models from other providers

Vertex AI
gemini-2.5-flash-lite
$0.10/1M input
+11% vs gemma-4-31b-it
Google Gemini
gemini-2.5-flash-lite
$0.10/1M input
+11% vs gemma-4-31b-it

Frequently Asked Questions

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

Yes. gemma-4-31b-it costs $0.09 per 1M input tokens compared to gemini-2.5-flash-lite's $0.10 per 1M input tokens, making it 11% more affordable. Both are chat models and share support for vision, function calling, reasoning, web search, prompt caching, structured output.

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

gemma-4-31b-it input pricing is $0.09 per 1M tokens, which is 83% below the median of $0.52 for chat models. It ranks 340 out of 3254 chat models by input cost, making it cheaper than 89% 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 441 chat models, gemma-4-31b-it ranks 55 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.09 and generating 1M output tokens costs $0.34.