Skip to the content

Gemma 4 31B IT

google/gemma-4-31b-it

Maker
Google, United States
Released
2026-04-02
Knowledge cutoff
2025-01
Family
gemma
Weights
open (apache-2.0)
Tasks
text.chat, text.reasoning, code, vision.understand, vision.extract
Cheapest offering
OpenRouter, about $0 for a typical text.chat call

Offerings

ProviderModel id at the providerStatusPrice per 1M tokensPer-unit pricesLimitsCapabilities (level)
Amazon Bedrockgoogle.gemma-4-31bga
  • Input: $0.14
  • Output: $0.4
Since 2026-11-03 · models.dev, MIT
none
  • Context: 262,144 tokens
  • Max output: 32,768 tokens
  • input.text claimed
  • input.image claimed
  • input.video claimed
  • input.pdf claimed
  • output.text claimed
  • tools claimed
  • structured_output claimed
  • reasoning claimed
DeepInfragoogle/gemma-4-31B-itga
  • Input: $0.2
  • Output: $0.4
Unverified: sources disagree by more than 5%Since 2026-11-03 · models.dev, MIT
none
  • Context: 262,144 tokens
  • Max output: 32,768 tokens
  • input.text claimed
  • input.image claimed
  • input.video claimed
  • input.pdf claimed
  • output.text claimed
  • tools claimed
  • structured_output claimed
  • reasoning claimed
  • tool_choice claimed
Google Gemini APIgemma-4-31b-itga
  • Input: unknown
  • Output: unknown
none
  • Context: 262,144 tokens
  • Max input: 262,144 tokens
  • Max output: 32,768 tokens
  • input.text claimed
  • input.image claimed
  • input.pdf claimed
  • output.text claimed
  • tools claimed
  • structured_output claimed
  • reasoning native
  • tool_choice claimed
OpenRoutergoogle/gemma-4-31b-itga
  • Input: $0.2
  • Output: $0.4
Unverified: sources disagree by more than 5%Since 2026-11-03 · models.dev, MIT
none
  • Context: 262,144 tokens
  • Max output: 16,384 tokens
  • input.text claimed
  • input.image claimed
  • input.video claimed
  • input.pdf claimed
  • output.text claimed
  • tools claimed
  • structured_output claimed
  • reasoning claimed
OpenRoutergoogle/gemma-4-31b-it:freega
  • Input: $0
  • Output: $0
Since 2026-11-03 · models.dev, MIT
none
  • Context: 262,144 tokens
  • Max output: 32,768 tokens
  • input.text claimed
  • input.image claimed
  • input.video claimed
  • input.pdf claimed
  • output.text claimed
  • tools claimed
  • reasoning claimed

Run it locally

Free on your own device. Memory is the weights, the KV cache at the context shown and about 10% overhead; a longer context needs more. GB are 109 bytes. See local models.

RuntimeModel id in the runtimeQuantizationNeedsContext
llama.cpplmstudio-community/gemma-4-31B-it-GGUF:Q4_K_MQ4_K_M
  • Memory: 29.42 GB at 8,192 tokens
  • GPU memory: 29.42 GB
  • Disk: 18.69 GB
  • Parameters: 30.7B
  • License: apache-2.0
  • Context: 262,144 tokens
llama.cpplmstudio-community/gemma-4-31B-it-GGUF:Q6_KQ6_K
  • Memory: 36.59 GB at 8,192 tokens
  • GPU memory: 36.59 GB
  • Disk: 25.21 GB
  • Parameters: 30.7B
  • License: apache-2.0
  • Context: 262,144 tokens
llama.cpplmstudio-community/gemma-4-31B-it-GGUF:Q8_0Q8_0
  • Memory: 44.76 GB at 8,192 tokens
  • GPU memory: 44.76 GB
  • Disk: 32.64 GB
  • Parameters: 30.7B
  • License: apache-2.0
  • Context: 262,144 tokens
LM Studiolmstudio-community/gemma-4-31B-it-GGUF/gemma-4-31B-it-Q4_K_M.ggufQ4_K_M
  • Memory: 29.42 GB at 8,192 tokens
  • GPU memory: 29.42 GB
  • Disk: 18.69 GB
  • Parameters: 30.7B
  • License: apache-2.0
  • Context: 262,144 tokens
LM Studiolmstudio-community/gemma-4-31B-it-GGUF/gemma-4-31B-it-Q6_K.ggufQ6_K
  • Memory: 36.59 GB at 8,192 tokens
  • GPU memory: 36.59 GB
  • Disk: 25.21 GB
  • Parameters: 30.7B
  • License: apache-2.0
  • Context: 262,144 tokens
LM Studiolmstudio-community/gemma-4-31B-it-GGUF/gemma-4-31B-it-Q8_0.ggufQ8_0
  • Memory: 44.76 GB at 8,192 tokens
  • GPU memory: 44.76 GB
  • Disk: 32.64 GB
  • Parameters: 30.7B
  • License: apache-2.0
  • Context: 262,144 tokens
MLXmlx-community/gemma-4-31b-it-4bit4bit
  • Memory: 29.12 GB at 8,192 tokens
  • GPU memory: 29.12 GB
  • Disk: 18.42 GB
  • Parameters: 30.7B
  • License: apache-2.0
  • Context: 262,144 tokens

Quality scores

BasisScore (0–1)RawMeasuredSource
epoch:gpqa_diamond0.7860.75762026-08-06Epoch AI, CC-BY-4.0, normalized by Nanner Tech
curated0.600 (estimated)0.60002026-11-02Curated tier (estimated), Nanner Tech

Aliases

Other names the API accepts for this model.

  • gemma-4-31b-it
  • google.gemma-4-31b
  • google/gemma-4-31b-it:free

Use it from the API

Look this model up, or ask for the best model for its task on the providers that offer it. See the quickstart and the API reference.

Look up this model
curl 'https://rhumbdata.com/v1/models/google/gemma-4-31b-it' \
  -H "Authorization: Bearer $RHUMB_KEY"
Resolve text.chat on its providers
curl 'https://rhumbdata.com/v1/resolve?task=text.chat&providers=bedrock,deepinfra,gemini,openrouter' \
  -H "Authorization: Bearer $RHUMB_KEY"

Built from catalog version 2026-11-04.3 of . Prices are list prices per 1M tokens unless marked otherwise; every score shows its source's notice (see Attributions).