Skip to content
llmmodels
Code modelOpen weightsHistorical

LLaMA-7B

by Meta · Feb 24, 2023

LLaMA-7B is an open-weight code model from Meta, released Feb 24, 2023. It has 6.7B parameters. It scores 77.3 on the Epoch Capabilities Index.

Provider
Meta
Released
Feb 24, 2023
Type
Code model
Parameters
6.7B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (non-commercial)
Knowledge cutoff
—
Status
Historical
Training compute
4.0e+22 FLOP
Training data
1000B tokens/words

About LLaMA-7B

"We introduce LLaMA, a collection of foundation language models ranging from 7B to 65B parameters. We train our models on trillions of tokens, and show that it is possible to train state-of-the-art models using publicly available datasets exclusively, without resorting to proprietary and inaccessible datasets. In particular, LLaMA-13B outperforms GPT-3 (175B) on most benchmarks, and LLaMA-65B is competitive with the best models, Chinchilla-70B and PaLM-540B.

LLaMA-7B benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

How to run LLaMA-7B

LLaMA-7B is an open-weight model. 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 6.7B parameters it needs roughly 4 GB of memory at 4-bit quantization.

LLaMA-7B vs alternatives

Alternatives to LLaMA-7B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
DeepSeek Coder 33BopenDeepSeekNov 202333B———76.3
StarCoder 2 7BopenNVIDIAFeb 20247B———72.4
DeepSeek Coder 6.7BopenDeepSeekNov 20236.7B———67.5
LLaMA-13BopenMetaFeb 202313B———85.2
MPT-30BopenMosaicMLJun 202330B———85.2
Mistral 7BopenMistral AIOct 20237B————
Llemma 7BopenEleutherAIOct 20237B————
CRYSTALCODERopenG42 / Inception (UAE)Dec 20236.7B————

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 LLaMA-7B?

LLaMA-7B was developed by Meta (United States of America). It was released on Feb 24, 2023.

Is LLaMA-7B open source?

Yes. LLaMA-7B's weights are publicly available, so you can download and run it yourself.

How many parameters does LLaMA-7B have?

LLaMA-7B has 6.7B parameters.

How does LLaMA-7B perform on benchmarks?

LLaMA-7B scores 35.6% on MMLU, 11.0% on GSM8K and 76.2% on HellaSwag.

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