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

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

> gemma-4-31B-it from Friendliai: 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 FriendliAI, one of 8 chat models they offer. It is priced at $0.14 per 1M input tokens and $0.40 per 1M output tokens, ranking 630 out of 3648 chat models by cost and cheaper than 82% 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 39% among chat models.

## Specifications

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

## Capabilities

gemma-4-31B-it supports: Function Calling, Vision, Reasoning, Parallel Function Calling, System Messages, Response Schema, Tool Choice.

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

At $0.14 per 1M input tokens and $0.40 per 1M output tokens, gemma-4-31B-it ranks 630 out of 3648 chat models by input cost. It is more affordable compared to the median of $0.57 for chat models, and is cheaper than 82% of models in this category.

gemma-4-31B-it is one of 8 FriendliAI chat models, with support for vision, function calling, reasoning, structured output. its 262K-token context window places it in the top 39% of chat models.

## Models to Compare

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

| Model | Provider | Input $/1M | Output $/1M |
| --- | --- | --- | --- |
| deepseek-v4.1-flash | OpenRouter | $0.15 | $0.60 |
| qwen3.5-35b-a3b | OpenRouter | $0.16 | $1.30 |
| mimo-v2.5 | OpenRouter | $0.14 | $0.28 |
| Qwen3.5-9B | Together AI | $0.17 | $0.25 |
| GLM-5.3-Flash | Together AI | $0.15 | $0.50 |

- [Compare deepseek-v4.1-flash](https://www.getmaxim.ai/bifrost/model-library/compare/openrouter/deepseek-v4.1-flash.md)
- [Compare qwen3.5-35b-a3b](https://www.getmaxim.ai/bifrost/model-library/compare/openrouter/qwen3.5-35b-a3b.md)
- [Compare mimo-v2.5](https://www.getmaxim.ai/bifrost/model-library/compare/openrouter/mimo-v2.5.md)
- [Compare Qwen3.5-9B](https://www.getmaxim.ai/bifrost/model-library/compare/together_ai/qwen3.5-9b.md)
- [Compare GLM-5.3-Flash](https://www.getmaxim.ai/bifrost/model-library/compare/together_ai/glm-5.3-flash.md)

## Related Resources

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

## FAQ

### Is gemma-4-31B-it cheaper than deepseek-v4.1-flash?

Yes. gemma-4-31B-it costs $0.14 per 1M input tokens compared to deepseek-v4.1-flash's $0.15 per 1M input tokens, making it 7% more affordable. Both are chat models and share support for vision, function calling, reasoning, 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.14 per 1M tokens, which is 75% below the median of $0.57 for chat models. It ranks 630 out of 3648 chat models by input cost, making it cheaper than 82% of models in this category. For output, it costs $0.40 per 1M tokens compared to the median of $1.65.

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

Among FriendliAI's 8 chat models, gemma-4-31B-it ranks 1 by input cost.

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

The most comparable chat models to gemma-4-31B-it are: deepseek-v4.1-flash from OpenRouter ($0.15/1M input tokens); qwen3.5-35b-a3b from OpenRouter ($0.16/1M input tokens); mimo-v2.5 from OpenRouter ($0.14/1M input tokens); Qwen3.5-9B from Together AI ($0.17/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.14 and generating 1M output tokens costs $0.40.

## Related Resources

- [Friendliai models](https://www.getmaxim.ai/bifrost/model-library/provider/friendliai.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/friendliai/gemma-4-31b-it](https://www.getmaxim.ai/bifrost/model-library/compare/friendliai/gemma-4-31b-it) for AI/LLM consumption.*
