All models

Google

Gemma 4 31B fastruns locally

google/gemma-4-31b-it

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...

Input / 1M

$0.20

USD per million tokens

Output / 1M

$0.40

USD per million tokens

Est. cost / token

$0.00000025

$0.25 per 1M, 3:1 mix

Context window

262K

max output 16K

Major features

VisionOpen weightsReasoningJSON schemaTools

Task suitability (heuristic 1–5, not a benchmark)

  • coding3
  • reasoning3
  • math3
  • summarization4
  • extraction4
  • classification4
  • chat3
  • creative3
  • translation4
  • vision3
  • long context3
  • agentic3

Run it locally

Will it run on my machine? →
QuantizationQualityMemory needed (8K ctx)
Q2_Kpoor16.3 GB
Q3_K_Mfair18.6 GB
Q4_K_Mrecommendedgood22.6 GB
Q5_K_Mvery good25.9 GB
Q6_Kexcellent29.5 GB
Q8_0near-lossless37.4 GB
F16lossless68.2 GB

Estimates.

Price history

RecordedInputOutputCachedSource
2026-11-05 03:20$0.20$0.40—openrouter

A row is added whenever a sync detects a price change. Vendor pricing source

Pricing (USD per 1M tokens)

Input
$0.20
Output
$0.40
Blended (3:1)
$0.25

Details

Company
Google
Version
4
Family
Gemma
Released
2026-04-02
Parameters
31.3B
Max output
16K
Open weights
Yes
Inputs
image, text, video
Last synced
29 min ago