LLaMA-13B
by Meta · Feb 27, 2023
LLaMA-13B is an open-weight code model from Meta, released Feb 27, 2023. It has 13B parameters. It scores 85.2 on the Epoch Capabilities Index.
- Provider
- Meta
- Released
- Feb 27, 2023
- Type
- Code model
- Parameters
- 13B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (non-commercial)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 7.8e+22 FLOP
- Training data
- 1000B tokens/words
About LLaMA-13B
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-13B benchmarks
All benchmarks →- Epoch Capabilities Index85.2
- MMLU47.7%
- GSM8K20.5%
- HellaSwag79.2%
Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.
How to run LLaMA-13B
LLaMA-13B 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 13B parameters it needs roughly 8 GB of memory at 4-bit quantization.
LLaMA-13B vs alternatives
- LLaMA-13B vs MPT-30B
- LLaMA-13B vs DeepSeek Coder 33B
- LLaMA-13B vs LLaMA-7B
- LLaMA-13B vs Qwen2.5-Coder (1.5B)
- LLaMA-13B vs StarCoder 2 15B
- LLaMA-13B vs Phi-2
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| MPT-30Bopen | MosaicML | Jun 2023 | 30B | — | — | — | 85.2 |
| DeepSeek Coder 33Bopen | DeepSeek | Nov 2023 | 33B | — | — | — | 76.3 |
| LLaMA-7Bopen | Meta | Feb 2023 | 6.7B | — | — | — | 77.3 |
| Qwen2.5-Coder (1.5B)open | Alibaba (Qwen) | Sep 2024 | 1.5B | — | — | — | 89.1 |
| StarCoder 2 15Bopen | NVIDIA | Feb 2024 | 15B | — | — | — | 96.1 |
| Phi-2open | Microsoft | Dec 2023 | 2.8B | — | — | — | 96.2 |
| NexusRaven-V2open | Nexusflow | Dec 2023 | 13B | — | — | — | — |
| CodeFuse-13Bopen | inclusionAI (Ant Group) | Oct 2023 | 13B | — | — | — | — |
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-13B?
LLaMA-13B was developed by Meta (United States of America). It was released on Feb 27, 2023.
Is LLaMA-13B open source?
Yes. LLaMA-13B's weights are publicly available, so you can download and run it yourself.
How many parameters does LLaMA-13B have?
LLaMA-13B has 13B parameters.
How does LLaMA-13B perform on benchmarks?
LLaMA-13B scores 47.7% on MMLU, 20.5% on GSM8K and 79.2% on HellaSwag.
Sources: epoch · paper. Last updated 2026-11-22.