Gemma 4 31B IT pricing & specs

Google · released 2026-04-02 · ● verified 2026-11-29

input / 1M$0.09via DeepInfra
output / 1M$0.34via DeepInfra
context262.1K
max output16.4K

Gemma 4 31B IT is a Google model released on 2026-04-02. At $0.09 per million input tokens and $0.34 per million output tokens, its blended price of $0.1525 per 1M tokens is lower than 81% of the 178 models we track. It offers text, image and video input, a 262.1K-token context window, built-in reasoning, tool calling and structured output. Its weights are open, and it is available from 3 tracked hosting providers.

Ranked #5 of 16 in Cheapest Gemini & Gemma Models, #15 of 20 in Cheapest Reasoning Models and #15 of 20 in Cheapest Vision Models.

// price history ($/1M tokens)

$0.46
input $/1Moutput $/1M2026-04-02 → 2026-11-29

Tracks the selected provider’s quote, which may change providers over time.

// cheaper or similar alternatives

modelinoutctxvs Gemma 4 31B IT
Gemma 4 E2B IT$0.04$0.08131.1K−67.2%
Qwen3.7 Flash$0.03$0.131M−63.9%
Qwen3.5 9B$0.10$0.15262.1K−26.2%
Qwen3.5 Flash$0.10$0.401M+14.8%
Gemini 2.5 Flash-Lite$0.10$0.401.05M+14.8%
all Gemma 4 31B IT alternatives →Gemma 4 31B IT vs Qwen3 VL 30B A3B Instruct →Gemma 4 31B IT vs Qwen3.6 Flash →Gemma 4 31B IT vs Qwen3.8 Flash →Gemma 4 31B IT vs Qwen3.8 Omni Flash →Claude Haiku 5.5 vs Gemma 4 31B IT →DeepSeek-V3.1 vs Gemma 4 31B IT →

// price by host

hostin $/1Mout $/1M
DeepInfra$0.09$0.34
Amazon Bedrock$0.14$0.40
Novita AI$0.14$0.40

// embed this price badge

Show the live price of Gemma 4 31B IT in your README or docs (updated daily):

Gemma 4 31B IT API price badge
[![Gemma 4 31B IT price](https://aisignals.dev/badge/google/gemma-4-31b-it.svg)](https://aisignals.dev/models/google/gemma-4-31b-it)

// faq

How much does Gemma 4 31B IT cost?

Gemma 4 31B IT costs $0.09 per million input tokens and $0.34 per million output tokens (cheapest tracked host: DeepInfra). At 50M input and 10M output tokens per month that is about $7.90.

What is the context window of Gemma 4 31B IT?

262.1K tokens, with up to 16.4K output tokens per request.

Does Gemma 4 31B IT support prompt caching?

Yes. Cached input tokens cost $0.05 per million.

What are cheaper alternatives to Gemma 4 31B IT?

Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 out), Qwen3.5 9B ($0.10 in / $0.15 out) offer the same input types and capabilities for less.

Is Gemma 4 31B IT open weights?

Yes. It is available from 3 tracked hosts; the cheapest is DeepInfra at $0.09 input and $0.34 output per million tokens.

// spec sheet

input / 1M
$0.09
output / 1M
$0.34
cache read / 1M
$0.05
blended (3:1)
$0.1525
context
262.1K
max output
16.4K
input types
text · image · video
reasoning
yes
tool calling
yes
structured output
yes
open weights
yes
knowledge cutoff
2025-01
price source
DeepInfra

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
Qwen3.5 9B$0.10$0.15$6.50
Gemma 4 31B IT$0.09$0.34$7.90

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.