Per MillionLLM API prices, tracked daily

gemma-4-31B-it API Pricing

gemma-4-31B-it on DeepInfra costs $0.13 per 1M input tokens and $0.38 per 1M output tokens (as of ).

gemma-4-31B-it API Pricing. Source: the LiteLLM price list (MIT License)
Input$0.13 / 1M tokens
Output$0.38 / 1M tokens
Cached input (read)—
Cache write—
Batch input / output—
Above 200K tokens (input / output)—
Context window262K tokens
Max output— tokens
Supportsvision, tool calling, reasoning
Deprecation dateNone listed
API model idgoogle/gemma-4-31B-it
In our records since

What it costs for common jobs

Estimated from the list price above (no caching or batch discount).

What it costs for common jobs. Source: the LiteLLM price list (MIT License)
JobEstimated cost
1,000 chat replies (2,000 tokens in, 500 out each)$0.45
Summarising 100 long documents (50,000 in, 1,000 out each)$0.69
1 million classification calls (300 in, 5 out each)$40.90

Try your own numbers in the LLM API cost calculator.

Price history

No price change recorded since .

Similarly priced models

Sort:

Similarly priced models. Source: the LiteLLM price list (MIT License)
ModelProviderInput / 1MOutput / 1MCached input / 1MContext
Nemotron-Content-Safety-3.5DeepInfra$0.20$0.20—131K
Qwen3-235B-A22B-Instruct-2507DeepInfra$0.09$0.55—262K
Seed-2.0-miniDeepInfra$0.10$0.40$0.02256K
Llama-3.3-Nemotron-Super-49B-v1.5DeepInfra$0.10$0.40—131K
DeepSeek-V4.1-FlashDeepInfra$0.14$0.42$0.00421.04858M
QwQ-32BDeepInfra$0.15$0.40—131K
Qwen3-30B-A3BDeepInfra$0.12$0.50—41K
NVIDIA-Nemotron-3-Super-120B-A12BDeepInfra$0.09$0.40—262K