All AI models · LLM benchmarks · Methodology

Google

Gemma 4 31B Thinking

Largest Gemma 4 instruction model for open, self-hosted chat and reasoning

Model facts

Context window
262K tokens
Maximum output
131K tokens
Cheapest paid input
$0.1 per 1M tokens
Cheapest paid output
$0.35 per 1M tokens
Open weights
yes
Providers
1

Capabilities and modalities

reasoning, tool calling, structured output, attachments, temperature control, open weights, text, image.

Observed price history

  • 2026-08-24: $0.1 input / $0.35 output per 1M tokens

API providers

  • NanoGPT — model id google/gemma-4-31b-it:thinking; $0.1 input / $0.35 output per 1M tokens; provider documentation