corehu

OPEN MODELS

llama2-13b-chat-hf vs CodeLlama-13B-Instruct-GGUF

CodeLlama-13B-Instruct-GGUF needs about 22 GB less GPU memory than llama2-13b-chat-hf (11 GB vs 33 GB). Cheapest way to run them today: llama2-13b-chat-hf from $0.51 per hour on Q RTX 8000, CodeLlama-13B-Instruct-GGUF from $0.13 per hour on RTX 3060.

llama2-13b-chat-hfCodeLlama-13B-Instruct-GGUF
DeveloperFeatherless-Chat-ModelsTheBloke
Parameters13B13B
WeightsF16GGUF
Licensellama2llama2
GPU memory needed≈ 33 GB≈ 11 GB
Memory at 4-bit≈ 11 GB—
Cheapest GPU that fitsQ RTX 8000 · $0.51RTX 3060 · $0.13
Speed (est.)≈ 14 tok/s · $10.10/1M≈ 28 tok/s · $1.27/1M
Downloads22,4806,793

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