Zamba2-7B
by Zyphra · May 26, 2024
Zamba2-7B is an open-weight chat llm from Zyphra, released May 26, 2024. It has 7B parameters.
- Provider
- Zyphra
- Released
- May 26, 2024
- Type
- Chat LLM
- Parameters
- 7B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 8.8e+22 FLOP
About Zamba2-7B
In this technical report, we present Zamba, a novel 7B SSM-transformer hybrid model which achieves competitive performance against leading open-weight models at a comparable scale. Zamba is trained on 1T tokens from openly available datasets and is the best non-transformer model at this scale. Zamba pioneers a unique architecture combining a Mamba backbone with a single shared attention module, thus obtaining the benefits of attention at minimal parameter cost.
How to run Zamba2-7B
Zamba2-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 7B parameters it needs roughly 4 GB of memory at 4-bit quantization.
Zamba2-7B vs alternatives
- Zamba2-7B vs Llama-3.1-8B-Instruct
- Zamba2-7B vs Llama 3-8B
- Zamba2-7B vs Gemma 7B
- Zamba2-7B vs phi-3-small 7.4B
- Zamba2-7B vs Gemma 2 9B
- Zamba2-7B vs Qwen/Qwen2.5-7B-Instruct
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Llama-3.1-8B-Instructopen | Meta | Jul 2024 | 8B | 128K | $0.02 | $0.04 | 110.9 |
| Llama 3-8Bopen | Meta | Apr 2024 | 8B | — | — | — | 109.1 |
| Gemma 7Bopen | Google DeepMind | Feb 2024 | 8.5B | — | — | — | 103.2 |
| phi-3-small 7.4Bopen | Microsoft | Apr 2024 | 7.4B | — | — | — | 116.3 |
| Gemma 2 9Bopen | Google DeepMind | Jun 2024 | 9.2B | — | — | — | 112.4 |
| Qwen/Qwen2.5-7B-Instructopen | Alibaba (Qwen) | Sep 2024 | 7.6B | 33K | $0.05 | $0.05 | — |
| Yi-9Bopen | 01.AI | Mar 2024 | 8.8B | — | — | — | 102.2 |
| DeepSeek LLM 7Bopen | DeepSeek | Jan 2024 | 7B | — | — | — | — |
Frequently asked questions
Who made Zamba2-7B?
Zamba2-7B was developed by Zyphra (United States of America). It was released on May 26, 2024.
Is Zamba2-7B open source?
Yes. Zamba2-7B's weights are publicly available, so you can download and run it yourself.
How many parameters does Zamba2-7B have?
Zamba2-7B has 7B parameters.
Sources: epoch · paper. Last updated 2026-11-22.