corehu

OPEN MODELS

Llama-2-13b-chat-hf vs CodeLlama-13B-Python-GGUF

CodeLlama-13B-Python-GGUF needs about 22 GB less GPU memory than Llama-2-13b-chat-hf (11 GB vs 33 GB). Cheapest way to run them today: Llama-2-13b-chat-hf from $0.52 per hour on Q RTX 8000, CodeLlama-13B-Python-GGUF from $0.14 per hour on RTX 2060.

Llama-2-13b-chat-hfCodeLlama-13B-Python-GGUF
Developermeta-llamaTheBloke
Parameters13B13B
WeightsF16GGUF
Licensellama2llama2
GPU memory needed≈ 33 GB≈ 11 GB
Memory at 4-bit≈ 11 GB—
Cheapest GPU that fitsQ RTX 8000 · $0.52RTX 2060 · $0.14
Speed (est.)≈ 14 tok/s · $10.16/1M≈ 24 tok/s · $1.63/1M
Downloads136,4072,416

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, Llama-2-13b-chat-hf or CodeLlama-13B-Python-GGUF?
CodeLlama-13B-Python-GGUF needs about 22 GB less GPU memory than Llama-2-13b-chat-hf (11 GB vs 33 GB).
Which is cheaper to run, Llama-2-13b-chat-hf or CodeLlama-13B-Python-GGUF?
Cheapest way to run them today: Llama-2-13b-chat-hf from $0.52 per hour on Q RTX 8000, CodeLlama-13B-Python-GGUF from $0.14 per hour on RTX 2060.