Skip to content
llmmodels
Chat LLMOpen weights

Llama 2-13B

by Meta · Jul 18, 2023

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

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

About Llama 2-13B

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-13B benchmarks

All benchmarks →

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

How to run Llama 2-13B

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

Llama 2-13B vs alternatives

Alternatives to Llama 2-13B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Baichuan2-13BopenBaichuanSep 202313B———91.8
DeepSeek-Coder-V2-Lite-BaseopenDeepSeekJun 202416B———99.4
Qwen2.5-Coder-3BopenAlibaba (Qwen)Nov 20243.1B———96.8
Mistral-7B-v0.1openMistral AISep 20237.2B———102.7
Falcon-40BopenTechnology Innovation InstituteMar 202340B———90.7
Yi-9Bopen01.AIMar 20248.8B———102.2
Gemma 7BopenGoogle DeepMindFeb 20248.5B———103.2
tiny-random-LlamaForCausalLMopenHugging FaceApr 2023—————

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

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

Is Llama 2-13B open source?

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

How many parameters does Llama 2-13B have?

Llama 2-13B has 13B parameters.

How does Llama 2-13B perform on benchmarks?

Llama 2-13B scores 55.6% on MMLU, 36.9% on GSM8K and 80.7% on HellaSwag.

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