TokenRate

Gemma 4 31B Pricing

Fast

Google · 262K tokens context

Gemma 4 31B from Google costs $0.120 per 1 million input tokens and $0.360 per 1 million output tokens as of June 2026 (live OpenRouter data). The model supports a 262,144-token context window (approximately 196,608 words) with a 8K-token maximum output. A typical 1,000-token request costs $0.0001 in input charges; a 10,000-token request costs $0.0012.

Gemma 4 31B pricing and capability summary
Input price$0.120 / 1M tokens
Output price$0.360 / 1M tokens
Output / input ratio3.0×
Context window262,144 tokens (~196,608 words)
Maximum output8,192 tokens
Cost per 1K tokens (input)$0.0001
TierFast
Last verified

Gemma 4 31B Instruct is Google DeepMind's 30. 7B dense multimodal model supporting text and image input with text output.

Live pricing from OpenRouter

Input Price

$0.120

per 1 million tokens

Output Price

$0.360

per 1 million tokens

Context Window

262K tokens

max 8K output

Cost Examples

Request TypeTokensInput CostOutput Cost
1,000 word article1,333$0.00016$0.000144
10-page document (2,500 words)3,333$0.0004$0.00036
1,000 lines of code5,000$0.0006$0.00054
100K token document100,000$0.012$0.0108

Output cost estimated at 30% of input token count. Use the calculator for exact figures.

Strengths

  • Extremely cheap at $0.120/1M input tokens
  • Large 262K-token context window
  • Low latency for high-throughput workloads
  • Multimodal: understands images as well as text

Limitations

  • Less capable than flagship models on complex reasoning
  • Quality and availability can vary by hosting provider

Best Use Cases

High-volume classification
Text extraction and summarization
Simple chat and Q&A
Cost-sensitive pipelines

Calculate Gemma 4 31B Costs

Use the TokenRate calculator to convert any budget, token count, or text into exact Gemma 4 31B costs — and compare across all models.

Open Calculator →

Gemma 4 31B — FAQ

Related Models

Related Guides