Can Codestral 22B run on NVIDIA L40S 48GB?
YES — Runs Great
Codestral 22B needs ~21.9 GB VRAM. NVIDIA L40S 48GB has 48.0 GB. With Q4_K_M quantization, expect ~50 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
54.0 tok/s
TTFT
3586 ms
Safe context
33K
Memory
21.9 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 | 50.2 tok/s | 2103 ms | 33K |
| Coding | B | Runs well | 50.2 tok/s | 3855 ms | 33K |
| Agentic Coding | B | Runs well | 50.2 tok/s | 5608 ms | 33K |
| Reasoning | B | Runs well | 50.2 tok/s | 4556 ms | 33K |
| RAG | B | Runs well | 50.2 tok/s | 7009 ms | 33K |
Quantization options
How Codestral 22B (22B params) fits at each quantization level on NVIDIA L40S 48GB (48.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 8.6 GB | Low | C53 |
Q3_K_S | 3 | 10.8 GB | Low | C53 |
NVFP4 | 4 |
Get started
Copy-paste commands to run Codestral 22B on your machine.
Run
ollama run codestral