Llama-2-7b-hf
by Nous Research · Jul 18, 2023
Llama-2-7b-hf is an open-weight chat llm from Nous Research, released Jul 18, 2023. It has 6.7B parameters.
- Provider
- Nous Research
- Released
- Jul 18, 2023
- Type
- Chat LLM
- Parameters
- 6.7B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- —
- Knowledge cutoff
- —
- Status
- Open weights
- HF downloads (30d)
- 95.6K
How to run Llama-2-7b-hf
Llama-2-7b-hf is an open-weight model published on Hugging Face as NousResearch/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-hf vs alternatives
- Llama-2-7b-hf vs Mistral-7B-v0.1
- Llama-2-7b-hf vs Llama 2-7B
- Llama-2-7b-hf vs Falcon-7B
- Llama-2-7b-hf vs RedPajama-INCITE-7B-Base
- Llama-2-7b-hf vs Llama-2-7b-chat-hf
- Llama-2-7b-hf vs deepseek-coder-6.7b-base
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Mistral-7B-v0.1open | Mistral AI | Sep 2023 | 7.2B | — | — | — | 102.7 |
| Llama 2-7Bopen | Meta | Jul 2023 | 6.7B | — | — | — | 83.2 |
| Falcon-7Bopen | Technology Innovation Institute | Apr 2023 | 7.2B | — | — | — | 73.1 |
| RedPajama-INCITE-7B-Baseopen | Together AI | Jun 2023 | 6.9B | — | — | — | 57.7 |
| Llama-2-7b-chat-hfopen | Meta | Jul 2023 | 6.7B | — | — | — | — |
| deepseek-coder-6.7b-baseopen | DeepSeek | Oct 2023 | 6.7B | — | — | — | — |
| Mistral-7B-Instruct-v0.2open | Mistral AI | Dec 2023 | 7.2B | — | — | — | — |
| deepseek-llm-7b-baseopen | DeepSeek | Nov 2023 | 7B | — | — | — | — |
More models from Nous Research
All Nous Research models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Hermes 4 405Bopen | Aug 2025 | 406B | 128K | $1 | $3 |
| Arete-27Bopen | Nov 2026 | 27B | — | — | — |
| Hermes 2 Pro Llama 3 8Bopen | Apr 2024 | 8B | 128K | $0.14 | $0.14 |
| Hermes-3-Llama-3.1-8Bopen | Jul 2024 | 8B | — | — | — |
| Meta-Llama-3-8B-Instructopen | Apr 2024 | 8B | — | — | — |
| Hermes 3 70B Instruct (Deep Infra)open | Aug 2024 | 71B | 128K | $0.7 | $0.7 |
| Hermes 3 405B Instruct (Deep Infra)open | Aug 2024 | 406B | 128K | $1 | $1 |
| Hermes-4-14Bopen | Aug 2025 | — | — | — | — |
Frequently asked questions
Who made Llama-2-7b-hf?
Llama-2-7b-hf was developed by Nous Research (United States). It was released on Jul 18, 2023.
Is Llama-2-7b-hf open source?
Yes. Llama-2-7b-hf's weights are publicly available on Hugging Face (NousResearch/Llama-2-7b-hf), so you can download and run it yourself.
How many parameters does Llama-2-7b-hf have?
Llama-2-7b-hf has 6.7B parameters.
Sources: huggingface · huggingface. Last updated 2026-11-22.