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 →- Epoch Capabilities Index77.3
- MMLU35.6%
- GSM8K11.0%
- HellaSwag76.2%
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
- LLaMA-7B vs DeepSeek Coder 33B
- LLaMA-7B vs StarCoder 2 7B
- LLaMA-7B vs DeepSeek Coder 6.7B
- LLaMA-7B vs LLaMA-13B
- LLaMA-7B vs MPT-30B
- LLaMA-7B vs Mistral 7B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| DeepSeek Coder 33Bopen | DeepSeek | Nov 2023 | 33B | — | — | — | 76.3 |
| StarCoder 2 7Bopen | NVIDIA | Feb 2024 | 7B | — | — | — | 72.4 |
| DeepSeek Coder 6.7Bopen | DeepSeek | Nov 2023 | 6.7B | — | — | — | 67.5 |
| LLaMA-13Bopen | Meta | Feb 2023 | 13B | — | — | — | 85.2 |
| MPT-30Bopen | MosaicML | Jun 2023 | 30B | — | — | — | 85.2 |
| Mistral 7Bopen | Mistral AI | Oct 2023 | 7B | — | — | — | — |
| Llemma 7Bopen | EleutherAI | Oct 2023 | 7B | — | — | — | — |
| CRYSTALCODERopen | G42 / Inception (UAE) | Dec 2023 | 6.7B | — | — | — | — |
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-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.