Fresh paint, wet floors — we're rebuilding CostOfToken into a cross-provider price comparison. Some corners are still under construction; the full version is coming up soon.

Gemma 4 31B pricing

Gemma 4 31B from Together AI costs $0.390 per 1M input tokens and $0.970 per 1M output tokens.

API id gemma-4-31b · Together AI · source · updated 2026-09-25 · general-purpose

$0.390
Input / 1M tokens
$0.970
Output / 1M tokens
—
Cached input / 1M
—
Context window

Gemma 4 31B specifications

Provider
Together AI
API id
gemma-4-31b
Model type
general-purpose
Context window
— tokens
Max output
not published
Currency
USD
Price source
First-party
Last checked
2026-09-25

What Gemma 4 31B costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0009
Document summary50,0002,000$0.02
1M tokens in, 200K out1,000,000200,000$0.58

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

Common questions

How much does Gemma 4 31B cost per 1M tokens?
Gemma 4 31B costs $0.390 per 1M input tokens and $0.970 per 1M output tokens on the standard tier.
What is Gemma 4 31B's context window?
Together AI does not publish a context window for Gemma 4 31B on its pricing page.
Is there a cheaper Together AI model than Gemma 4 31B?
Yes. Qwen3 235B A22B Instruct 2507 FP8 Throughput is $0.200 per 1M input tokens versus $0.390 for Gemma 4 31B.
Where does this Gemma 4 31B price come from?
Directly from Together AI's published pricing page, re-read every day and normalized to USD per 1,000,000 tokens.

Head-to-head comparisons

Other Together AI models

See all Together AI pricing →