Meta

Code Llama 7B

Meta's code-specialized Llama model. Good at code completion.

7B parametersllamallama216K context4.7GB - 7.8GB VRAM

Check Your Hardware

See which quantizations of Code Llama 7B your hardware can run.

Quantization Options

QuantizationBitsFile SizeVRAM NeededRAM NeededQuality
Q4_K_M4.54.1 GB4.7 GB6.5 GB
85%
Q8_087.2 GB7.8 GB10 GB
98%

See It In Action

Real model outputs generated via RunThisModel.com — watch responses stream in real time.

Llama 3.3 70B responding...

Outputs generated by real AI models via RunThisModel.com. Generation speed shown is from cloud inference. Local speeds vary by hardware — check your device.

Frequently Asked Questions

How much VRAM do I need to run Code Llama 7B?

Code Llama 7B requires 4.7GB VRAM minimum with Q4_K_M quantization. For full precision, you need 7.8GB VRAM.

What is the best quantization for Code Llama 7B?

Q4_K_M offers the best balance of quality and VRAM usage. Q8_0 is near-lossless if you have enough VRAM.