---
title: "gemma-4-31b-it - Model Details & Comparison"
description: "gemma-4-31b-it from Libertai: capabilities, context limits, pricing, and side-by-side comparisons with alternative models."
url: "https://www.getmaxim.ai/bifrost/model-library/compare/libertai/gemma-4-31b-it"
markdown: "https://www.getmaxim.ai/bifrost/model-library/compare/libertai/gemma-4-31b-it.md"
---

# gemma-4-31b-it - Model Details & Comparison

> gemma-4-31b-it from Libertai: capabilities, context limits, pricing, and side-by-side comparisons with alternative models.

## Important Links

- [View MCP Gateway](https://www.getmaxim.ai/bifrost/resources/mcp-gateway.md)
- [Features](https://www.getmaxim.ai/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

gemma-4-31b-it is a chat model from Libertai, one of 11 chat models they offer. It is priced at $0.15 per 1M input tokens and $0.40 per 1M output tokens, ranking 612 out of 2924 chat models by cost and cheaper than 78% of models in this category. gemma-4-31b-it supports vision, function calling. Its 262K-token context window is in the top 33% among chat models.

## Specifications

- **Libertai Provider.**
- **Chat Mode.**
- **262,144 Max Input Tokens.**
- **262,144 Max Output Tokens.**
- **262,144 Max Tokens.**
- **$0.15 / 1M tokens Input Price.**
- **$0.40 / 1M tokens Output Price.**

## Capabilities

gemma-4-31b-it supports: Function Calling, Vision, System Messages, Tool Choice.

## gemma-4-31b-it Pricing Overview

At $0.15 per 1M input tokens and $0.40 per 1M output tokens, gemma-4-31b-it ranks 612 out of 2924 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 78% of models in this category.

gemma-4-31b-it is one of 11 Libertai chat models, with support for vision, function calling. its 262K-token context window places it in the top 33% of chat models.

## Models to Compare

Alternatives to gemma-4-31b-it with comparable capabilities.

| Model | Provider | Input $/1M | Output $/1M |
| --- | --- | --- | --- |
| gpt-4o-mini-2024-07-18 | Azure | $0.17 | $0.66 |
| gpt-4o-mini | Azure | $0.15 | $0.60 |
| qwen3-vl-32b-instruct | Dashscope | $0.16 | $0.64 |
| qwen3-vl-32b-thinking | Dashscope | $0.16 | $2.87 |
| databricks-gemma-3-12b | Databricks | $0.15 | $0.50 |

- [Compare gpt-4o-mini-2024-07-18](https://www.getmaxim.ai/bifrost/model-library/compare/azure/gpt-4o-mini-2024-07-18.md)
- [Compare gpt-4o-mini](https://www.getmaxim.ai/bifrost/model-library/compare/azure/gpt-4o-mini.md)
- [Compare qwen3-vl-32b-instruct](https://www.getmaxim.ai/bifrost/model-library/compare/dashscope/qwen3-vl-32b-instruct.md)
- [Compare qwen3-vl-32b-thinking](https://www.getmaxim.ai/bifrost/model-library/compare/dashscope/qwen3-vl-32b-thinking.md)
- [Compare databricks-gemma-3-12b](https://www.getmaxim.ai/bifrost/model-library/compare/databricks/databricks-gemma-3-12b.md)

## Related Resources

- [Calculate gemma-4-31b-it costs](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/libertai/model/gemma-4-31b-it.md)
- [All Libertai pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/libertai.md)

## FAQ

### Is gemma-4-31b-it cheaper than gpt-4o-mini-2024-07-18?

Yes. gemma-4-31b-it costs $0.15 per 1M input tokens compared to gpt-4o-mini-2024-07-18's $0.17 per 1M input tokens, making it 10% more affordable. Both are chat models and share support for vision, function calling, prompt caching, structured output.

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

gemma-4-31b-it input pricing is $0.15 per 1M tokens, which is 73% below the median of $0.55 for chat models. It ranks 612 out of 2924 chat models by input cost, making it cheaper than 78% of models in this category. For output, it costs $0.40 per 1M tokens compared to the median of $1.50.

### What makes gemma-4-31b-it different from other Libertai models?

Among Libertai's 11 chat models, gemma-4-31b-it ranks 2 by input cost.

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

The most comparable chat models to gemma-4-31b-it are: gpt-4o-mini-2024-07-18 from Azure ($0.17/1M input tokens); gpt-4o-mini from Azure ($0.15/1M input tokens); qwen3-vl-32b-instruct from Dashscope ($0.16/1M input tokens); qwen3-vl-32b-thinking from Dashscope ($0.16/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 costs?

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.15 and generating 1M output tokens costs $0.40.

## Related Resources

- [Libertai models](https://www.getmaxim.ai/bifrost/model-library/provider/libertai.md)
- [Model library](https://www.getmaxim.ai/bifrost/model-library.md)
- [LLM cost calculator](https://www.getmaxim.ai/bifrost/llm-cost-calculator.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://www.getmaxim.ai/bifrost/resources.md)

---

*This is a markdown version of [https://www.getmaxim.ai/bifrost/model-library/compare/libertai/gemma-4-31b-it](https://www.getmaxim.ai/bifrost/model-library/compare/libertai/gemma-4-31b-it) for AI/LLM consumption.*
