LLMCost
google

Google: Gemma 4 31B (free) API Pricing

Google: Gemma 4 31B (free) costs Free per 1M input tokens and Free per 1M output tokens. Context window: 262K. Prices verified 2026-08-23 · source

Input / 1M tokens
Free
Output / 1M tokens
Free
Context window
262K
Max output
33K

What would Google: Gemma 4 31B (free) cost you per month?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$0.00
Coding agent5,0008,000 / 2,000$0.00
RAG pipeline30,0004,000 / 500$0.00
Doc summarizer2,00020,000 / 1,000$0.00

Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.

About Google: Gemma 4 31B (free)

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

Compare Google: Gemma 4 31B (free) with