Home / Models / Code Llama 34B Instruct
Code Llama 34B Instruct
34B parameters · native context 16,384 · llama
Estimated VRAM requirement
Weight memory uses parameter count × bits per weight, plus a quantization overhead factor. KV cache uses standard GQA formulas. Values are calculated estimates, not measured allocations.
| Quantization | Estimated weights | 2K total | 4K total | 8K total | 16K total |
|---|---|---|---|---|---|
| FP16 | 64.0 GB | 70.3 GB | 70.6 GB | 71.4 GB | 72.9 GB |
| Q8 | 36.0 GB | 40.0 GB | 40.4 GB | 41.1 GB | 42.6 GB |
| Q6 | 28.1 GB | 31.4 GB | 31.8 GB | 32.5 GB | 34.0 GB |
| Q5 | 23.7 GB | 26.8 GB | 27.1 GB | 27.9 GB | 29.4 GB |
| Q4 | 19.8 GB | 22.5 GB | 22.9 GB | 23.6 GB | 25.1 GB |
| Q3 | 15.8 GB | 18.2 GB | 18.6 GB | 19.3 GB | 20.8 GB |
Find a GPU for this model
Run at the quantization and context selected below. Defaults are Q4 and 8K when you do not change the controls. Results are full-VRAM fits only — not a speed ranking.
- Run at
- Q4 · 8K context
- Required VRAM
- 23.6 GB
Lowest-cost full-VRAM option
Sorted by lowest current Amazon price among GPUs that fit entirely in VRAM. This is not a performance ranking.
NVIDIA RTX 5090 32 GB
- GPU VRAM
- 32 GB advertised
- Required VRAM
- 23.6 GB
- Usable GPU VRAM
- 28.8 GB
- VRAM headroom
- 5.2 GB — leftover usable memory after the calculated requirement, not a speed ranking
- Compatible
- Yes — fits entirely in VRAM
- Product SKUs
- 8 mapped · 3 Amazon-matched
- Amazon
- $4987.98 current Amazon price
More VRAM headroom
Sorted by leftover usable VRAM after the calculated requirement. Headroom is not tokens/sec.
NVIDIA RTX 6000 48 GB
- GPU VRAM
- 48 GB advertised
- Required VRAM
- 23.6 GB
- Usable GPU VRAM
- 43.2 GB
- VRAM headroom
- 19.6 GB — leftover usable memory after the calculated requirement, not a speed ranking
- Compatible
- Yes — fits entirely in VRAM
- Product SKUs
- 1 mapped · 0 Amazon-matched
- Amazon
- Check price on Amazon
NVIDIA RTX 8000 48 GB
- GPU VRAM
- 48 GB advertised
- Required VRAM
- 23.6 GB
- Usable GPU VRAM
- 43.2 GB
- VRAM headroom
- 19.6 GB — leftover usable memory after the calculated requirement, not a speed ranking
- Compatible
- Yes — fits entirely in VRAM
- Product SKUs
- 1 mapped · 0 Amazon-matched
- Amazon
- Check availability
NVIDIA RTX A6000 48 GB
- GPU VRAM
- 48 GB advertised
- Required VRAM
- 23.6 GB
- Usable GPU VRAM
- 43.2 GB
- VRAM headroom
- 19.6 GB — leftover usable memory after the calculated requirement, not a speed ranking
- Compatible
- Yes — fits entirely in VRAM
- Product SKUs
- 2 mapped · 0 Amazon-matched
- Amazon
- Check availability
Compatible GPUs
Status is a calculated memory fit against usable VRAM (advertised × 0.9). Open a GPU to see product SKUs and Amazon listings.
Sources
Model specifications: official repository codellama/CodeLlama-34b-Instruct-hf · revision main. Compatibility: RigForAI calculator v1.0.0 (estimated VRAM). GPU products: Icecat. Amazon is a separate affiliate match and is not used as a spec source.