LLM Pricing
PricingLeaderboardsToolsProvidersReleasesGuides

© 2026 LLM Pricing

About
·Contact
·Privacy
·RSS
← Model list

gemma4:31b

google·google/gemma4-31b·GA·Open weights·gemma series
Open Gemma instruction model for efficient chat and self-hosted deployments

gemma4:31b by google is offered by 3 providers on this page. Public prices are shown for 2 of them. Its reference price is $0.40 per 1M input tokens and $1.00 per 1M output tokens. The lowest paid channel is Ollama Cloud at $0.14 / $0.40 per 1M, about 2.9× below the reference price. It also has 1 free ($0) channel; free tiers usually carry rate limits, and subscription-covered access bills $0 per token only after the subscription fee.

Artificial Analysis rates it 14.7 on the Intelligence Index, with 43.4 for coding and 4.2 for agentic tasks. Against its lowest blended price of $0.205 per 1M, that is roughly 72 index points per dollar, which is the value ratio the leaderboards rank on. Median output speed is 36 tokens per second, with 1.07s to the first token.

The context window is 262,144 tokens, with an output limit of 131,072 tokens. It supports tool use and structured output. Accepted input modalities are Text and Image. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Providers report the capability flags inconsistently, so verify a specific feature against the host you plan to use. Its training knowledge cuts off at 2025-01.

Specs & pricing

Input / output per 1M tokens
Reference price·NanoGPT
$0.40 / $1.00
Blended $0.55 · Cache read $0.40
Lowest paid·Ollama CloudCloud
$0.14 / $0.40
Blended $0.21 · 2.9× spread
1 more $0 channels
Context
262,144
Output limit
131,072
Knowledge cutoff
2025-01
Released / updated
2026-04-02 / 2026-04-08
Capabilities
Reasoning✓ Tool use✓ Structured outputTemperature✓ Attachments
⚠ Providers report capability flags inconsistently
Modalities
TextImage

Quality & performanceArtificial Analysis · Intelligence Index v4.3 · rep. tier Reasoning

Intelligence14.7
Value72
Coding43.4
Agentic4.2
Output speed36 tok/s
TTFT1.07 s
Value formulaIQ 14.7 ÷ min blended $0.205 = 72
Reasoning tier → intelligence / speed (higher tier = stronger but slower)
Non-reasoningIQ 13.9 · 49 tok/s
ReasoningIQ 14.7 · 36 tok/s

Quality is independently evaluated by Artificial Analysis. Speed/latency are model-level medians.

Available at 3 providers2 with public prices · 1 free

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
Poe
google/gemma-4-31b
GatewayFree——262,1448,192
Ollama Cloud
gemma4:31b
Cloud$0.14$0.40$0.05—262,144262,144
NanoGPTGateway$0.40$1.00$0.40—262,144131,072

Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.

Your usage cost

1Ollama Cloud$37.20
2NanoGPT$130.00

1 more channels offer $0 (Poe); free tiers usually have rate limits and no SLA, excluded from ranking.

The cheapest paid channel is the only channel.

Price historyone sample accumulated per data sync

Input listOutput listMin blended
$1.00$02026-08-052026-10-112026-08-05 · Input list $0.452026-08-06 · Input list $0.452026-08-07 · Input list $0.452026-08-08 · Input list $0.452026-08-09 · Input list $0.452026-08-10 · Input list $0.452026-08-11 · Input list $0.452026-08-12 · Input list $0.452026-08-13 · Input list $0.402026-08-22 · Input list $0.402026-08-31 · Input list $0.402026-10-11 · Input list $0.402026-08-05 · Output list $1.002026-08-06 · Output list $1.002026-08-07 · Output list $1.002026-08-08 · Output list $1.002026-08-09 · Output list $1.002026-08-10 · Output list $1.002026-08-11 · Output list $1.002026-08-12 · Output list $1.002026-08-13 · Output list $1.002026-08-22 · Output list $1.002026-08-31 · Output list $1.002026-10-11 · Output list $1.002026-08-05 · Min blended $0.162026-08-06 · Min blended $0.162026-08-07 · Min blended $0.162026-08-08 · Min blended $0.162026-08-09 · Min blended $0.162026-08-10 · Min blended $0.162026-08-11 · Min blended $0.162026-08-12 · Min blended $0.162026-08-13 · Min blended $0.162026-08-22 · Min blended $0.142026-08-31 · Min blended $0.162026-10-11 · Min blended $0.21

Related models

Gemma 4 26B A4B Chimera X Hereticsame series$0.12 / $0.38Gemma 4 31B Scarletsame series$0.10 / $0.45Gemma 4 26B A4B Cybersecuritysame series$0.11 / $0.33Gemma 3 12B ITcheaper alternative$0.27 / $0.27Grok 4.1 Fast (Non-Reasoning)cheaper alternative$0.20 / $0.50DeepSeek V3.2 Expcheaper alternative$0.29 / $0.43Nova Litecheaper alternative$0.064 / $0.26
Data partly from models.dev (MIT) · NanoGPT official docs ↗