Code LlamaOpen Weight
Released
Code Llama is an AI model released by Meta on Thursday, Aug 24 2023, 37 days after LLaMA 2. It is an open-weight model — the trained weights are available to download and run. It was released in 7B and 13B and 34B parameter sizesThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality., with a context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider. of 16k tokens. Benchmark results (shown below) cover HumanEval.
Get Meta releases and AI news.
Every other Monday
Benchmarks
Compare Code Llama with
Suggested comparisons
Code LlamavsMuse EmberCode LlamavsGPT-6.2 AstraCode LlamavsClaude Fable 5.2Code LlamavsGemini 4 NeonCode LlamavsGrok 4.7Code LlamavsDeepSeek-V4.1-Flash-1017Code LlamavsMistral Large 4Code LlamavsKimi K3.1 ProCode LlamavsGLM-5.4Code LlamavsQwen4-MaxCode LlamavsNemotron 3.5 Bolt E4B 4GBCode LlamavsErgoAbout
Code Llama, released August 24, 2023, adapted Llama 2 for programming through additional training on code. The initial family offered 7B, 13B and 34B models, with general code, Python-specialized and instruction-tuned variants. Developers could use it for code completion, generating functions from natural-language requests and explaining existing code on infrastructure they controlled. The publisher benchmarks listed here use the 34B base checkpoint.
The 7B and 13B models supported filling in missing code between a supplied prefix and suffix, a useful pattern for editor integrations. Meta trained the models with 16,000-token sequences and reported support for longer inputs in its research. The downloadable weights were released under a custom community license, so their availability for commercial use came with conditions rather than a standard permissive software license.
Frequently asked questions
Code Llama was released by Meta on Thursday, Aug 24 2023.