by Meta AI

Code Llama 13B.

code open weights laptop+ 13B params 16K ctx
🧬 Distilled from Code Llama 70B — smaller, cheaper to run, similar reasoning style.
Smallest GPU
1× Nvidia RTX 3080
Smallest GPU to run it See all quantisations →

1× Nvidia RTX 3080.

Most-aggressive quantisation we have a working recommendation for. Lower precision = less VRAM = cheaper hardware, at a small accuracy cost.

Where to use it

Cheapest hosted endpoints.

Provider Access $/M in $/M out
Ollama self hosted Launch ↗
Sources

Official references.

Best for

Workloads.

FAQ

Frequently asked.

How do I run Code Llama 13B?
Code Llama 13B is open-weight, so you can self-host on rented GPUs. See the Run It Yourself tab for GPU configurations + cost estimates, or use one of the hosted inference providers listed on this page.
Where can I access Code Llama 13B?
Code Llama 13B is available via Ollama. Each access option lists its own pricing (per million tokens or hourly hosting).
How much does it cost to run Code Llama 13B?
Self-hosting cost depends on the GPU you rent and the throughput you need. See the Run It Yourself tab for GPU configurations and hourly cost estimates.
Is Code Llama 13B open-source or proprietary?
Code Llama 13B is open-weight under the Llama 2 Community License license. You can download and self-host it.