---
title: "gemma-4-31B-it-turbo Cost Calculator - DeepInfra"
description: "Calculate the cost of using gemma-4-31B-it-turbo from DeepInfra. Input costs $0.12 and output $0.37 per 1M tokens."
url: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/gemma-4-31b-it-turbo"
markdown: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/gemma-4-31b-it-turbo.md"
---

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

> Calculate the cost of using gemma-4-31B-it-turbo from DeepInfra. Input costs $0.12 and output $0.37 per 1M tokens.

## Important Links

- [View MCP Gateway](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources/mcp-gateway.md)
- [Features](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/#features)
- [Enterprise](https://www.getmaxim.ai/enterprise)
- [Pricing](https://www.getmaxim.ai/pricing)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/book-a-demo)

## About gemma-4-31B-it-turbo

gemma-4-31B-it-turbo is a chat model from DeepInfra, one of 135 chat models they offer. It is priced at $0.12 per 1M input tokens and $0.37 per 1M output tokens, ranking 526 out of 3254 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 37% among chat models.

## Pricing

Published DeepInfra pricing for gemma-4-31B-it-turbo.

- **$0.12 / 1M tokens Input.**
- **$0.37 / 1M tokens Output.**

## Technical Specifications

- **Chat Mode.**
- **262,144 Max Input Tokens.**
- **262,144 Max Tokens.**

## Model Capabilities

gemma-4-31B-it-turbo supports: Function Calling, Vision, Reasoning, Prompt Caching, Tool Choice.

## How Pricing Compares

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

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

| Model | Provider | Input $/1M | Output $/1M | vs gemma-4-31B-it-turbo |
| --- | --- | --- | --- | --- |
| GLM-5.3-Flash | FriendliAI | $0.15 | $0.50 | +25% |
| gemini-2.5-flash-lite | Vertex AI | $0.10 | $0.40 | -17% |
| gemini-2.5-flash-lite-preview-09-2025 | Vertex AI | $0.10 | $0.40 | -17% |
| gemini-2.5-flash-lite-preview-06-17 | Vertex AI | $0.10 | $0.40 | -17% |
| gemini-2.5-flash-lite | Google Gemini | $0.10 | $0.40 | -17% |

## More from DeepInfra

- [Qwen2.5-7B-Instruct ($0.12/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/qwen2.5-7b-instruct.md)
- [Qwen3-14B ($0.12/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/qwen3-14b.md)
- [gemma-4-31B-it ($0.13/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/gemma-4-31b-it.md)
- [Qwen3-Next-80B-A3B-Thinking ($0.14/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/qwen3-next-80b-a3b-thinking.md)

## Related Resources

- [All DeepInfra pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra.md)

## FAQ

### Is gemma-4-31B-it-turbo cheaper than GLM-5.3-Flash?

Yes. gemma-4-31B-it-turbo costs $0.12 per 1M input tokens compared to GLM-5.3-Flash's $0.15 per 1M input tokens, making it 25% more affordable. Both are chat models and share support for vision, function calling, reasoning, prompt caching, structured output.

### 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 77% below the median of $0.52 for chat models. It ranks 526 out of 3254 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.50.

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

Among DeepInfra's 135 chat models, gemma-4-31B-it-turbo ranks 42 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: GLM-5.3-Flash from FriendliAI ($0.15/1M input tokens); gemini-2.5-flash-lite from Vertex AI ($0.10/1M input tokens); gemini-2.5-flash-lite-preview-09-2025 from Vertex AI ($0.10/1M input tokens); gemini-2.5-flash-lite-preview-06-17 from Vertex AI ($0.10/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.

## Related Resources

- [All DeepInfra pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra.md)
- [LLM cost calculator](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator.md)
- [Model library](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://www.getmaxim.ai/pricing)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/book-a-demo)
- [Resources: Bifrost resources](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources.md)

---

*This is a markdown version of [https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/gemma-4-31b-it-turbo](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/gemma-4-31b-it-turbo) for AI/LLM consumption.*
