Qwen2-7B
Qwen2 is the new series of Qwen large language models. For Qwen2, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters, including a Mixture-of-Experts model. This repo contains the 7B Qwen2 base language model.
Params
7.6 B
Context
131,072
Downloads 30d
214 K
Likes
174
Download history
daily snapshots · 36 days
▲ 4 K in the last 30 days (1.7%)
251 K214 K
Aug 23Sep 2Sep 12Sep 21
251 K177 K
Aug 17Aug 29Sep 10Sep 21
Can you run it?
Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.
| File | Quant | Size | Est. VRAM | Verdict on RTX 4090 · 24 GB |
|---|---|---|---|---|
| model.safetensors | bf16 | 15.2 GB | 18.4 GB | ✅ Runs comfortably |
| model.safetensors (bf16, full) | bf16 + 128K ctx | 15.2 GB | 35.5 GB | ❌ Won’t fit |
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.
Run it
copy-paste, exact tags checked against the Hub$ curl -s https://aimodelscomparison.com/api/v1/models/qwen2-7b
{
"hf_id": "Qwen/Qwen2-7B",
"params_b": 7.62,
"context_length": 131072,
"license": { "id": "apache-2.0", "commercial": "yes" },
"downloads_30d": 214021,
"vram_estimates": [
{ "quant": "bf16", "gb": 18.4 }
],
"updated_at": "2026-08-17T01:00:36Z"
}
Specifications
- Architecture
- Qwen2ForCausalLM
- Parameters
- 7.6 B
- Tensor type
- BF16
- Context length
- 131,072
- Vocabulary
- 152,064
- Layers / heads
- 28 / 28
- Licence
- apache-2.0
- First seen on the Hub
- 2024-06-04
- Training datasets
- undisclosed
- Added to our catalog
- 2026-08-17
Compare with any text-generation model