Will It Run AI
CalculatorModelsHardwareCompare
Product
  • Calculator
  • Compare
  • Tier List
Browse
  • Models
  • Hardware
  • Docs
About
  • Why It Works
  • What's New
  • Legal Notice
  • Privacy Policy

All estimates are approximations based on mathematical models and public specifications. Actual performance may vary. Do not make purchasing decisions based solely on these estimates.

Data sourced from Hugging Face, Ollama, and official model documentation. Model names and logos are trademarks of their respective owners.

© 2026 Will It Run AI — Fase Consulting Ibiza, S.L. (NIF: B57969656)

Home/Models/CodeLlama 7B Instruct

MetaMeta

CodeLlama 7B Instruct

Legacy
huggingfaceHuggingFace
168.2KDownloads255LikesAug 2023Released16K tokensContextCommunityLicense3 EntryQuality

Get started

— copy & paste to run locally
Ollama
ollama run codellama-7b-instruct
HuggingFace
huggingface-cli download codellama-7b-instruct

Quick specs

Parameters7B
Architecturedense
Context16K tokens
Modalitycode
Min RAM2.7 GB
Rec. RAM4.3 GB (Q4_K_M)
LicenseCommunity
FamilyCodeLlama
✓ Code

About this model

Code Llama is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 34 billion parameters. This is the repository for the 7B instruct-tuned version in the Hugging Face Transformers format. This model is designed for general code synthesis and understanding. Links to other models can be found in the index at the bottom.

  • •[x] Code completion
  • •[x] Instructions / chat
  • •[ ] Python specialist

Related models

Your hardware

Detecting...

Quick picks

Intel
Best budgetC
Intel Arc B580 12GB~$249 — 51 tok/s
NVIDIA
Best overallB
RTX 3080 10GB~$699 — 135 tok/s

Best hardware

Top picks for CodeLlama 7B Instruct

NVIDIA
RTX 3080 10GBB
10 GB
NVIDIA
RTX 2080 Ti 11GBB
11 GB
NVIDIA
GTX 1080 Ti 11GBC
11 GB
NVIDIA
RTX 3080 12GBC
12 GB
NVIDIA
RTX 3080 Ti 12GBC
12 GB

Quantization options

VRAM estimates by quant level

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
2.7 GB
Low—
Q3_K_S
3
3.4 GB
Low—
NVFP4
4
3.9 GB
Medium—
Q4_K_M
4
4.3 GB
Medium—
Q5_K_M
5
5.0 GB
High—
Q6_K
6
5.7 GB
High—
Q8_0
8
7.5 GB
Very High—
F16
16
14.3 GB
Maximum—

Hardware compatibility

Fit estimates across all hardware

Open calculator

Computing compatibility...

Memory breakdown

Reference: NVIDIA A10 24GB

Weights4.3 GB
KV Cache1.1 GB
Runtime0.9 GB
Headroom2.4 GB