Gemma 4 31B
Gemma 4 31B is a 31B-parameter instruction-tuned model for text and image understanding. It accepts text and inline images with a 131,072-token context window.
Gemma 4 31B is available in beta and is not specifically tuned for Indian languages. Access is granted per API key — contact us to request access.
At a glance
Key capabilities
Caption, classify, and answer questions about images supplied as base64 data URIs.
Receive the answer without a separate reasoning pass.
Use OpenAI-compatible tools and tool_choice for agentic workflows.
Receive answer deltas as server-sent events.
Quickstart
The examples send a local image as a base64 data URI. Remote image URLs are not supported.
API reference
Call POST /v2/chat/completions or
POST /v2/responses with model: "gemma4". Request
fields (logprobs, stream, tools, image parts, and the rest) are defined in those API
references — not duplicated on this model page.
Images must be base64 data URIs in image_url content parts (remote URLs are rejected).