Try Bifrost Enterprise free for 14 days.
Request access

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

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

Pricing data last updated:

gemma-4-31b-it Cost Calculator

Mode: Chat

Max: 262,144 tokens

Max: 262,144 tokens

Cost Breakdown

Input Cost$0.00015000
Output Cost$0.00040000
Total Cost$0.00055000

Pricing Details

Input: $0.0000001500 per token
Output: $0.0000004000 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 Input Tokens262,144
Max Output Tokens262,144
Max Tokens262,144

About gemma-4-31b-it

gemma-4-31b-it is a chat model from Libertai, one of 11 chat models they offer. It is priced at $0.15 per 1M input tokens and $0.40 per 1M output tokens, ranking 499 out of 2292 chat models by cost and cheaper than 77% of models in this category. gemma-4-31b-it supports vision, function calling. Its 262K-token context window is in the top 25% among chat models.

Pricing Information

Input Cost$0.15 per 1M tokens
Output Cost$0.40 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 Tokens262,144
Maximum Total Tokens262,144

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 262,144 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Vision - Process and understand images
System Messages - Configure model behavior

How gemma-4-31b-it Pricing Compares

At $0.15 per 1M input tokens and $0.40 per 1M output tokens, gemma-4-31b-it ranks 499 out of 2292 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-it is one of 11 Libertai chat models, with support for vision, function calling. its 262K-token context window places it in the top 25% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs gemma-4-31b-it
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-it

Similar chat models from other providers

Azure
gpt-4o-mini-2024-07-18
$0.17/1M input
+10% vs gemma-4-31b-it
Azure
gpt-4o-mini
$0.15/1M input
0% vs gemma-4-31b-it
Dashscope
qwen3-vl-32b-instruct
$0.16/1M input
+7% vs gemma-4-31b-it
Dashscope
qwen3-vl-32b-thinking
$0.16/1M input
+7% vs gemma-4-31b-it
Vertex AI
gemini-2.0-flash-001
$0.15/1M input
0% vs gemma-4-31b-it

Frequently Asked Questions

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

Yes. gemma-4-31b-it 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-it pricing compare to the average chat model?

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

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

Among Libertai's 11 chat models, gemma-4-31b-it ranks 2 by input cost.

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

The most comparable chat models to gemma-4-31b-it 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 large is gemma-4-31b-it's context window?

gemma-4-31b-it supports up to 262,144 input tokens, placing it in the top 25% of chat models by context window size (rank 503 of 2159). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

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.15 and generating 1M output tokens costs $0.40.