All Google models

Gemma 4 31B

Google · released 4 months ago

Gemma 4 31B is a Google model with a 262K token context window — about 370 pages of text. It reads Images, Text, and Video and replies in Text. It can show its reasoning before it answers.

$0.115

input / 1M tokens

$0.391

output / 1M tokens

262K

context — about 370 pages

0.09¢

a client proposal

Pricing

Input
$0.115 per million tokens
Output
$0.391 per million tokens
Cached input
$0.115 per million tokens

Billed from your Alyph wallet. Prices can change when the provider changes theirs — last checked August 9, 2026.

The numbers

Provider
Released
4 months ago (2026-04-02)
Context window
262K tokens — about 370 pages
Max output
262K tokens per reply
Input
Images, Text, and Video
Output
Text
Reasoning
Shows its thinking before answering

Cost vs Token Amount

Drag the slider to adjust the split between input and output workload.

80% Input20% Output
free$0.09$0.170 tokens250k500k750k1000k
Gemma 4 31B

Adjust the ratio slider to change how output tokens influence the final price for equivalent workloads.

What a task costs

2K tokens in · 500 tokens out.

Gemma 4 31B

Google

0.04¢

for this task

54% input · 46% output

Full pricing →

Your $5 welcome credit covers about 11,750 of these.

Compare Gemma 4 31B

Closest in price on a typical task:

Questions, answered

How much does Gemma 4 31B cost on Alyph?

Gemma 4 31B costs $0.115 per million input tokens and $0.391 per million output tokens on Alyph. A typical task — 5K tokens in, 800 out — works out to about 0.09¢. Billed from your Alyph wallet, with hard spending limits. Prices can change when the provider changes theirs; this page was last checked on August 9, 2026.

What is Gemma 4 31B's context window?

262K tokens — about 370 pages. Replies can be up to 262K tokens long.

Can Gemma 4 31B read images and files?

Gemma 4 31B reads Images, Text, and Video. Drop a file onto the canvas and it becomes part of the context — the only limit is the context window.

Does Gemma 4 31B show its reasoning?

Yes. Gemma 4 31B can expose its thinking before the final answer, so you can watch how it got there.

Test Gemma 4 31B against Gemma 3 27B

One prompt, both models at the same time, the better answer wins. Free to start, with $5 of credit.