Polarison

Google · open weights

Gemma 4 31B API pricing by provider

Gemma 4 31B is available from 13 providers. The cheapest is CoreWeave at $0.10 input / $0.34 output per 1M tokens (FP4). The priciest host, SiliconFlow, charges 5.1x the cheapest.

Prices from the OpenRouter API, retrieved October 26, 2026. Weights: google/gemma-4-31B-it.

ProviderPrecisionInput / 1MOutput / 1MDocument Q&A / monthContextMax output
CoreWeavefp4$0.10$0.34$50.20262K236K
Venicefp4$0.12$0.36$58.80256K8K
Chutesfp4$0.12$0.37$59.10131K66K
DeepInfrafp8$0.16$0.32$73.60262K236K
DekaLLM—$0.14$0.40$68.00262K236K
Crusoebf16$0.14$0.40$68.00262K262K
Friendli—$0.14$0.40$68.00262K8K
Novitabf16$0.14$0.40$68.00262K131K
Parasailfp8$0.15$0.40$72.00262K236K
DeepInfrafp4$0.135$0.51$69.30262K16K
DeepInfrafp8$0.20$0.40$92.00262K16K
DeepInfrafp8$0.30$0.60$138.00262K236K
Io Net—$0.361$1.093$177.18262K16K
SambaNova—$0.38$1.15$186.50131K118K
ModelRunfp4$0.75$1.00$330.00262K236K
SiliconFlowfp8$0.75$1.00$330.00262K236K

Sorted by blended price (3 input : 1 output). Document Q&A assumes 50,000 questions a month with 8,000 input and 600 output tokens each. Precision is reported by the provider; “—” means not disclosed.

Frequently asked questions

What is the cheapest Gemma 4 31B API provider?
CoreWeave is the cheapest healthy provider we track at $0.10 per 1M input tokens and $0.34 per 1M output tokens.
How much does Gemma 4 31B cost?
Across 13 providers, input prices range from $0.10 to $0.75 per 1M tokens and output prices from $0.32 to $1.15.
What is Gemma 4 31B’s context window?
Gemma 4 31B supports up to 262K tokens, but some providers serve a smaller context window — check the table before choosing.

Other open-weight models