CodeLlama13B params16k context

CodeLlama 13B locally

CodeLlama 13B is an open-weight LLM from the CodeLlama family with 13B parameters. Main use: code and developer agents. Detected minimum hardware: RTX 3080 10GB (10 GB).

Technical facts
Parameters13B
Max context16k
Q4_K_M8.2 GB
Q5_K_M10.0 GB
Q814.5 GB
FP1629.1 GB
FamilyCodeLlama
Last sync2026-05-12

Available quantizations

Q4_K_M
8.2GB

Acceptable. Good compromise when VRAM is limited.

Q5_K_M
10.0GB

Good quality. Sweet spot for size and precision.

Q8
14.5GB

Near-FP16 quality. Comfortable for production.

FP16
29.1GB

Reference precision. Maximum quality, doubled VRAM.

Compatible GPUs

GPUs that can run CodeLlama 13B on a single card, ranked by VRAM headroom.

Recommended multi-GPU rigs

For CodeLlama 13B at higher quantization or with more context, a multi-GPU rig gives more headroom.

Recommended rig

2× GTX 1060 6GB

CodeLlama 13B with Ubuntu, vLLM, Open WebUI and the model already downloaded.

Configure

Similar models

VRAM estimates: parameters x bits/8 plus margin. Real performance varies by engine, context length and batch size.
sync: 2026-05-12