whichllm — Browse and compare AI model specs and pricing

DigitalOcean

Gemma 4 31B model ID, context window & pricing

gemma

Quick facts

Model ID gemma-4-31B-it
Source DigitalOcean
Context Window 256000
Pricing $0.18 input / $0.50 output per 1M tokens
Capabilities tool calling, structured output, temperature control, open weights

Model overview

Gemma 4 31B is an AI model from DigitalOcean with 256000 token context window and text, image input support.

Published pricing is $0.18 input and $0.50 output per 1M tokens.

  • Workloads that use text, image inputs with text outputs.
  • Agent and tool workflows that need function calling.
Model ID gemma-4-31B-it
Provider DigitalOcean
Family gemma
Status -
Knowledge Cutoff -
Release Date 2026-04-22
Input Modalities text, image
Output Modalities text
Context Window 256000
Input Limit -
Output Limit 8192
Tool Calling Yes
Reasoning No
Structured Output Yes
Temperature Control Yes
Open Weights Yes
Input Cost / 1M tokens $0.18
Output Cost / 1M tokens $0.50
Reasoning Cost / 1M tokens -
Cache Read Cost / 1M tokens -
Cache Write Cost / 1M tokens -