Can Gemma 2 9B run on NVIDIA L40S 48GB?
YES — Runs Great
Gemma 2 9B needs ~16.6 GB VRAM. NVIDIA L40S 48GB has 48.0 GB. With Q4_K_M quantization, expect ~123 tok/s.
Operating mode
Choose the run profile you care about
Interactive favors responsiveness, while light API and scale-out lean harder on serving readiness. The fit stays the same, but the recommendation lens changes.
Current mode
Balanced
Balanced for general local use. Keeps the ranking neutral across personal and serving workflows.
Select quantization to explore
Fit status
Runs well
Decode
126.0 tok/s
TTFT
1537 ms
Safe context
8K
Memory
16.6 GB / 48.0 GB
Memory breakdown
See how fast it feels
What limits this setup
This setup is broadly balanced for this model.
No major red flags
This recommendation has enough memory headroom and acceptable estimated speed for the selected workload.
Best improvement path
Performance by workload
| Workload | Grade | Fit | Decode | TTFT | Context |
|---|---|---|---|---|---|
| Chat | B | Runs well | 122.8 tok/s | 860 ms | 8K |
| Coding | B | Runs well | 122.8 tok/s | 1577 ms | 8K |
| Agentic Coding | B | Runs well | 122.8 tok/s | 2294 ms | 8K |
| Reasoning | B | Runs well | 122.8 tok/s | 1864 ms | 8K |
| RAG | B | Runs well | 122.8 tok/s | 2868 ms | 8K |
Quantization options
How Gemma 2 9B (9B params) fits at each quantization level on NVIDIA L40S 48GB (48.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 3.5 GB | Low | B56 |
Q3_K_S | 3 | 4.4 GB | Low | B56 |
NVFP4 | 4 |
Get started
Copy-paste commands to run Gemma 2 9B on your machine.
Run
ollama run gemma2