What GPU do I need to run codellama/CodeLlama-34b-Instruct-hf?

33.7B parameters, published in BF16. View on Hugging Face

33.7B
Parameters
BF16
Native precision
LlamaForCausalLM
Architecture
text-generation
Pipeline

CodeLlama-34b-Instruct-hf is published by codellama on Hugging Face, with 18,054 downloads and 305 likes to date. It's a LlamaForCausalLM model built for text-generation, published natively in BF16.

VRAM required & cheapest live GPU fit

Required VRAM = weight size at each precision, plus a fixed overhead for KV-cache, activations, and fragmentation. Full formula and assumptions: methodology.

Precision
Weight size
Required VRAM
Cheapest live fit
GPUs needed
Est. $/hr (full fit)
BF16
62.9 GB
75.4 GB
A100 (runpod)
1
$1.19/hr
cheaper alt.
RTX 5060 Ti (simplepod)
5
$0.500/hr
FP8 (quantized)
31.4 GB
37.7 GB
L40 (massecompute)
1
$0.772/hr
cheaper alt.
RTX 5060 Ti (simplepod)
3
$0.300/hr
INT4 (quantized)
15.7 GB
18.9 GB
RTX 3090 (simplepod)
1
$0.160/hr
cheaper alt.
RTX 3080 (simplepod)
2
$0.140/hr

A GPU is only matched to a row if its hardware supports that precision, and the primary recommendation is always a single-GPU fit when one exists.

INT4 caveat: requires a quantized checkpoint actually published for this model, check its Hugging Face page before relying on this row.

Cheapest way to run CodeLlama-34b-Instruct-hf at its published (BF16) precision: 1× A100 on runpod, at $1.19/hr per GPU ($1.19/hr total). Quantizing to FP8 or INT4 (rows above) can cost less, but requires a compatible quantized checkpoint to exist for this model.

Weight-to-VRAM math, the fit rules, and how live prices are normalized: full methodology.

More codellama models

Ready when you are

Your next GPU already
has your environment on it.

Sign up in 60 seconds. Pay for the GPU minutes you actually use.

© 2026 Aquanode. All rights reserved.

All trademarks, logos and brand names are the property of their respective owners.