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-0.5B (BF16) weighs 988 MB; 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

What it is

Released byQwen
Released2024-05-31
Parameters494M
VRAM988 MB for the weights

What it runs on

Memory and cards for Qwen2-0.5B (BF16)

988 MBweights, file size
12 MBcache per 1K tokens
640 MBruntime overhead, at least
131,072 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB9924all 128K11.6 GB
RTX 4060 Ti 16 GB13634all 128K15.4 GB
RTX 3090 24 GB21654all 128K23.4 GB
RTX 4090 24 GB21553all 128K23.4 GB
RTX 5090 32 GB29172all 128K31.0 GB
L40S 48 GB420105all 128K44.0 GB
A100 80 GB760190all 128K78.2 GB
H100 80 GB720180all 128K78.1 GB
RTX PRO 6000 Blackwell 96 GB876219all 128K93.8 GB
DGX Spark (GB10) 128 GB unified1000+252all 128K107 GB
H200 141 GB1000+328all 128K138 GB
B200 180 GB1000+423all 128K176 GB
Memory needed at each load
Requests at once8K tokens each32K tokens each
11.7 GB2.0 GB
52.1 GB3.6 GB
82.4 GB4.8 GB
163.2 GB8.1 GB
324.8 GB14.5 GB
648.1 GB27.4 GB

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

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
Qwen2-0.5B (above) ↗ 494MBF16 988 MBRTX 3060 12 GB
Qwen2-1.5B-Instruct ↗ 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