Per MillionLLM API prices, tracked daily

gemma-4-31b API Pricing

gemma-4-31b on Cerebras costs $0.99 per 1M input tokens and $1.49 per 1M output tokens (as of ).

gemma-4-31b API Pricing. Source: the LiteLLM price list (MIT License)
Input$0.99 / 1M tokens
Output$1.49 / 1M tokens
Cached input (read)—
Cache write—
Batch input / output—
Above 200K tokens (input / output)—
Context window131K tokens
Max output41K tokens
Supportsvision, tool calling, reasoning
Deprecation dateNone listed
API model idgemma-4-31b
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)$2.73
Summarising 100 long documents (50,000 in, 1,000 out each)$5.10
1 million classification calls (300 in, 5 out each)$304.45

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
qwen-3.8-27bCerebras$0.99$1.49—66K
llama-3.3-70bCerebras$0.85$1.20—128K
llama3.1-70bCerebras$0.60$0.60—128K
qwen-3-32bCerebras$0.40$0.80—128K
gpt-oss-120bCerebras$0.35$0.75—131K
llama3.1-8bCerebras$0.10$0.10—128K