Try Bifrost Enterprise free for 14 days.
Request access

gemma-4-31b Cost Calculator - Kyma

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

Pricing data last updated:

gemma-4-31b Cost Calculator

Mode: Chat

Max: 128,000 tokens

Max: 8,192 tokens

Cost Breakdown

Input Cost$0.00016420
Output Cost$0.00046890
Total Cost$0.00063310

Pricing Details

Input: $0.0000001642 per token
Output: $0.0000004689 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 Tokens128,000
Max Output Tokens8,192

About gemma-4-31b

gemma-4-31b is a chat model from Kyma, one of 83 chat models they offer. It is priced at $0.16 per 1M input tokens and $0.47 per 1M output tokens, ranking 930 out of 4040 chat models by cost and cheaper than 77% of models in this category. gemma-4-31b supports vision, function calling, reasoning, prompt caching, structured output. It accepts up to 128K input tokens.

Pricing Information

Input Cost$0.16 per 1M tokens
Output Cost$0.47 per 1M tokens

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

Technical Specifications

Maximum Input Tokens128,000
Maximum Output Tokens8,192

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 128,000 input tokens. The maximum output length is 8,192 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 Pricing Compares

At $0.16 per 1M input tokens and $0.47 per 1M output tokens, gemma-4-31b ranks 930 out of 4040 chat models by input cost. It is more affordable compared to the median of $0.60 for chat models, and is cheaper than 77% of models in this category.

gemma-4-31b is one of 83 Kyma chat models, with support for vision, function calling, reasoning, prompt caching, structured output.

ModelProviderInput / 1M tokensOutput / 1M tokensvs gemma-4-31b
gpt-5.4-nanoAzure$0.20$1.25+22%
gpt-5.4-nano-2026-03-17Azure$0.20$1.25+22%
gpt-5.6-lunaAzure$0.20$1.20+22%

Alternatives to gemma-4-31b

Similar chat models from other providers

Azure
gpt-5.4-nano
$0.20/1M input
+22% vs gemma-4-31b
Azure
gpt-5.6-luna
$0.20/1M input
+22% vs gemma-4-31b
Dashscope
qwen3.8-flash
$0.15/1M input
-9% vs gemma-4-31b

Frequently Asked Questions

Is gemma-4-31b cheaper than gpt-5.4-nano?

Yes. gemma-4-31b costs $0.16 per 1M input tokens compared to gpt-5.4-nano's $0.20 per 1M input tokens, making it 22% 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 pricing compare to the average chat model?

gemma-4-31b input pricing is $0.16 per 1M tokens, which is 73% below the median of $0.60 for chat models. It ranks 930 out of 4040 chat models by input cost, making it cheaper than 77% of models in this category. For output, it costs $0.47 per 1M tokens compared to the median of $1.80.

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

Among Kyma's 83 chat models, gemma-4-31b ranks 11 by input cost.

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

The most comparable chat models to gemma-4-31b are: gpt-5.4-nano from Azure ($0.20/1M input tokens); gpt-5.4-nano-2026-03-17 from Azure ($0.20/1M input tokens); gpt-5.6-luna from Azure ($0.20/1M input tokens); gpt-5.6-luna-2026-07-09 from Azure ($0.20/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 gemma-4-31b costs?

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