gemma-4-31b-it
$0.2 in · $0.4 out per million tokens · 262,144 tokens of context · first token in 1,103 ms
Price, limits and measured speed
- Google's list price, input
- $0.2 per million tokens
- Google's list price, as our price feed records it
- Google's list price, output
- $0.4 per million tokens
- Google's list price, as our price feed records it
- Time to first token
- 1,103 ms
- our probe of 22 November 2026 · measured by us
- Price of our test call
- $0.000069
- our probe of 22 November 2026, as the API stated it · measured by us
- Input price rank
- 13th lowest of 55 chat models
- the models on this site we could call · measured by us
- Output price rank
- 6th lowest of 55
- the models on this site we could call · measured by us
- First-token rank
- 30th fastest of 55 measured
- our probe of 22 November 2026 · measured by us
- Context rank
- 37th largest of 55
- the models on this site we could call · measured by us
Call it
curl
curl https://api.plungeai.com/v1/chat/completions \
-H "Authorization: Bearer $PLUNGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-4-31b-it",
"messages": [{"role": "user", "content": "Hello"}]
}'What it costs for three jobs
The same three jobs on every model page, so two models can be compared.
| Job | Tokens in | Tokens out | Through One API | At Google's list price |
|---|---|---|---|---|
| A chat turn | 1,000 | 300 | $0.00032 | $0.00032 |
| An answer over retrieved documents | 8,000 | 500 | $0.0018 | $0.0018 |
| A summary of a long document | 100,000 | 2,000 | $0.0208 | $0.0208 |
Models near it
Each against gemma-4-31b-it: its input price and the time to its first token.
| Model | Why it is here | Input price against it | First token against it | Input, $ per 1M | Output, $ per 1M | Context, tokens | First token | Tokens a second |
|---|---|---|---|---|---|---|---|---|
| google/gemini-3.1-flash-lite | Same provider | +25 % | −245 ms | $0.25 | $1.5 | 1,000,000 | 858 ms | 739.6 |
| google/gemini-3.1-flash-lite-image | Same provider | +25 % | −140 ms | $0.25 | $1.5 | 65,536 | 963 ms | 476.3 |
| google/gemini-3.1-flash-lite-preview | Same provider | +25 % | −310 ms | $0.25 | $1.5 | 1,048,576 | 793 ms | 758.8 |
| google/gemini-2.5-flash-lite | Cheaper, same abilities | −50 % | −572 ms | $0.1 | $0.4 | 1,048,576 | 531 ms | 90.6 |
| google/gemma-4-26b-a4b-it | Cheaper, same abilities | −66 % | −121 ms | $0.0675 | $0.225 | 262,144 | 982 ms | not measured |
| openai/gpt-5.4-nano | Larger context | the same | −652 ms | $0.2 | $1.25 | 400,000 | 451 ms | 159.3 |
Request options
| Setting | Value |
|---|---|
| Returns | text |
| Request parameters | temperature, top_p, max_tokens, max_completion_tokens, stop, tools, tool_choice, response_format, top_k, seed, presence_penalty, frequency_penalty, reasoning_effort |
What changed
- gemma-4-31b-it A summary of a long document: $0.021 → $0.0208
In short
- One API charges Google's list price for gemma-4-31b-it: $0.2 in and $0.4 out per million tokens.
- By input price it is the 13th lowest of the 55 chat models we could call on 22 November 2026.
- Its first token arrived after 1,103 ms in our test; the median of the 18 Google models we called was 1,210 ms.
- Its context window of 262,144 tokens holds about 524 pages of text at 500 tokens a page.
How this page is made
Prices, context sizes and abilities are read from One API's public price feed and its model endpoints each time this page is built. The time to the first token, the output speed and the price of a call are measured by us: 3 calls for each model through a One API key on 22 November 2026, entering at not recorded. A model that did not answer has no page. How we measure.
Data checked · Last changed