CodeGemma 2B on NVIDIA GeForce RTX 4070 SUPER
Can the NVIDIA GeForce RTX 4070 SUPER run CodeGemma 2B?
Yes, it runs well
Runs well. At F16 it needs about 6.4 GB of 12.0 GB usable, with an estimated speed of 57.8 tok/s.
- Best quant
F16- Generation speed
- 57.8 tok/s
- Prompt processing
- 10,183 tok/s
- First token (1K prompt)
- 0.3 s
- Largest safe context
- 8K
Download CodeGemma 2B
Recommended for the NVIDIA GeForce RTX 4070 SUPER: F16. 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 codegemma:2b-code-fp16Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the F16 file (opens in a new tab)
huggingface.co/google/codegemma-2b-GGUF (opens in a new tab)
ollama run hf.co/google/codegemma-2b-GGUF:F16Original weights · Hugging Face
Full-precision files from Google, for fine-tuning, vLLM, Transformers.
How the B grade is scored
Every result gets up to 100 points from four parts. The points decide the letter grade.
| Model quality | 6.3 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 15.0 / 15 | |
| Memory use | 12.3 / 15 | |
| Total | 58.6 / 100 | 58 ptsGood (B) · 58 of 100 points: Model quality 6.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 12.3/15 |
Every quantization on the NVIDIA GeForce RTX 4070 SUPER
| Quant | Memory needed | Available | Speed | Fit | Grade · points | Download |
|---|---|---|---|---|---|---|
Q2_K | 2.4 GB | 12.0 GB | 405 tok/s | Runs well | 48 ptsUsable (C) · 48 of 100 points: Model quality 4.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 4.5/15 | |
Q3_K_M | 2.6 GB | 12.0 GB | 319 tok/s | Runs well | 50 ptsUsable (C) · 50 of 100 points: Model quality 5.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 5.0/15 | |
Q4_K_M | 2.9 GB | 12.0 GB | 246 tok/s | Runs well | 51 ptsUsable (C) · 51 of 100 points: Model quality 6.0/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 5.5/15 | |
Q5_K_M | 3.1 GB | 12.0 GB | 204 tok/s | Runs well | 52 ptsUsable (C) · 52 of 100 points: Model quality 6.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 6.0/15 | |
Q6_K | 3.4 GB | 12.0 GB | 171 tok/s | Runs well | 52 ptsUsable (C) · 52 of 100 points: Model quality 6.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 6.6/15 | |
Q8_0 | 4.0 GB | 12.0 GB | 125 tok/s | Runs well | 54 ptsUsable (C) · 54 of 100 points: Model quality 6.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 7.7/15 | |
F16 | 6.4 GB | 12.0 GB | 57.8 tok/s | Runs well | 58 ptsGood (B) · 58 of 100 points: Model quality 6.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 12.3/15 | GGUF (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
- 58 ptsGood (B) · 58 of 100 points: Model quality 6.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 12.3/15 NVIDIA GeForce RTX 3060 12GB
- 57 ptsUsable (C) · 57 of 100 points: Model quality 6.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 11.0/15 NVIDIA GeForce RTX 4060
- 55 ptsUsable (C) · 55 of 100 points: Model quality 6.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 9.5/15 AMD Radeon RX 9070 XT
- 55 ptsUsable (C) · 55 of 100 points: Model quality 6.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 9.5/15 NVIDIA GeForce RTX 4070 Ti SUPER
- 55 ptsUsable (C) · 55 of 100 points: Model quality 6.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 9.5/15 NVIDIA GeForce RTX 4080 SUPER
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.