Skip to content
LLMs
Google logo

Google: Gemma 4 31B

by Google

Google: Gemma 4 31B is a large language model from Google. It costs $0.200 per million input tokens and $0.400 per million output tokens. Its context window is 262K tokens.

Free tier availableReasoningTool callingStructured outputOpen weightsimage inputvideo input
Input / 1M tokens
$0.200
Output / 1M tokens
$0.400
Cached input / 1M
-

Not supported

Context window
262K

tokens

Who serves it cheapest

13 hosts serve Gemma 4 31B. Same weights, same API - the price difference is pure margin and routing.

Providers serving Google: Gemma 4 31B, cheapest first
ProviderInput / 1MOutput / 1MContextThroughputUptime 24h
CoreWeaveCheapestfp4$0.100$0.340262K-100.0%
Venicefp4$0.120$0.360256K-100.0%
Chutesfp4$0.120$0.370131K-98.4%
DeepInfrafp8$0.160$0.320262K-100.0%
DekaLLM$0.140$0.400262K-100.0%
Crusoebf16$0.140$0.400262K-99.5%
Friendli$0.140$0.400262K-99.1%
Novitabf16$0.140$0.400262K-87.6%
Parasailfp8$0.150$0.400262K-100.0%
Io Net$0.361$1.09262K-100.0%
SambaNova$0.380$1.15131K-80.5%
ModelRunfp4$0.750$1.00262K-100.0%
SiliconFlowfp8$0.750$1.00262K-99.6%

The spread between CoreWeave and SiliconFlow is 5.1× for identical weights. Quantization and context limits differ, so check both columns before switching.

Benchmarks

Independent scores published alongside the catalogue.

Coding index
43.4
Agentic index
4.2

About Gemma 4 31B

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...

Specifications

Google: Gemma 4 31B specifications
Model IDgoogle/gemma-4-31b-it
ProviderGoogle
Context window262K tokens
Max output16K tokens
Input modalitiesimage, text, video
Output modalitiestext
Knowledge cutoff-
Open weightsYes - google/gemma-4-31B-it
ReleasedApril 2, 2026

Cheaper alternatives

Models that cost less than Gemma 4 31B while keeping at least half its context window and every input modality it supports.

Frequently asked

How much does Google: Gemma 4 31B cost?

$0.200 per million input tokens and $0.400 per million output tokens.

What is the context window of Google: Gemma 4 31B?

262K tokens, with up to 16K tokens of output per request.

Which provider serves Google: Gemma 4 31B cheapest?

CoreWeave at $0.100 per million input tokens - 5.1× cheaper than SiliconFlow, the most expensive of the 13 hosts serving it.

Confirm against the source: Google official pricing.