Google

Gemma 4 31B IT

Gemma 4 31B IT is Google's fast, low-cost model for high-volume work. It reads images and reasons step by step before it answers. It takes up to 262.14K tokens of context and writes up to 131.07K per response.

Vision inputReasoningStreaming

Output price

$0.336

USD / 1M tokens

16% below list price

Add $5, get $5 more on your first top-up.

Same Gemma 4 31B IT. 16% less.

Price
USD / 1M tokens, next to Google's list price.
TokensList pricePromptsForLess
Input$0.14$0.1176
Output$0.40$0.336
Your monthly bill
Enter your monthly usage to see the difference.
At list price$2.20
With PromptsForLess$1.848

That's $0.352 saved every month.

USD, before tax and prompt caching.

Specs.

Model ID
gemma-4-31b-it
Made by
Google
Context window
262.14K tokens
Max output
131.07K tokens
Endpoint
/v1/chat/completions
Billing
Per token, from one balance
Built for
  • Text and code. Drafting, summarising, extraction, chat and code, with the output streamed back as it is generated.
  • Reasoning. Works through multi-step problems before answering, for planning, analysis and agent workflows.
  • Vision. Send screenshots, photos, charts and documents alongside your prompt.

Edge gateways

Requests enter at the gateway nearest your app and go straight to the model, so routing adds very little to each call.

One key, every model

Switch models by changing a string. One prepaid balance covers all of them, billed per token.

Nothing stored

We keep token counts for billing, never your prompts or responses.

Call Gemma 4 31B IT in a minute.

Point any OpenAI-compatible client at our base URL, keep your key in an environment variable, and use the model ID gemma-4-31b-it.

Copy
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.promptsforless.com/v1",
    api_key=os.environ["PFL_API_KEY"],
)

response = client.chat.completions.create(
    model="gemma-4-31b-it",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

More from Google.

Questions.

How much does Gemma 4 31B IT cost?

$0.336 / 1M tokens output and $0.1176 / 1M tokens input, 16% below Google's list price. You pay per token from a prepaid balance, with no subscription or minimum. We match your first $5 top-up, so you start with $10 of credit.

Is it the real Gemma 4 31B IT?

Yes. Your requests run on Google's Gemma 4 31B IT, not a distilled copy or a substitute. The discount comes from how we buy capacity, not from changing the model.

Which tools can use Gemma 4 31B IT?

Anything that speaks the OpenAI API: set the base URL to our endpoint and use the model ID gemma-4-31b-it. We have setup guides for Cursor, Codex, OpenCode, the OpenAI and Vercel AI SDKs, LangChain and more.

How fast is it?

Requests go through our edge gateways, so the network hop adds very little on top of Gemma 4 31B IT's own generation time. Responses stream back token by token.