whichllm — Browse and compare AI model specs and pricing

Vercel AI Gateway

Gemma 4 31B IT model ID, context window & pricing

gemma

Quick facts

Model ID google/gemma-4-31b-it
Source Vercel AI Gateway
Context Window 262144
Pricing $0.14 input / $0.40 output per 1M tokens
Capabilities tool calling, structured output, temperature control

Model overview

Gemma 4 31B IT is an AI model from Vercel AI Gateway with 262144 token context window and text, image, pdf input support.

Published pricing is $0.14 input and $0.40 output per 1M tokens.

  • Workloads that use text, image, pdf inputs with text outputs.
  • Agent and tool workflows that need function calling.
Model ID google/gemma-4-31b-it
Provider Vercel AI Gateway
Family gemma
Status -
Knowledge Cutoff -
Release Date 2026-04-02
Input Modalities text, image, pdf
Output Modalities text
Context Window 262144
Input Limit -
Output Limit 131072
Tool Calling Yes
Reasoning No
Structured Output Yes
Temperature Control Yes
Open Weights No
Input Cost / 1M tokens $0.14
Output Cost / 1M tokens $0.40
Reasoning Cost / 1M tokens -
Cache Read Cost / 1M tokens -
Cache Write Cost / 1M tokens -