All Models / google / google/gemma-4-31b-it

Google: Gemma 4 31B API Pricing & Cost Calculator

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

Tool CallingReasoningMultimodal / Vision
Input Price / 1M Tokens
$0.200
Output Price / 1M Tokens
$0.400
Prompt Cache Read / 1M
—
Context Window
262K
Max out: 16K

Interactive Google: Gemma 4 31B Monthly Cost Calculator

Est. Monthly (With Cache)
—
Est. Monthly (Uncached)
—
Est. Daily Run Rate
—

Volume Cost Benchmarks (75% Input / 25% Output)

Monthly Token VolumeUncached API CostWith 50% Prompt Caching
1M Tokens (Small App)$0.25$0.25
10M Tokens (Growing SaaS)$2.50$2.50
100M Tokens (Scale / Agents)$25.00$25.00
1B Tokens (Enterprise)$250.00$250.00

Deploy or Switch Providers

Best for H100 / A100 / 4090

RunPod Cloud GPUs

Spin up on-demand H100, A100, L40S, and RTX 4090 pods or serverless vLLM endpoints in seconds.

Launch GPU on RunPod →
Predictable Cloud Infra

DigitalOcean GPU Droplets

Deploy AI inference APIs, vector databases, and GPU droplets with simple monthly billing.

Try DigitalOcean →
1 API Key · 470+ Models

OpenRouter Unified API

Switch between Gemini, Claude, GPT, DeepSeek, and Llama with one OpenAI-compatible key.

Get Unified API Key →

Lower-Cost Alternatives to Google: Gemma 4 31B