Adds memory headroom for longer context windows and future model growth.
~$2,499 MSRP
![]() |
VOOZH | about |
StarCoder2 3B needs ~8.0 GB VRAM. NVIDIA L40 48GB has 48.0 GB. With Q4_K_M quantization, expect ~42 tok/s.
Operating mode
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
48.0 tok/s
TTFT
4033 ms
Safe context
16K
Memory
8.0 GB / 48.0 GB
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.
| Workload | Grade | Fit | Decode | TTFT | Context |
|---|---|---|---|---|---|
| Chat | C | Runs well | 42.0 tok/s | 2514 ms | 16K |
| Coding | C | Runs well | 42.0 tok/s | 4610 ms | 16K |
| Agentic Coding | C | Runs well | 42.0 tok/s | 6705 ms | 16K |
| Reasoning | C | Runs well | 42.0 tok/s | 5448 ms | 16K |
| RAG | C | Runs well | 42.0 tok/s | 8381 ms | 16K |
How StarCoder2 3B (3B params) fits at each quantization level on NVIDIA L40 48GB (48.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 1.2 GB | Low | D40 |
Q3_K_S | 3 | 1.5 GB | Low | D40 |
NVFP4 | 4 |
Copy-paste commands to run StarCoder2 3B on your machine.
Run
ollama run starcoder2:3bUpgrade options
Adds memory headroom for longer context windows and future model growth.
~$2,499 MSRP
Adds memory headroom for longer context windows and future model growth.
~$3,199 MSRP
1.7 GB |
| Medium |
| D40 |
Q4_K_M | 4 | 1.8 GB | Medium | D40 |
Q5_K_M | 5 | 2.2 GB | High | D40 |
Q6_K | 6 | 2.5 GB | High | D40 |
Q8_0 | 8 | 3.2 GB | Very High | D40 |
F16Best for your GPU | 16 | 6.1 GB | Maximum | C40 |