Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
Model details →Google: Gemma 4 31B (free) vs OpenAI: GPT-5 Mini
Google: Gemma 4 31B (free) wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning tasks. It provides the same instruction-following and safety-tuning benefits as GPT-5, but with reduced latency and cost....
Model details →Side-by-side comparison
| Capability | Google: Gemma 4 31B (free) | OpenAI: GPT-5 Mini | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 262K | 400K | 🏆 OpenAI: GPT-5 Mini |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.00 | $0.25 | 🏆 Google: Gemma 4 31B (free) |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $0.00 | $2.00 | 🏆 Google: Gemma 4 31B (free) |
| Tool / function calling First-class support for emitting structured tool calls. | Yes | Yes | Tie |
| Vision input Accepts image inputs alongside text. | Yes | Yes | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | Yes | Yes | Tie |
Frequently asked questions
Is Google: Gemma 4 31B (free) better than OpenAI: GPT-5 Mini?
Google: Gemma 4 31B (free) wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between Google: Gemma 4 31B (free) and OpenAI: GPT-5 Mini?
Input: $0.00 vs $0.25 per 1M tokens. Output: $0.00 vs $2.00 per 1M tokens.
What context windows do Google: Gemma 4 31B (free) and OpenAI: GPT-5 Mini support?
Google: Gemma 4 31B (free) supports up to 262K tokens. OpenAI: GPT-5 Mini supports up to 400K tokens.
Do both Google: Gemma 4 31B (free) and OpenAI: GPT-5 Mini support tool calling?
Google: Gemma 4 31B (free): yes. OpenAI: GPT-5 Mini: yes.
Compare Google: Gemma 4 31B (free) with other models
vs Anthropic Claude Haiku Latestvs Anthropic Claude Sonnet Latestvs Anthropic: Claude Fable Latestvs Anthropic: Claude Opus Latest