corehu

OPEN MODELS

CodeLlama-34b-Instruct-hf vs Qwen2.5-32B-Instruct-bnb-4bit

Qwen2.5-32B-Instruct-bnb-4bit needs about 40 GB less GPU memory than CodeLlama-34b-Instruct-hf (42 GB vs 82 GB). Cheapest way to run them today: CodeLlama-34b-Instruct-hf from $0.56 per hour on GB10, Qwen2.5-32B-Instruct-bnb-4bit from $0.52 per hour on Q RTX 8000.

CodeLlama-34b-Instruct-hfQwen2.5-32B-Instruct-bnb-4bit
Developercodellamaunsloth
Parameters34B34B
WeightsBF16U8
Licensellama2apache-2.0
GPU memory needed≈ 82 GB≈ 42 GB
Memory at 4-bit≈ 26 GB≈ 26 GB
Cheapest GPU that fitsGB10 · $0.56Q RTX 8000 · $0.52
Speed (est.)≈ 2.3 tok/s · $67.24/1M≈ 11 tok/s · $13.16/1M
Downloads23,37451,548

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length. Speed is an estimate for one request at a time from the GPU's memory bandwidth; serving many requests at once raises total throughput and lowers the cost per token.

Questions

Which needs less GPU memory, CodeLlama-34b-Instruct-hf or Qwen2.5-32B-Instruct-bnb-4bit?
Qwen2.5-32B-Instruct-bnb-4bit needs about 40 GB less GPU memory than CodeLlama-34b-Instruct-hf (42 GB vs 82 GB).
Which is cheaper to run, CodeLlama-34b-Instruct-hf or Qwen2.5-32B-Instruct-bnb-4bit?
Cheapest way to run them today: CodeLlama-34b-Instruct-hf from $0.56 per hour on GB10, Qwen2.5-32B-Instruct-bnb-4bit from $0.52 per hour on Q RTX 8000.