Can Codestral 22B run on NVIDIA A100 40GB?
YES — Runs Great
Codestral 22B needs ~21.1 GB VRAM. NVIDIA A100 40GB has 40.0 GB. With Q4_K_M quantization, expect ~97 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
104.6 tok/s
TTFT
1850 ms
Safe context
33K
Memory
21.1 GB / 40.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 | 97.3 tok/s | 1085 ms | 33K |
| Coding | B | Runs well | 97.3 tok/s | 1989 ms | 33K |
| Agentic Coding | B | Runs well | 97.3 tok/s | 2893 ms | 33K |
| Reasoning | B | Runs well | 97.3 tok/s | 2351 ms | 33K |
| RAG | B | Runs well | 97.3 tok/s | 3616 ms | 33K |
Quantization options
How Codestral 22B (22B params) fits at each quantization level on NVIDIA A100 40GB (40.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 8.6 GB | Low | C54 |
Q3_K_S | 3 | 10.8 GB | Low | C55 |
NVFP4 | 4 |
Get started
Copy-paste commands to run Codestral 22B on your machine.
Run
ollama run codestral