Model reference · open weights

Qwen2

LLMs Qwen Text gen 4 builds Open weights 796k dl/mo

Qwen2 is an open-weight language model from Qwen. Qwen2-1.5B-Instruct (BF16) weighs 3.1 GB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • Qwen2 is a base language model developed by Qwen, designed for text generation tasks.
  • It features 494M parameters and supports a context length of 131,072 tokens.
  • The model is trained on English and released under the Apache 2.0 license.

Summary of the Qwen/Qwen2-0.5B model card, 2026-10-01. The estimate below is for another build of the family.

What it is

Released byQwen
Released2024-05-31
Parameters494M
VRAM3.1 GB for the weights

What it runs on

Memory and cards for Qwen2-1.5B-Instruct (BF16)

3.1 GBweights, file size
29 MBcache per 1K tokens
684 MBruntime overhead, at least
32,768 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB338all 32K11.6 GB
RTX 4060 Ti 16 GB4912all 32K15.4 GB
RTX 3090 24 GB8320all 32K23.4 GB
RTX 4090 24 GB8320all 32K23.4 GB
RTX 5090 32 GB11629all 32K31.0 GB
L40S 48 GB17142all 32K44.0 GB
A100 80 GB31679all 32K78.2 GB
H100 80 GB29874all 32K78.1 GB
RTX PRO 6000 Blackwell 96 GB36591all 32K93.8 GB
DGX Spark (GB10) 128 GB unified423105all 32K107 GB
H200 141 GB553138all 32K138 GB
B200 180 GB714178all 32K176 GB
Memory needed at each load
Requests at once8K tokens each32K tokens each
14.0 GB4.7 GB
54.9 GB8.5 GB
85.7 GB11.3 GB
167.5 GB18.8 GB
3211.3 GB33.8 GB
6418.8 GB63.9 GB

One card, with vLLM's small-card settings.

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
Qwen2-0.5B ↗ 494MBF16 988 MBRTX 3060 12 GB
Qwen2-1.5B-Instruct (above) ↗ 1.5BBF16 3.1 GBRTX 3060 12 GB
Qwen2-7B-Instruct ↗ 7.6BBF16 15.2 GB2× RTX 3060 12 GB
Qwen2-72B-Instruct ↗ 72.7BBF16 145 GB4× L40S 48 GB

From the model card

What Qwen says about Qwen2

Read the model card

Introduction

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 0.5B Qwen2 base language model.

Compared with the state-of-the-art opensource language models, including the previous released Qwen1.5, Qwen2 has generally surpassed most opensource models and demonstrated competitiveness against proprietary models across a series of benchmarks targeting for language understanding, language generation, multilingual capability, coding, mathematics, reasoning, etc.

For more details, please refer to our blog, GitHub, and Documentation.

Model Details

Qwen2 is a language model series including decoder language models of different model sizes. For each size, we release the base language model and the aligned chat model. It is based on the Transformer architecture with SwiGLU activation, attention QKV bias, group query attention, etc. Additionally, we have an improved tokenizer adaptive to multiple natural languages and codes.

Requirements

The code of Qwen2 has been in the latest Hugging face transformers and we advise you to install transformers>=4.37.0, or you might encounter the following error:

KeyError: 'qwen2'

Usage

We do not advise you to use base language models for text generation. Instead, you can apply post-training, e.g., SFT, RLHF, continued pretraining, etc., on this model.

Performance

The evaluation of base models mainly focuses on the model performance of natural language understanding, general question answering, coding, mathematics, scientific knowledge, reasoning, multilingual capability, etc.

The datasets for evaluation include:

English Tasks: MMLU (5-shot), MMLU-Pro (5-shot), GPQA (5shot), Theorem QA (5-shot), BBH (3-shot), HellaSwag (10-shot), Winogrande (5-shot), TruthfulQA (0-shot), ARC-C (25-shot)

Coding Tasks: EvalPlus (0-shot) (HumanEval, MBPP, HumanEval+, MBPP+), MultiPL-E (0-shot) (Python, C++, JAVA, PHP, TypeScript, C#, Bash, JavaScript)

Math Tasks: GSM8K (4-shot), MATH (4-shot)

Chinese Tasks: C-Eval(5-shot), CMMLU (5-shot)

Multilingual Tasks: Multi-Exam (M3Exam 5-shot, IndoMMLU 3-shot, ruMMLU 5-shot, mMMLU 5-shot), Multi-Understanding (BELEBELE 5-shot, XCOPA 5-shot, XWinograd 5-shot, XStoryCloze 0-shot, PAWS-X 5-shot), Multi-Mathematics (MGSM 8-shot), Multi-Translation (Flores-101 5-shot)

Qwen2-0.5B & Qwen2-1.5B performances
DatasetsPhi-2Gemma-2BMiniCPMQwen1.5-1.8BQwen2-0.5BQwen2-1.5B
#Non-Emb Params2.5B2.0B2.4B1.3B0.35B1.3B
MMLU52.742.353.546.845.456.5
MMLU-Pro-15.9--14.721.8
Theorem QA----8.915.0
HumanEval47.622.050.020.122.031.1
MBPP55.029.247.318.022.037.4
GSM8K57.217.753.838.436.558.5
MATH3.511.810.210.110.721.7
BBH43.435.236.924.228.437.2
HellaSwag73.171.468.361.449.366.6
Winogrande74.466.8-60.356.866.2
ARC-C61.148.5-37.931.543.9
TruthfulQA44.533.1-39.439.745.9
C-Eval23.428.051.159.758.270.6
CMMLU24.2-51.157.855.170.3

Citation

If you find our work helpful, feel free to give us a cite.

@article{qwen2,
  title={Qwen2 Technical Report},
  year={2024}
}

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms