Try Bifrost Enterprise free for 14 days.
Request access

gemma4 Cost Calculator - Sarvam

Calculate the cost of using gemma4 from Sarvam for your AI applications

Pricing data last updated:

gemma4 Cost Calculator

Mode: Chat

Max: 262,144 tokens

Max: 262,144 tokens

Cost Breakdown

Input Cost$0.00037234
Output Cost$0.00095745
Total Cost$0.001330

Pricing Details

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

About gemma4

gemma4 is a chat model from Sarvam, one of 7 chat models they offer. It is priced at $0.37 per 1M input tokens and $0.96 per 1M output tokens, ranking 2561 out of 5562 chat models by cost and cheaper than 54% of models in this category. gemma4 supports vision, function calling, reasoning, prompt caching, structured output. Its 262K-token context window is in the top 49% among chat models.

Pricing Information

Input Cost$0.37 per 1M tokens
Output Cost$0.96 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

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
✓Advanced Reasoning - Complex problem-solving capabilities
✓Prompt Caching - Optimize repeated prompts
✓System Messages - Configure model behavior
✓Parallel Function Calling - Execute multiple functions simultaneously
✓Response Schema - Structured output formatting

How gemma4 Pricing Compares

At $0.37 per 1M input tokens and $0.96 per 1M output tokens, gemma4 ranks 2561 out of 5562 chat models by input cost. It is more affordable compared to the median of $0.47 for chat models, and is cheaper than 54% of models in this category.

gemma4 is one of 7 Sarvam chat models, with support for vision, function calling, reasoning, prompt caching, structured output. its 262K-token context window places it in the top 49% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs gemma4
amazon.nova-2-lite-v1:0AWS Bedrock$0.30$2.50-19%
apac.amazon.nova-2-lite-v1:0AWS Bedrock$0.40$3.31+6%
eu.amazon.nova-2-lite-v1:0AWS Bedrock$0.43$3.60+15%

Alternatives to gemma4

Similar chat models from other providers

AWS Bedrock
amazon.nova-2-lite-v1:0
$0.30/1M input
-19% vs gemma4
AWS Bedrock
apac.amazon.nova-2-lite-v1:0
$0.40/1M input
+6% vs gemma4
AWS Bedrock
eu.amazon.nova-2-lite-v1:0
$0.43/1M input
+15% vs gemma4
AWS Bedrock
us.amazon.nova-2-lite-v1:0
$0.33/1M input
-11% vs gemma4
Databricks
databricks-gemini-3-5-flash-lite
$0.37/1M input
+1% vs gemma4

Frequently Asked Questions

Is gemma4 cheaper than amazon.nova-2-lite-v1:0?

No. gemma4 costs $0.37 per 1M input tokens while amazon.nova-2-lite-v1:0 costs $0.30 per 1M input tokens, making amazon.nova-2-lite-v1:0 19% more affordable for input. However, gemma4 may offer different capabilities or performance characteristics that justify the price difference.

How does gemma4 pricing compare to the average chat model?

gemma4 input pricing is $0.37 per 1M tokens, which is 21% below the median of $0.47 for chat models. It ranks 2561 out of 5562 chat models by input cost, making it cheaper than 54% of models in this category. For output, it costs $0.96 per 1M tokens compared to the median of $1.56.

What makes gemma4 different from other Sarvam models?

Among Sarvam's 7 chat models, gemma4 ranks 6 by input cost.

What are the best alternatives to gemma4?

The most comparable chat models to gemma4 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.40/1M input tokens); eu.amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.43/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 do I calculate gemma4 costs?

gemma4 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.37 and generating 1M output tokens costs $0.96.