MODELS / GOOGLE

Gemma 4 31B IT

Gemma 4 31B is engineered to tackle the most demanding enterprise workloads and complex reasoning tasks. With an expansive 256K-token context window, the 31B model can effortlessly ingest entire codebases, and massive sets of images in a single prompt.

TEXTREASONINGFILE-INPUTREASONINGTOOL-USEVISION
262.1K
CONTEXT WINDOW
131.1K
MAX OUTPUT TOKENS
$0.14
INPUT PRICE / 1M TOKENS
$0.4
OUTPUT PRICE / 1M TOKENS
QUICKSTART

Call it in one request.

OpenAI-compatible: change the base URL, and the setup is complete.

curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/google/gemma-4-31b-it",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
SPECIFICATIONS

The full spec sheet.

Context, pricing, modalities, routing, and deployment: everything Gemma 4 31B IT supports, in one table.

MODEL ID
blackboxai/google/gemma-4-31b-it
DEVELOPED BY
Google
MODEL TYPE
Text
RELEASED
Apr 2, 2026
CONTEXT WINDOW
262.1K
MAX OUTPUT TOKENS
131.1K
INPUT MODALITIES
text, image, pdf
OUTPUT MODALITIES
text
INPUT PRICE
$0.14 / 1M tokens
OUTPUT PRICE
$0.4 / 1M tokens
REASONING
Supported
DATA RETENTION
Standard retention
DEDICATED DEPLOYMENT
Not available (closed-weight model)
SUPPORTED PARAMETERS
max_tokenstemperaturestoptoolstool_choicereasoninginclude_reasoning