Google, released Apr 2, 2026

Gemma 4 31B

Gemma 4 31B is Google's open-weights multimodal model from April 2, 2026, and it takes text, images, and video. It sits at the budget end of Google's lineup, costing way less than Gemini 3.7 Flash or Gemini 3.8 Flash and a tiny fraction of the newer Gemini 4 models like Argon, Carbon, Hydrogen, and Neon. It's built for cheap, straightforward jobs where you still want a huge context window, tool calling, or structured JSON output.

Already paying for Gemini?

Gemma 4 31B costs $0.40 per 1M output tokens. Use Gemini 4 Argon through your Gemini plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

Gemma 4 31B pricing and specs

Input
$0.20per 1M tokens
Output
$0.40per 1M tokens
Context window
262K262,144 tokens
Max output
16K16,384 tokens
Released
Apr 2, 2026
Accepts
ImagesTextVideo
Features
Tool callingReasoningStructured outputsOpen weightsFree variant

What Gemma 4 31B is good at

  • Feeding in long text, images, or video on a tight budget. The context window is huge and the token pricing is dirt cheap.
  • Simple extraction and tool-calling pipelines, since it supports tool calling and structured JSON output out of the box.
  • Prototyping before you spend anything. There's a free, rate-limited version you can wire up first.
  • Projects where you might want to move off a hosted API later, because the weights are open (google/gemma-4-31B-it) and you can run it yourself down the road.

Good to know

  • The Artificial Analysis intelligence score is very low compared to the strongest models out there. That's the real trade-off. If your prompts need heavy reasoning or you're seeing too many mistakes, you'll probably want to step up to Gemini 3.7 Flash, Gemini 3.8 Flash, or one of the Gemini 4 models.
  • The reasoning mode is optional, so you can flip it on when a task needs it and leave it off otherwise.
  • It came out on April 2, 2026, earlier than Gemini 3.7 Flash, Gemini 3.8 Flash, and the Gemini 4 releases (Argon, Carbon, Hydrogen, Neon), and its per-reply output cap is much smaller than its input window.

Gemma 4 31B benchmarks

4.0

Artificial Analysis Intelligence Index

#65 of 67 text models with a score

Gemma 4 31B vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
Gemma 4 31B$0.20$0.40Not available262K
Gemini 4 Neon$3$15Not available1M
Gemini 4 Hydrogen$1.50$7.50Not available1M
Gemini 4 Carbon$4$20Not available1M
Gemini 4 Argon$4$20$0 on Gemini1M
Nemotron 3 Super$0.075$0.40Not available262K

Gemma 4 31B cost per month

Tokens a month at $0.20 input and $0.40 output per 1M
WorkloadAPI price
Side project2M in, 500K out$0.60
Production app25M in, 5M out$7.00
Agents at scale250M in, 50M out$70.00

FAQ

How much does the Gemma 4 31B API cost?

Gemma 4 31B costs $0.20 per 1M input tokens and $0.40 per 1M output tokens.

What is the Gemma 4 31B context window?

Gemma 4 31B takes 262,144 tokens of context, with up to 16,384 output tokens per request.

When was Gemma 4 31B released?

Google released Gemma 4 31B on Apr 2, 2026.

Can I use Gemma 4 31B with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. Gemini 4 Argon runs through your Gemini plan at $0 per token instead.

Does Gemma 4 31B accept video and images, or just text?

All three. You can send it text, images, or video, and it returns text.

Can I run Gemma 4 31B myself if I don't want to stay on an API?

Yes, Google published it as an open-weights model under google/gemma-4-31B-it. So if you start on the API - or even on the free, rate-limited tier - and decide later to host it on your own hardware, you can grab the weights and move it over.

More Google models

All 22 Google models

Already paying for Gemini? Use Gemini 4 Argon through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

Gemini 4 Argon at $0 per tokenFree plan, no card needed

Get your API key

Guides

80