Skip to content
llmmodels
Code modelOpen weights

Code Llama-34B

by Meta · Aug 14, 2023

Code Llama-34B is an open-weight code model from Meta, released Aug 14, 2023. It has 34B parameters.

Provider
Meta
Released
Aug 14, 2023
Type
Code model
Parameters
34B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
llama2
Knowledge cutoff
—
Status
Open weights
Training compute
5.3e+23 FLOP
Training data
600B tokens/words
HF downloads (30d)
52

About Code Llama-34B

We release Code Llama, a family of large language models for code based on Llama 2 providing state-of-the-art performance among open models, infilling capabilities, support for large input contexts, and zero-shot instruction following ability for programming tasks. We provide multiple flavors to cover a wide range of applications: foundation models (Code Llama), Python specializations (Code Llama - Python), and instruction-following models (Code Llama - Instruct) with 7B, 13B and 34B parameters each.

How to run Code Llama-34B

Code Llama-34B is an open-weight model published on Hugging Face as meta-llama/CodeLlama-34b-hf. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 34B parameters it needs roughly 20 GB of memory at 4-bit quantization.

Code Llama-34B vs alternatives

Alternatives to Code Llama-34B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
DeepSeek Coder 33BopenDeepSeekNov 202333B———76.3
Llemma 34BopenEleutherAIOct 202334B————
Phi-3.5-MoEopenMicrosoftApr 202442B————
DeepSeek Coder 6.7BopenDeepSeekNov 20236.7B———67.5
Llemma 7BopenEleutherAIOct 20237B————
NVLM-D 72BopenNVIDIAOct 202479B————
Code Llama-13BopenMetaAug 202313B————
Qwen2.5-Coder (7B)openAlibaba (Qwen)Sep 20247.6B———107.4

More models from Meta

All Meta models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Muse Spark 1.3 ContributorSep 2026—1M$0.1$0.2
Llama-3.3-70B-InstructopenDec 202471B128K$0.71$0.71
Muse Spark OpenopenOct 2026816B1M$1.25$4.25
Muse Spark 1.2Aug 2026—1M$0.1$0.2
Muse WonderOct 2026—1M$4$20
Muse Spark 1.1Apr 2026—1M$1.25$4.25
Llama 4 MaverickopenApr 2025402B512K$0.35$1
Llama 4 ScoutopenApr 2025109B320K$0.1$0.3

Frequently asked questions

Who made Code Llama-34B?

Code Llama-34B was developed by Meta (United States of America). It was released on Aug 14, 2023.

Is Code Llama-34B open source?

Yes. Code Llama-34B's weights are publicly available under the llama2 license on Hugging Face (meta-llama/CodeLlama-34b-hf), so you can download and run it yourself.

How many parameters does Code Llama-34B have?

Code Llama-34B has 34B parameters.

Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.