Gemma 4 31B on NVIDIA RTX Spark N1X (6144-core GPU) (48 GB)
Can the NVIDIA RTX Spark N1X (6144-core GPU) (48 GB) run Gemma 4 31B?
Yes, it runs well
Runs well. At Q4_K_M it needs about 23.9 GB of 32.2 GB usable, with an estimated speed of 11.8 tok/s.
- Best quant
Q4_K_M- Generation speed
- 11.8 tok/s
- Prompt processing
- 663 tok/s
- First token (1K prompt)
- 1.5 s
- Largest safe context
- 49K
Best app to run it on the NVIDIA RTX Spark N1X (6144-core GPU) (48 GB)
On Linux
- One command with Ollama’s own build of this model.
- Serves an OpenAI-compatible API that other apps and coding tools can use.
ollama run gemma4:31b-it-q4_K_MDownload Gemma 4 31B
Recommended for the NVIDIA RTX Spark N1X (6144-core GPU) (48 GB): Q4_K_M. Every other quantization has its own download link in the table below.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run gemma4:31b-it-q4_K_MQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q4_K_M file (opens in a new tab)
huggingface.co/unsloth/gemma-4-31B-it-GGUF (opens in a new tab)
ollama run hf.co/unsloth/gemma-4-31B-it-GGUF:Q4_K_MOriginal weights · Hugging Face
Full-precision files from Google, for fine-tuning, vLLM, Transformers.
Official repo · GitHub
Reference code, inference scripts and docs from Google. The weights themselves download from Hugging Face.
github.com/google-deepmind/gemma (opens in a new tab)
git clone https://github.com/google-deepmind/gemmaHow it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 38.9 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 8.1 / 15 | |
| Memory use | 15.0 / 15 | |
| Match score | 87.0 / 100 |
Every quantization on the NVIDIA RTX Spark N1X (6144-core GPU) (48 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 17.3 GB | 32.2 GB | 19.3 tok/s | Runs well | 63Good quality (B) · 63 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (UD-Q2_K_XL) (opens in a new tab) |
Q3_K_M | 20.1 GB | 32.2 GB | 15.2 tok/s | Runs well | 76Great quality (A) · 76 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q4_K_M | 23.9 GB | 32.2 GB | 11.8 tok/s | Runs well | 86Excellent quality (A+) · 86 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 27.0 GB | 32.2 GB | 9.7 tok/s | Slow | 88Excellent quality (A+) · 88 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 30.4 GB | 32.2 GB | 8.2 tok/s | Slowtight fit | 90Excellent quality (A+) · 90 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 37.9 GB | 32.2 GB | 5.1 tok/s | Slowfar over GPU memory limit | 91Excellent quality (A+) · 91 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 65/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 67.3 GB | 32.2 GB | — | Won't run | 91Excellent quality (A+) · 91 of 100: how capable the model is at F16, whatever it runs on. Match score 12/100 (quality, fit, speed and memory use) sets the ranking. | GGUF · folder (opens in a new tab) Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
88Excellent quality (A+) · 88 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 94/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5090
-
86Excellent quality (A+) · 86 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 92/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4090
-
86Excellent quality (A+) · 86 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 92/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3090
-
86Excellent quality (A+) · 86 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
90Excellent quality (A+) · 90 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 88/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA RTX PRO 6000 Blackwell
-
88Excellent quality (A+) · 88 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking.
Apple M1 Max (64 GB)
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.