Try Bifrost Enterprise free for 14 days.
Request access

gemma-4-31B-it-turbo Cost Calculator - DeepInfra

Calculate the cost of using gemma-4-31B-it-turbo from DeepInfra for your AI applications

Pricing data last updated:

gemma-4-31B-it-turbo Cost Calculator

Mode: Chat

Max: 262,144 tokens

Cost Breakdown

Input Cost$0.00012000
Output Cost$0.00037000
Total Cost$0.00049000

Pricing Details

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

About gemma-4-31B-it-turbo

gemma-4-31B-it-turbo is a chat model from DeepInfra, one of 136 chat models they offer. It is priced at $0.12 per 1M input tokens and $0.37 per 1M output tokens, ranking 613 out of 3781 chat models by cost and cheaper than 84% of models in this category. gemma-4-31B-it-turbo supports vision, function calling, reasoning, prompt caching. Its 262K-token context window is in the top 45% among chat models.

Pricing Information

Input Cost$0.12 per 1M tokens
Output Cost$0.37 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
✓Advanced Reasoning - Complex problem-solving capabilities
✓Prompt Caching - Optimize repeated prompts

How gemma-4-31B-it-turbo Pricing Compares

At $0.12 per 1M input tokens and $0.37 per 1M output tokens, gemma-4-31B-it-turbo ranks 613 out of 3781 chat models by input cost. It is more affordable compared to the median of $0.60 for chat models, and is cheaper than 84% of models in this category.

gemma-4-31B-it-turbo is one of 136 DeepInfra chat models, with support for vision, function calling, reasoning, prompt caching. its 262K-token context window places it in the top 45% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs gemma-4-31B-it-turbo
gpt-6-lunaAzure$0.10$0.50-17%
gpt-6-luna-2026-09-22Azure$0.10$0.50-17%
qwen3.8-flashDashscope$0.15$0.47+25%

Alternatives to gemma-4-31B-it-turbo

Similar chat models from other providers

Azure
gpt-6-luna
$0.10/1M input
-17% vs gemma-4-31B-it-turbo
Azure
gpt-6-luna-2026-09-22
$0.10/1M input
-17% vs gemma-4-31B-it-turbo
Dashscope
qwen3.8-flash
$0.15/1M input
+25% vs gemma-4-31B-it-turbo
Dashscope
qwen3.8-omni-flash
$0.15/1M input
+25% vs gemma-4-31B-it-turbo
Qwen Ai Platform
qwen3.8-flash
$0.15/1M input
+25% vs gemma-4-31B-it-turbo

Frequently Asked Questions

Is gemma-4-31B-it-turbo cheaper than gpt-6-luna?

No. gemma-4-31B-it-turbo costs $0.12 per 1M input tokens while gpt-6-luna costs $0.10 per 1M input tokens, making gpt-6-luna 17% more affordable for input. However, gemma-4-31B-it-turbo may offer different capabilities or performance characteristics that justify the price difference.

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

gemma-4-31B-it-turbo input pricing is $0.12 per 1M tokens, which is 80% below the median of $0.60 for chat models. It ranks 613 out of 3781 chat models by input cost, making it cheaper than 84% of models in this category. For output, it costs $0.37 per 1M tokens compared to the median of $1.75.

What makes gemma-4-31B-it-turbo different from other DeepInfra models?

Among DeepInfra's 136 chat models, gemma-4-31B-it-turbo ranks 41 by input cost.

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

The most comparable chat models to gemma-4-31B-it-turbo are: gpt-6-luna from Azure ($0.10/1M input tokens); gpt-6-luna-2026-09-22 from Azure ($0.10/1M input tokens); qwen3.8-flash from Dashscope ($0.15/1M input tokens); qwen3.8-omni-flash from Dashscope ($0.15/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-it-turbo costs?

gemma-4-31B-it-turbo 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.12 and generating 1M output tokens costs $0.37.