Skip to content
llmmodels
Chat LLMOpen weights

Qwen2-7B

by Alibaba (Qwen) · Jun 7, 2024

Qwen2-7B is an open-weight chat llm from Alibaba (Qwen), released Jun 7, 2024. It has 7.6B parameters.

Released
Jun 7, 2024
Type
Chat LLM
Parameters
7.6B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
apache-2.0
Knowledge cutoff
—
Status
Open weights
Training compute
2.9e+23 FLOP
Training data
7000B tokens/words
HF downloads (30d)
293.6K

About Qwen2-7B

This report introduces the Qwen2 series, the latest addition to our large language models and large multimodal models. We release a comprehensive suite of foundational and instruction-tuned language models, encompassing a parameter range from 0.5 to 72 billion, featuring dense models and a Mixture-of-Experts model.

How to run Qwen2-7B

Qwen2-7B is an open-weight model published on Hugging Face as Qwen/Qwen2-7B-Instruct. 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 7.6B parameters it needs roughly 5 GB of memory at 4-bit quantization.

Qwen2-7B vs alternatives

Alternatives to Qwen2-7B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Llama-3.1-8B-InstructopenMetaJul 20248B128K$0.02$0.04110.9
Llama 3-8BopenMetaApr 20248B———109.1
Gemma 7BopenGoogle DeepMindFeb 20248.5B———103.2
Gemma 2 9BopenGoogle DeepMindJun 20249.2B———112.4
Yi-9Bopen01.AIMar 20248.8B———102.2
Mistral NemoopenMistral AIJul 202412B128K$0.029$0.03113.9
Mistral Large (latest)openMistral AINov 2024—125K$0.5$1.50—
DeepSeek-VL-7BopenDeepSeekMar 20247.3B————

More models from Alibaba (Qwen)

All Alibaba (Qwen) models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Qwen3.8 27BopenAug 202628B1M$0.035$1.50
Qwen3.6 35B-A3BopenApr 202636B (3B act.)256K$0.375$2.25
Qwen3.5 397B-A17BopenFeb 2026403B (17B act.)256K$0.6$3.60
Qwen3.6 27BopenApr 202628B256K$0.6$3.60
Qwen3.5 35B-A3BopenFeb 202636B (3B act.)256K$0.25$2
Qwen3.5 9BopenFeb 20269.7B256K$0.17$0.25
Qwen3 32BopenApr 202533B128K$0.7$2.80
Qwen3.8 MaxAug 20262.4T1M$2$6

Frequently asked questions

Who made Qwen2-7B?

Qwen2-7B was developed by Alibaba (Qwen) (China). It was released on Jun 7, 2024.

Is Qwen2-7B open source?

Yes. Qwen2-7B's weights are publicly available under the apache-2.0 license on Hugging Face (Qwen/Qwen2-7B-Instruct), so you can download and run it yourself.

How many parameters does Qwen2-7B have?

Qwen2-7B has 7.6B parameters.

Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.