Meta

Code Llama 7B

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

7B parametersllamallama216K context4.3GB - 7.17GB VRAM

Check Your Hardware

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

Quantization Options

QuantizationBitsFile SizeVRAM NeededRAM NeededQuality
Q4_K_M4.53.801 GB4.3 GB4.8 GB
85%
Q8_086.669 GB7.17 GB7.67 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.3GB VRAM minimum with Q4_K_M quantization. For full precision, you need 7.17GB 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.