Skip to content

Catalog data updated

AI/ML API logo

AI/ML API

Gemma 4 31B Instruct

Model ID: aimlapi/google/gemma-4-31b-it Data checked

Largest Gemma 4 instruction model for open, self-hosted chat and reasoning

Reasoning: Yes Tool use: Yes Open weights

Overview

text image
Provider
AI/ML API logo AI/ML API
Family
gemma
Release date
2026-04-02
Last updated
2026-04-02
Input modalities
text, image
Output modalities
text

Pricing and Limits

Token pricing

Input
$1.04742/1M
Output
$1.57642/1M
Cached input
N/A
Currency: USD

Context and output

Context window
256,000
Max output tokens
16,384
Qualified ID
aimlapi/google/gemma-4-31b-it

Model Summary

Gemma 4 31B Instruct is a model listing in the AI/ML API provider catalog. It is categorized under the gemma family.

The model supports text, image modalities across input/output paths. Reported context capacity is 256,000. Pricing is listed at $1.04742/1M input and $1.57642/1M output.

More From AI/ML API

Related models from the same provider catalog.

View all from AI/ML API

Same Family: gemma

Comparable models in the same family across providers.

Browse family
Model Provider Context Input Output Flags
Chimera X
nano-gpt/gemma-4-26b-a4b-it-chimerax
NanoGPT logo NanoGPT
262,144 $0.12/1M $0.38/1M
Reasoning Tools
DarkIdol
nano-gpt/gemma-4-31b-it-darkidol
NanoGPT logo NanoGPT
262,144 $0.1/1M $0.45/1M
Reasoning Tools
Dark Soul
nano-gpt/gemma-4-26b-a4b-it-darksoul
NanoGPT logo NanoGPT
262,144 $0.12/1M $0.38/1M
Reasoning Tools
Fabled
nano-gpt/gemma-4-31b-it-fabled
NanoGPT logo NanoGPT
262,144 $0.1/1M $0.45/1M
Reasoning Tools
Garnet
nano-gpt/gemma-4-31b-it-garnet
NanoGPT logo NanoGPT
262,144 $0.1/1M $0.45/1M
Reasoning Tools
Gembrain
nano-gpt/gemma-4-31b-it-gembrain
NanoGPT logo NanoGPT
262,144 $0.1/1M $0.45/1M
Reasoning Tools
Gemma 2 27B
aimlapi/google/gemma-2-27b-it
AI/ML API logo AI/ML API
8,192 $0.6877/1M $0.6877/1M
Gemma 2 27B
huggingface/google/gemma-2-27b-it
Hugging Face logo Hugging Face
8,192 $0.65/1M $0.65/1M
Gemma 3 12B
aimlapi/google/gemma-3-12b-it
AI/ML API logo AI/ML API
131,000 $0.0529/1M $0.1587/1M
Tools
Gemma 3 12B
neon/gemma-3-12b
Neon logo Neon
131,072 $0.15/1M $0.5/1M
Tools