google/gemma-4-31B-it-turbo pricing
Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input and generating text output. google/gemma-4-31B-it-turbo from DeepInfra costs $0.090 per 1M input tokens and $0.340 per 1M output tokens. Cached input is $0.050 per 1M. Context window 262,144 tokens.
API id google/gemma-4-31B-it-turbo · DeepInfra · source · updated 2026-11-10 · general-purpose
$0.090
Input / 1M tokens
$0.340
Output / 1M tokens
$0.050
Cached input / 1M
262K
Context window
google/gemma-4-31B-it-turbo specifications
- Provider
- DeepInfra
- API id
google/gemma-4-31B-it-turbo- Model type
- general-purpose
- Context window
- 262K tokens
- Max output
- not published
- Currency
- USD
- Price source
- Provider API
- Last checked
- 2026-11-10
Tags
- fast
What google/gemma-4-31B-it-turbo costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0003 |
| Document summary | 50,000 | 2,000 | $0.0052 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $0.16 |
Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.
Common questions
- How much does google/gemma-4-31B-it-turbo cost per 1M tokens?
- google/gemma-4-31B-it-turbo costs $0.090 per 1M input tokens and $0.340 per 1M output tokens on the standard tier. Cached input is $0.050 per 1M.
- What is google/gemma-4-31B-it-turbo's context window?
- google/gemma-4-31B-it-turbo accepts up to 262,144 tokens in a single request.
- Is there a cheaper DeepInfra model than google/gemma-4-31B-it-turbo?
- Yes. inclusionAI/Ling-3.0-flash-VL is $0.060 per 1M input tokens versus $0.090 for google/gemma-4-31B-it-turbo, with a 131,072 token context window.
- Where does this google/gemma-4-31B-it-turbo price come from?
- From the OpenRouter catalogue, because DeepInfra does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from DeepInfra's own — verify before committing spend.
Head-to-head comparisons
Other DeepInfra models
- inclusionAI/Ling-3.0-flash $0.060
- nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B $0.500
- Qwen/Qwen3.6-27B $0.320
- deepseek-ai/DeepSeek-V4.1-Flash-1017 $0.200
- Qwen/Qwen3.6-35B-A3B $0.100
- tencent/Hy4-preview $0.834
- nvidia/NVIDIA-Nemotron-3-Super-120B-A12B $0.075
- anthropic/claude-opus-5-5 $4.00
- google/gemini-2.5-flash $0.300
- meta-llama/Llama-4-Scout-17B-16E-Instruct $0.100
- mistralai/Mistral-Small-24B-Instruct-2501 $0.050
- deepseek-ai/DeepSeek-V4.1-Flash $0.200
- anthropic/claude-opus-4-7 $5.00
- Sao10K/L3-8B-Lunaris-v1-Turbo $0.040
- thinkingmachines/Inkling-Small $0.450
- openai/gpt-oss-20b $0.030