Model
Model explorer

Code Llama 7B

OPEN
Meta · Code Llama family · released Aug 24, 2023

Code-specialized Llama 2 7B with FIM infilling, trained on 16K sequences, stable to ~100K in testing.

ReasoningCodingVisionFunction callingTool useAgentic
127.6
Elo · unrated
Parameters
7B
Active params
7B (dense)
Context
16K tokens
Architecture
Dense transformer (decoder-only) with FIM infilling
License
Llama 2 Community License
Languages
API price (in/out)
No hosted API
Modalities
text
Benchmark results
Bar shows position within the tracked field; marker = field best
HumanEval+Coding3.7%#38
best: Mistral Small 3.2 (24B) · 92.9%
HumanEvalCoding33.5%#146
best: Claude Opus 4.5 · 99.4%
MBPP+Coding11.0%#38
best: Llama 3.1 405B · 88.6%
MBPPCoding41.4%#82
best: Llama-3.3-Nemotron-Super-49B v1 (Reasoning On) · 91.3%
RepoBenchCoding36.7%#6
best: DeepSeek Coder 33B · 41.9%
Run it locally
VRAM @ Q4
5 GB
VRAM @ FP16
13.5 GB
Fits on (Q4)
RTX 3060 12GBRTX 4070 Ti 16GBRTX 3090 24GBRTX 4090 24GBRTX 5090 32GBM4 Pro 48GBM3 Max 128GBM3 Ultra 512GBA100 80GBH100 80GBH200 141GBB200 192GB
Throughput data unavailable.
Quantizations
GGUF Q4 · GPTQ · AWQ · MLX
API price weights · each benchmark row carries its own source badge (see methodology)