Skip to content
llmmodels
Chat LLMOpen weights

Llama 2-7B

by Meta · Jul 18, 2023

Llama 2-7B is an open-weight chat llm from Meta, released Jul 18, 2023. It has 6.7B parameters. It scores 83.2 on the Epoch Capabilities Index.

Provider
Meta
Released
Jul 18, 2023
Type
Chat LLM
Parameters
6.7B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
llama2
Knowledge cutoff
—
Status
Open weights
Training compute
8.4e+22 FLOP
Training data
2000B tokens/words
HF downloads (30d)
171.5K

About Llama 2-7B

In this work, we develop and release Llama 2, a collection of pretrained and fine-tuned large language models (LLMs) ranging in scale from 7 billion to 70 billion parameters. Our fine-tuned LLMs, called Llama 2-Chat, are optimized for dialogue use cases. Our models outperform open-source chat models on most benchmarks we tested, and based on our human evaluations for helpfulness and safety, may be a suitable substitute for closedsource models.

Llama 2-7B benchmarks

All benchmarks →

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

How to run Llama 2-7B

Llama 2-7B is an open-weight model published on Hugging Face as meta-llama/Llama-2-7b-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 6.7B parameters it needs roughly 4 GB of memory at 4-bit quantization.

Llama 2-7B vs alternatives

Alternatives to Llama 2-7B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
INTELLECT-1Hugging FaceNov 202410B———83.3
vicuna-13b-v1.1openLMSYSApr 202313B———76.1
Falcon-7BopenTechnology Innovation InstituteApr 20237.2B———73.1
Baichuan2-13BopenBaichuanSep 202313B———91.8
Falcon-40BopenTechnology Innovation InstituteMar 202340B———90.7
Gemma 2BopenGoogle DeepMindFeb 20242.5B———75.7
deepseek-coder-6.7b-baseopenDeepSeekOct 20236.7B————
Mistral-7B-Instruct-v0.2openMistral AIDec 20237.2B————

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

Llama 2-7B was developed by Meta (United States of America). It was released on Jul 18, 2023.

Is Llama 2-7B open source?

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

How many parameters does Llama 2-7B have?

Llama 2-7B has 6.7B parameters.

How does Llama 2-7B perform on benchmarks?

Llama 2-7B scores 45.8% on MMLU, 16.7% on GSM8K and 77.2% on HellaSwag.

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