Codestral 21B Pruned i1 needs ~21.3 GB VRAM. NVIDIA L40 48GB has 48.0 GB. With Q4_K_M quantization, expect ~53 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
52.6 tok/s
TTFT
3680 ms
Safe context
190K
Memory
21.3 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 | 52.6 tok/s | 2007 ms | 190K |
| Coding | C | Runs well | 52.6 tok/s | 3680 ms | 190K |
| Agentic Coding | C | Runs well | 52.6 tok/s | 5353 ms | 190K |
| Reasoning | C | Runs well | 52.6 tok/s | 4349 ms | 190K |
| RAG | C | Runs well | 52.6 tok/s | 6691 ms | 190K |
How Codestral 21B Pruned i1 (21B params) fits at each quantization level on NVIDIA L40 48GB (48.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 8.2 GB | Low | C42 |
Q3_K_S | 3 | 10.3 GB | Low | C43 |
NVFP4 | 4 |
Copy-paste commands to run Codestral 21B Pruned i1 on your machine.
Run
lms load hf-mradermacher--codestral-21b-pruned-i1-gguf && lms server startYes, NVIDIA L40 48GB can run Codestral 21B Pruned i1 with a C grade (Runs well). Expected decode speed: 52.6 tok/s.
Codestral 21B Pruned i1 (21B parameters) requires approximately 21.3 GB of memory with Q4_K_M quantization.
The recommended quantization for Codestral 21B Pruned i1 is Q4_K_M, which balances quality and memory efficiency.
On NVIDIA L40 48GB, Codestral 21B Pruned i1 achieves approximately 52.6 tokens per second decode speed with a time-to-first-token of 3680ms using Q4_K_M quantization.
For coding workloads, Codestral 21B Pruned i1 on NVIDIA L40 48GB receives a C grade with 52.6 tok/s and 190K context.
On NVIDIA L40 48GB, Codestral 21B Pruned i1 can safely use up to 190K tokens of context. The model's official context limit is —, but available memory constrains the safe maximum.
Paste this snippet into any page to show a live fit card.
<iframe src="https://willitrunai.com/embed/hf-mradermacher--codestral-21b-pruned-i1-gguf-on-l40-48gb" width="400" height="180" frameborder="0" style="border:none;border-radius:12px;overflow:hidden;" title="Will It Run AI — fit result"></iframe>
Preview:
11.8 GB |
| Medium |
| C43 |
Q4_K_M | 4 | 12.8 GB | Medium | C43 |
Q5_K_M | 5 | 15.1 GB | High | C44 |
Q6_K | 6 | 17.2 GB | High | C45 |
Q8_0Best for your GPU | 8 | 22.5 GB | Very High | C46 |
F16 | 16 | 43.1 GB | Maximum | F0 |