gemma-4-31B-it pricing

gemma-4-31B-it, Small-tier from SambaNova, costs $0.38 per 1M input tokens and $1.15 per 1M output tokens.

verified (official api)

Input$0.38per 1M tokens
Output$1.15per 1M tokens
Context window—tokens
TierSmallSambaNova

Price your own workload against gemma-4-31B-it in the calculator →

Specs and pricing

ProviderSambaNova
TierSmall
Context window—
Max output—
Input price$0.38 / 1M tokens
Output price$1.15 / 1M tokens
Modalitiestext

Note. SambaNova lists Gemma 4 31B IT at $0.38 / $1.15 per 1M tokens on its own pricing page.

What it costs at realistic volumes

Assuming a 4:1 input:output token ratio, a common shape for chat and RAG-style workloads:

Volume (4:1 in:out ratio)Input costOutput costTotal / month
1,000,000 in / 250,000 out$0.38$0.29$0.67
10,000,000 in / 2,500,000 out$3.80$2.88$6.67
100,000,000 in / 25,000,000 out$38.00$28.75$66.75

Cheaper alternatives

Same tier (Small), a different provider, and a lower blended cost at the 4:1 ratio used above:

ModelProvider$/1M in$/1M outAt the 4:1 ratio
Meta-Llama-3.1-8B-Instruct-TurboDeepInfra$0.02$0.0495.5% cheaper blended
Solar Pro 4OpenRouter$0.03$0.1291% cheaper blended
GPT-OSS 20BOpenRouter$0.03$0.1390.6% cheaper blended
schematron-v2-turboinference.net$0.03$0.1589.9% cheaper blended
Amazon Nova MicroAmazon (Nova)$0.035$0.1489.5% cheaper blended