by Meta AI

Code Llama 70B.

code open weights workstation 70B params 16K ctx
Smallest GPU
1× Nvidia L40S
$0.28/hr

Meta's largest code-specialised Llama.

Smallest GPU to run it See all quantisations →

1× Nvidia L40S · $0.28/hr.

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.

Distilled variants

Smaller models distilled from Code Llama 70B.

Lightweight student models trained to mimic Code Llama 70B's outputs.

FAQ

Frequently asked.

How do I run Code Llama 70B?
Code Llama 70B 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 70B?
Code Llama 70B 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 70B?
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 70B open-source or proprietary?
Code Llama 70B is open-weight under the Llama 2 Community License license. You can download and self-host it.