Gemma 4 31B
Google's open-weights 31B Gemma 4 model: text and image in, up to 256K context.
Price
What the gateway charges per million tokens: what you send in, and what the model writes back.
Source: Vercel AI Gateway, checked 2026-10-24.
- Input
- $0.14per 1M tokens
- Output
- $0.40per 1M tokensOutput costs 2.9x the input.
Specs
How much it reads at once, how much it writes back, and how recent its knowledge is.
Sources: Vercel AI Gateway, checked 2026-10-24; Hugging Face, checked 2026-09-25.
- Context window
- 262K tokens262,144
- Max output
- 131K tokens131,072
- Knowledge cutoff
- Not listed
- Released
- Type
- Language
- Modalities
- Takes text, image, PDF. Returns text.
- License
- apache-2.0
- Gateway ID
google/gemma-4-31b-it
Capabilities
What the gateway says this model supports.
Source: Vercel AI Gateway, checked 2026-10-24.
- Tool use
- Vision
- File input
- Reasoning
- Structured output
- Open weights
Data handling
What happens to your prompts, and what you have to switch on.
Source: Vercel AI Gateway, checked 2026-10-24.
ZDRSome providers
Zero data retention
Available on a paid Vercel plan through the AI Gateway, from some providers on it (you turn it on).
NTSome providers
No training on prompts
Offered by some providers on the Vercel AI Gateway, when you turn it on.
Usage
How much people actually run it, as counted where it is served.
- downloads
- 8.5M8,512,907 downloads
Counted on Hugging Face over the 30 days to 2026-10-24.
- requests
- 735.3M735,321,959 requests
- tokens
- 2.1T2,107,551,157,185 tokens
Counted on OpenRouter over the 31 days to 2026-10-24.
Also by Google
- GeminiToolGoogle's AI assistant for help with writing, planning and brainstorming.
- FirebaseToolGoogle's backend for mobile and web apps
- Google CloudToolGoogle's cloud for apps, data and AI agents
- Google StitchToolGenerates app screens from a prompt, exports to Figma or HTML
- Google WorkspaceToolGmail, Drive and Docs for your business, with Gemini
- Nano Banana 2ModelGoogle's image generation and editing model, built on Gemini 3.1 Flash Image. Used in the Gemini app and through the Gemini API.
Friday
Get the brief by email
Five to seven links an issue, each with what to do about it.
Unsubscribe from any issue.