Google

gemma-4-31b-it

$0.2 in · $0.4 out per million tokens · 262,144 tokens of context · first token in 1,103 ms

Get an API key

Price, limits and measured speed

Input price
$0.2 per million tokens
gateway.plungeai.com
Output price
$0.4 per million tokens
gateway.plungeai.com
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
Against the list price
At the list price
gateway.plungeai.com
Context window
262,144 tokens
gateway.plungeai.com
Tool calling
Yes
gateway.plungeai.com
Reads images
No
gateway.plungeai.com
Streams its answer
Yes
gateway.plungeai.com
Takes
text
gateway.plungeai.com
Request parameters
13 supported
gateway.plungeai.com
Served by
Google
gateway.plungeai.com
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.

The cost of three reference workloads on google/gemma-4-31b-it
JobTokens inTokens outThrough One APIAt Google's list price
A chat turn1,000300$0.00032$0.00032
An answer over retrieved documents8,000500$0.0018$0.0018
A summary of a long document100,0002,000$0.0208$0.0208

Models near it

Each against gemma-4-31b-it: its input price and the time to its first token.

Models related to google/gemma-4-31b-it by provider, price and context
ModelWhy it is hereInput price against itFirst token against itInput, $ per 1MOutput, $ per 1MContext, tokensFirst tokenTokens a second
google/gemini-3.1-flash-liteSame provider+25 %−245 ms$0.25$1.51,000,000858 ms739.6
google/gemini-3.1-flash-lite-imageSame provider+25 %−140 ms$0.25$1.565,536963 ms476.3
google/gemini-3.1-flash-lite-previewSame provider+25 %−310 ms$0.25$1.51,048,576793 ms758.8
google/gemini-2.5-flash-liteCheaper, same abilities−50 %−572 ms$0.1$0.41,048,576531 ms90.6
google/gemma-4-26b-a4b-itCheaper, same abilities−66 %−121 ms$0.0675$0.225262,144982 msnot measured
openai/gpt-5.4-nanoLarger contextthe same−652 ms$0.2$1.25400,000451 ms159.3

Request options

What google/gemma-4-31b-it returns and the request parameters it accepts
SettingValue
Returnstext
Request parameterstemperature, 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

Every change

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

Get an API key