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

# gemma-3-4b-it Cost Calculator - DeepInfra

> Calculate the cost of using gemma-3-4b-it from DeepInfra. Input costs $0.04 and output $0.08 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-3-4b-it

gemma-3-4b-it is a chat model from DeepInfra, one of 135 chat models they offer. It is priced at $0.04 per 1M input tokens and $0.08 per 1M output tokens, ranking 84 out of 3254 chat models by cost and cheaper than 97% of models in this category. gemma-3-4b-it supports function calling. It accepts up to 131K input tokens.

## Pricing

Published DeepInfra pricing for gemma-3-4b-it.

- **$0.04 / 1M tokens Input.**
- **$0.08 / 1M tokens Output.**

## Technical Specifications

- **Chat Mode.**
- **131,072 Max Input Tokens.**
- **131,072 Max Output Tokens.**
- **131,072 Max Tokens.**

## Model Capabilities

gemma-3-4b-it supports: Function Calling, Tool Choice.

## How Pricing Compares

At $0.04 per 1M input tokens and $0.08 per 1M output tokens, gemma-3-4b-it ranks 84 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 97% of models in this category.

gemma-3-4b-it is one of 135 DeepInfra chat models, with support for function calling.

| Model | Provider | Input $/1M | Output $/1M | vs gemma-3-4b-it |
| --- | --- | --- | --- | --- |
| amazon.nova-micro-v1:0 | AWS Bedrock | $0.04 | $0.14 | -12% |
| apac.amazon.nova-micro-v1:0 | AWS Bedrock | $0.04 | $0.15 | -8% |
| gpt-5-nano | Azure | $0.05 | $0.40 | +25% |
| gpt-5-nano-2025-08-07 | Azure | $0.05 | $0.40 | +25% |
| ministral-3b | Azure | $0.04 | $0.04 | 0% |

## More from DeepInfra

- [L3-8B-Lunaris-v1-Turbo ($0.04/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/l3-8b-lunaris-v1-turbo.md)
- [gemma-3-12b-it ($0.04/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/gemma-3-12b-it.md)
- [NVIDIA-Nemotron-Nano-9B-v2 ($0.04/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/nvidia-nemotron-nano-9b-v2.md)
- [Qwen3.5-9B ($0.04/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/qwen3.5-9b.md)

## Related Resources

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

## FAQ

### Is gemma-3-4b-it cheaper than amazon.nova-micro-v1:0?

No. gemma-3-4b-it costs $0.04 per 1M input tokens while amazon.nova-micro-v1:0 costs $0.04 per 1M input tokens, making amazon.nova-micro-v1:0 12% more affordable for input. However, gemma-3-4b-it may offer different capabilities or performance characteristics that justify the price difference.

### How does gemma-3-4b-it pricing compare to the average chat model?

gemma-3-4b-it input pricing is $0.04 per 1M tokens, which is 92% below the median of $0.52 for chat models. It ranks 84 out of 3254 chat models by input cost, making it cheaper than 97% of models in this category. For output, it costs $0.08 per 1M tokens compared to the median of $1.50.

### What makes gemma-3-4b-it different from other DeepInfra models?

Among DeepInfra's 135 chat models, gemma-3-4b-it ranks 11 by input cost.

### What are the best alternatives to gemma-3-4b-it?

The most comparable chat models to gemma-3-4b-it are: amazon.nova-micro-v1:0 from AWS Bedrock ($0.04/1M input tokens); apac.amazon.nova-micro-v1:0 from AWS Bedrock ($0.04/1M input tokens); gpt-5-nano from Azure ($0.05/1M input tokens); gpt-5-nano-2025-08-07 from Azure ($0.05/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-3-4b-it costs?

gemma-3-4b-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.04 and generating 1M output tokens costs $0.08.

## 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-3-4b-it](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/gemma-3-4b-it) for AI/LLM consumption.*
