Google

Google: Gemma 4 31B

google/gemma-4-31b-it

Input Price

$0.20 / 1M

Output Price

$0.40 / 1M

Context Length

262,144

LLM Price Calculator

Enter custom token counts to calculate exact pricing for your specific AI use case.

Input Cost
$0.20
Output Cost
$0.40
Total Cost
$0.60

About this model

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

Try this model in Playground

Test this model's capabilities in different AI playground environments including OpenRouter, Hugging Face, Cloudflare, and Vercel.

FAQ

Google: Gemma 4 31B pricing FAQ

Answers about this model's pricing, context window, supported modalities, and where to try it.

How much does Google: Gemma 4 31B cost?

Use the calculator above to estimate the cost for your expected workload. Input and output tokens are billed at separate rates, and optional provider features may add extra charges.

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

Google: Gemma 4 31B supports a context window of up to 262,144 tokens. Your provider may reserve part of that capacity for generated output or system instructions.

Which modalities does Google: Gemma 4 31B support?

Listed input modalities: image, text, video. Listed output modalities: text. Confirm feature availability with your chosen provider before integrating the model.

Where can I try Google: Gemma 4 31B?

Use the Playground links above to check whether the model is currently available from those third-party services. Access, features, and pricing can vary between platforms.