Google: Gemma 4 31B is an API-access large language model from Google priced at $0.14/1M input tokens and $0.40/1M output tokens with a 262k context window. Context caching reduces input costs to $0.07/1M for cache reads.
Economics (OpenRouter)
Input / 1M
$0.14
Output / 1M
$0.40
Est. Monthly Cost
$6.94
Based on current usage settings
Cache Read$0.07
Cache Write$0.18
Capabilities (models.dev)
ReasoningNo
Tool CallNo
Audio InNo
Audio OutNo
Modalitymultimodal
Context Window262k
Benchmarks (AA)
Intelligence Index
General reasoning and knowledge
—
Coding Index
Code generation & debugging
—
Math Index
Mathematical reasoning
—
Performance
—tokens/sec
* Median output throughput
Model ID: google/gemma-4-31b-it • Data Sources: OpenRouter, Artificial Analysis, models.dev