Skip to content

Gemma 4 31B on RTX 5090: VRAM, speed and fit

Gemma 4 31B at 6-bit runs on the RTX 5090 with 112K of context at about 45 tokens a second.

Text generation · Chat · Ollama / LM Studio

Runs comfortably · on RTX 5090 · 6-bit (Q6_K) · Ollama / LM Studio · Chat

GPU memory
30.2 GB
of 32.0 GB
Context
112K
auto
Speed
45 tok/s
38 when full
First reply
0.6 s
2K prompt

Where the memory goes

Model
23.9 GB
Context
5.2 GB
Overhead
1.1 GB
OS
0.0 GB
Free
1.8 GB
Memory
30.2 GB of 32.0 GB
Context
112K tokens · auto
Speed
45 tok/s · 38 when full
First reply
0.6 s for a 2K prompt
Running cost
$9.30/mo at home · $58/mo on a cloud 2× RTX 2000 Ada

Validation: Validated

What Gemma 4 31B on RTX 5090 was checked against
CheckTargetResultStatus
Fits in GPU memory32.0 GB usable30.2 GB neededPass
Headroom5% free1.8 GB free (6%)Pass
Context for chat16K or more112KPass
Writing speed15 tok/s or more45 tok/sPass
First replyunder 3 s, 2K prompt0.6 sPass

Targets: a reply you can read along with, a first reply the use case tolerates, and 5% of memory left free. Calculated from published specs, not benchmarked.

The setup

Model
Gemma 4 31B
Parameters
31.3B
Precision
6-bit (Q6_K)
Context
112K, auto
Chats at once
1
Use
Chat
Runs in
Ollama / LM Studio
Hardware
RTX 5090
GPU can use
32.0 GB of 32.0 GB

Running cost

At home
$9.30/mo
425 W at the wall
Renting instead
$58/mo
2× RTX 2000 Ada at $0.48/h

4 h a day, power at $0.18 per kWh, cloud at RunPod on-demand prices as of Nov 21, 2026.

How to run it

Ollama
ollama run gemma4:31b
llama.cpp
llama-server -hf unsloth/gemma-4-31B-it-GGUF
vLLM
vllm serve google/gemma-4-31B-it
MLX (Mac)
mlx_lm.chat --model mlx-community/gemma-4-31b-it-4bit

Gemma 4 31B on similar machines

All machines: Gemma 4 31B VRAM requirements. Everything that runs here: what can the RTX 5090 run?

Other models that run on RTX 5090

Questions

Can Gemma 4 31B run on RTX 5090?

Gemma 4 31B at 6-bit runs on the RTX 5090 with 112K of context at about 45 tokens a second.

Report VR-12QW5UJ, calculated Nov 22, 2026 from published specs, not benchmarked.