Calculate the cost of using gemma-4-31B-it from DeepInfra for your AI applications
Pricing data last updated:
Mode: Chat
Max: 262,144 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
gemma-4-31B-it is a chat model from DeepInfra, one of 136 chat models they offer. It is priced at $0.13 per 1M input tokens and $0.38 per 1M output tokens, ranking 637 out of 3781 chat models by cost and cheaper than 83% of models in this category. gemma-4-31B-it supports vision, function calling, reasoning, structured output. Its 262K-token context window is in the top 45% among chat models.
Note: Use the interactive calculator above to estimate costs for your specific usage patterns.
Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 262,144 input tokens.
At $0.13 per 1M input tokens and $0.38 per 1M output tokens, gemma-4-31B-it ranks 637 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 83% of models in this category.
gemma-4-31B-it is one of 136 DeepInfra chat models, with support for vision, function calling, reasoning, structured output. its 262K-token context window places it in the top 45% of chat models.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs gemma-4-31B-it |
|---|---|---|---|---|
| gpt-6-luna | Azure | $0.11 | $0.55 | -15% |
| qwen3.8-flash | Dashscope | $0.15 | $0.47 | +15% |
| qwen3.8-omni-flash | Dashscope | $0.15 | $0.47 | +15% |
Similar chat models from other providers
No. gemma-4-31B-it costs $0.13 per 1M input tokens while gpt-6-luna costs $0.11 per 1M input tokens, making gpt-6-luna 15% more affordable for input. However, gemma-4-31B-it may offer different capabilities or performance characteristics that justify the price difference.
gemma-4-31B-it input pricing is $0.13 per 1M tokens, which is 78% below the median of $0.60 for chat models. It ranks 637 out of 3781 chat models by input cost, making it cheaper than 83% of models in this category. For output, it costs $0.38 per 1M tokens compared to the median of $1.75.
Among DeepInfra's 136 chat models, gemma-4-31B-it ranks 43 by input cost.
The most comparable chat models to gemma-4-31B-it are: gpt-6-luna from Azure ($0.11/1M input tokens); qwen3.8-flash from Dashscope ($0.15/1M input tokens); qwen3.8-omni-flash from Dashscope ($0.15/1M input tokens); qwen3.8-flash from Qwen Ai Platform ($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.
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.13 and generating 1M output tokens costs $0.38.