Try Bifrost Enterprise free for 14 days.
Request access

Gemma-4-31B-it-pearl Cost Calculator - Hugging Face

Calculate the cost of using Gemma-4-31B-it-pearl from Hugging Face for your AI applications

Pricing data last updated:

Gemma-4-31B-it-pearl Cost Calculator

Mode: Chat

Max: 262,144 tokens

Cost Breakdown

Input Cost$0.00028000
Output Cost$0.00086000
Total Cost$0.001140

Pricing Details

Input: $0.0000002800 per token
Output: $0.0000008600 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 Tokens262,144

About Gemma-4-31B-it-pearl

Gemma-4-31B-it-pearl is a chat model from Hugging Face, one of 187 chat models they offer. It is priced at $0.28 per 1M input tokens and $0.86 per 1M output tokens, ranking 958 out of 2661 chat models by cost and cheaper than 64% of models in this category. Gemma-4-31B-it-pearl supports vision, function calling. Its 262K-token context window is in the top 29% among chat models.

Pricing Information

Input Cost$0.28 per 1M tokens
Output Cost$0.86 per 1M tokens

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

Technical Specifications

Maximum Input 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.

Model Capabilities

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

How Gemma-4-31B-it-pearl Pricing Compares

At $0.28 per 1M input tokens and $0.86 per 1M output tokens, Gemma-4-31B-it-pearl ranks 958 out of 2661 chat models by input cost. It is more affordable compared to the median of $0.50 for chat models, and is cheaper than 64% of models in this category.

Gemma-4-31B-it-pearl is one of 187 Hugging Face chat models, with support for vision, function calling. its 262K-token context window places it in the top 29% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs Gemma-4-31B-it-pearl
amazon.nova-2-lite-v1:0AWS Bedrock$0.30$2.50+7%
apac.amazon.nova-2-lite-v1:0AWS Bedrock$0.33$2.75+18%
eu.amazon.nova-2-lite-v1:0AWS Bedrock$0.33$2.75+18%

Alternatives to Gemma-4-31B-it-pearl

Similar chat models from other providers

AWS Bedrock
amazon.nova-2-lite-v1:0
$0.30/1M input
+7% vs Gemma-4-31B-it-pearl
AWS Bedrock
apac.amazon.nova-2-lite-v1:0
$0.33/1M input
+18% vs Gemma-4-31B-it-pearl
AWS Bedrock
eu.amazon.nova-2-lite-v1:0
$0.33/1M input
+18% vs Gemma-4-31B-it-pearl
AWS Bedrock
us.amazon.nova-2-lite-v1:0
$0.33/1M input
+18% vs Gemma-4-31B-it-pearl
AWS Bedrock
anthropic.claude-3-haiku-20240307-v1:0
$0.25/1M input
-11% vs Gemma-4-31B-it-pearl

Frequently Asked Questions

Is Gemma-4-31B-it-pearl cheaper than amazon.nova-2-lite-v1:0?

Yes. Gemma-4-31B-it-pearl costs $0.28 per 1M input tokens compared to amazon.nova-2-lite-v1:0's $0.30 per 1M input tokens, making it 7% more affordable. Both are chat models and share support for vision, function calling, reasoning, prompt caching, structured output.

How does Gemma-4-31B-it-pearl pricing compare to the average chat model?

Gemma-4-31B-it-pearl input pricing is $0.28 per 1M tokens, which is 44% below the median of $0.50 for chat models. It ranks 958 out of 2661 chat models by input cost, making it cheaper than 64% of models in this category. For output, it costs $0.86 per 1M tokens compared to the median of $1.44.

What makes Gemma-4-31B-it-pearl different from other Hugging Face models?

Among Hugging Face's 187 chat models, Gemma-4-31B-it-pearl ranks 97 by input cost.

What are the best alternatives to Gemma-4-31B-it-pearl?

The most comparable chat models to Gemma-4-31B-it-pearl are: amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.30/1M input tokens); apac.amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.33/1M input tokens); eu.amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.33/1M input tokens); us.amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.33/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-pearl's context window?

Gemma-4-31B-it-pearl supports up to 262,144 input tokens, placing it in the top 29% of chat models by context window size (rank 721 of 2482). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I check if Hugging Face is down?

You can monitor Hugging Face service health in real time on the Bifrost Hugging Face 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-pearl costs?

Gemma-4-31B-it-pearl 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.28 and generating 1M output tokens costs $0.86.