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 →- Epoch Capabilities Index96.5
- MMLU55.6%
- GSM8K36.9%
- HellaSwag80.7%
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
- Llama 2-13B vs Baichuan2-13B
- Llama 2-13B vs DeepSeek-Coder-V2-Lite-Base
- Llama 2-13B vs Qwen2.5-Coder-3B
- Llama 2-13B vs Mistral-7B-v0.1
- Llama 2-13B vs Falcon-40B
- Llama 2-13B vs Yi-9B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Baichuan2-13Bopen | Baichuan | Sep 2023 | 13B | — | — | — | 91.8 |
| DeepSeek-Coder-V2-Lite-Baseopen | DeepSeek | Jun 2024 | 16B | — | — | — | 99.4 |
| Qwen2.5-Coder-3Bopen | Alibaba (Qwen) | Nov 2024 | 3.1B | — | — | — | 96.8 |
| Mistral-7B-v0.1open | Mistral AI | Sep 2023 | 7.2B | — | — | — | 102.7 |
| Falcon-40Bopen | Technology Innovation Institute | Mar 2023 | 40B | — | — | — | 90.7 |
| Yi-9Bopen | 01.AI | Mar 2024 | 8.8B | — | — | — | 102.2 |
| Gemma 7Bopen | Google DeepMind | Feb 2024 | 8.5B | — | — | — | 103.2 |
| tiny-random-LlamaForCausalLMopen | Hugging Face | Apr 2023 | — | — | — | — | — |
More models from Meta
All Meta models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Muse Spark 1.3 Contributor | Sep 2026 | — | 1M | $0.1 | $0.2 |
| Llama-3.3-70B-Instructopen | Dec 2024 | 71B | 128K | $0.71 | $0.71 |
| Muse Spark Openopen | Oct 2026 | 816B | 1M | $1.25 | $4.25 |
| Muse Spark 1.2 | Aug 2026 | — | 1M | $0.1 | $0.2 |
| Muse Wonder | Oct 2026 | — | 1M | $4 | $20 |
| Muse Spark 1.1 | Apr 2026 | — | 1M | $1.25 | $4.25 |
| Llama 4 Maverickopen | Apr 2025 | 402B | 512K | $0.35 | $1 |
| Llama 4 Scoutopen | Apr 2025 | 109B | 320K | $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.