Model reference · open weights

Qwen3

LLMs Qwen Text gen · MoE 35 builds Open weights 22.5M dl/mo

Qwen3 is an open-weight language model from Qwen. Qwen3-0.6B-unsloth-bnb-4bit (INT4) weighs 576 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.

  • Qwen3-0.6B is a causal language model developed by Qwen for text generation tasks.
  • It features 752M parameters and supports a context length of 40,960 tokens.
  • The model is licensed under apache-2.0 and supports English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai.

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

What it is

Released byQwen
Released2025-04-27
Parameters752M
VRAM576 MB for the weights

What it runs on

Memory and cards for Qwen3-0.6B-unsloth-bnb-4bit (INT4)

576 MBweights, file size
115 MBcache per 1K tokens
627 MBruntime overhead, at least
40,960 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB112all 40K11.6 GB
RTX 4060 Ti 16 GB153all 40K15.4 GB
RTX 3090 24 GB235all 40K23.4 GB
RTX 4090 24 GB235all 40K23.4 GB
RTX 5090 32 GB317all 40K31.0 GB
L40S 48 GB4511all 40K44.0 GB
A100 80 GB8120all 40K78.2 GB
H100 80 GB7719all 40K78.1 GB
RTX PRO 6000 Blackwell 96 GB9423all 40K93.8 GB
DGX Spark (GB10) 128 GB unified10827all 40K107 GB
H200 141 GB14135all 40K138 GB
B200 180 GB18145all 40K176 GB
Memory needed at each load
Requests at once8K tokens each32K tokens each
12.1 GB5.0 GB
55.9 GB20.0 GB
88.7 GB31.3 GB
1616.2 GB61.3 GB
3231.3 GB121 GB
6461.3 GB242 GB

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

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
Qwen3-0.6B ↗ 752MBF16 1.5 GBRTX 3060 12 GB
Qwen3-8B ↗ 8.2BBF16 16.4 GB2× RTX 3060 12 GB
Qwen3-4B ↗ 4.0BBF16 8.0 GBRTX 3060 12 GB
Qwen3-32B ↗ 32.8BBF16 65.5 GBH100 80 GB
Qwen3-1.7B ↗ 2.0BBF16 4.1 GBRTX 3060 12 GB
Qwen3-30B-A3B ↗ 30.5BBF16 61.1 GBH100 80 GB
Qwen3-14B-AWQ ↗ 14.8BAWQ 10.0 GBRTX 4060 Ti 16 GB
Qwen3-14B ↗ 14.8BBF16 29.5 GBL40S 48 GB
Qwen3-8B-AWQ ↗ 8.2BAWQ 6.1 GBRTX 3060 12 GB
Qwen3-1.7B-Base ↗ 1.7BBF16 3.4 GBRTX 3060 12 GB
Qwen3-0.6B-Base ↗ 596MBF16 1.2 GBRTX 3060 12 GB
Qwen3-8B-FP8 ↗ 8.2BFP8 9.4 GBRTX 3060 12 GB
Qwen3-32B-AWQ ↗ 32.8BAWQ 19.3 GB2× RTX 3060 12 GB
Qwen3-8B-GGUF ↗
5 builds: Q4_K_M 5.0 GB … Q8_0 8.7 GB
GGUF 5.0 GBRTX 3060 12 GB
Qwen3-30B-A3B-GPTQ-Int4 ↗ 30.5BGPTQ 16.9 GB2× RTX 3060 12 GB
Qwen3-235B-A22B ↗ 235.1BBF16 470 GB4× H200 141 GB
Qwen3-0.6B-FP8 ↗ 752MFP8 1.1 GBRTX 3060 12 GB
Qwen3-4B-AWQ ↗ 4.0BAWQ 2.7 GBRTX 3060 12 GB
Qwen3-32B-FP8 ↗ 32.8BFP8 34.3 GBL40S 48 GB
Qwen3-30B-A3B-FP8 ↗ 30.5BFP8 32.4 GBL40S 48 GB
Qwen3-4B-FP8 ↗ 4.4BFP8 5.2 GBRTX 3060 12 GB
Qwen3-14B-FP8 ↗ 14.8BFP8 16.3 GB2× RTX 3060 12 GB
Qwen3-14B-MLX-4bit ↗ 14.8BMLX 7.8 GBRTX 3060 12 GB
Qwen3-8B-FP8 ↗
packaged by nvidia
8.2BFP8 9.4 GBRTX 3060 12 GB
Qwen3-4B-GGUF ↗
packaged by unsloth
26 builds: IQ1_S 1.1 GB … BF16 8.1 GB
GGUF 2.5 GBRTX 3060 12 GB
Qwen3-14B-unsloth-bnb-4bit ↗
packaged by unsloth
15.2BINT4 11.1 GBRTX 4060 Ti 16 GB
Qwen3-14B-NVFP4 ↗
packaged by nvidia
8.2BNVFP4 10.5 GBRTX 4060 Ti 16 GB
Qwen3-8B-NVFP4 ↗
packaged by nvidia
4.7BNVFP4 6.4 GBRTX 3060 12 GB
Qwen3-4B-unsloth-bnb-4bit ↗
packaged by unsloth
4.1BINT4 3.6 GBRTX 3060 12 GB
Qwen3-32B-NVFP4 ↗
packaged by RedHatAI
19.1BNVFP4 20.7 GB2× RTX 4060 Ti 16 GB
Qwen3-0.6B-unsloth-bnb-4bit (above) ↗
packaged by unsloth
609MINT4 576 MBRTX 3060 12 GB
Qwen3-1.7B-unsloth-bnb-4bit ↗
packaged by unsloth
1.8BINT4 1.4 GBRTX 3060 12 GB
Qwen3-8B ↗
packaged by unsloth
8.2BBF16 16.4 GB2× RTX 3060 12 GB
Qwen3-30B-A3B-NVFP4 ↗
packaged by nvidia
15.6BNVFP4 18.1 GB2× RTX 3060 12 GB
build
packaged by RedHatAI
30B A3BNVFP4 ≈ 18.0 GBRTX 4090 24 GB

From the model card

What Qwen says about Qwen3

Read the model card

Qwen3 Highlights

Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Built upon extensive training, Qwen3 delivers groundbreaking advancements in reasoning, instruction-following, agent capabilities, and multilingual support, with the following key features:

  • Uniquely support of seamless switching between thinking mode (for complex logical reasoning, math, and coding) and non-thinking mode (for efficient, general-purpose dialogue) within single model, ensuring optimal performance across various scenarios.
  • Significantly enhancement in its reasoning capabilities, surpassing previous QwQ (in thinking mode) and Qwen2.5 instruct models (in non-thinking mode) on mathematics, code generation, and commonsense logical reasoning.
  • Superior human preference alignment, excelling in creative writing, role-playing, multi-turn dialogues, and instruction following, to deliver a more natural, engaging, and immersive conversational experience.
  • Expertise in agent capabilities, enabling precise integration with external tools in both thinking and unthinking modes and achieving leading performance among open-source models in complex agent-based tasks.
  • Support of 100+ languages and dialects with strong capabilities for multilingual instruction following and translation.

Model Overview

Qwen3-0.6B has the following features:

  • Type: Causal Language Models
  • Training Stage: Pretraining & Post-training
  • Number of Parameters: 0.6B
  • Number of Paramaters (Non-Embedding): 0.44B
  • Number of Layers: 28
  • Number of Attention Heads (GQA): 16 for Q and 8 for KV
  • Context Length: 32,768

For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our blog, GitHub, and Documentation.

[!TIP] If you encounter significant endless repetitions, please refer to the Best Practices section for optimal sampling parameters, and set the presence_penalty to 1.5.

Quickstart

The code of Qwen3 has been in the latest Hugging Face transformers and we advise you to use the latest version of transformers.

With transformers<4.51.0, you will encounter the following error:

KeyError: 'qwen3'

The following contains a code snippet illustrating how to use the model generate content based on given inputs.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen3-0.6B"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=True # Switches between thinking and non-thinking modes. Default is True.
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=32768
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()

# parsing thinking content
try:
    # rindex finding 151668 ()
    index = len(output_ids) - output_ids[::-1].index(151668)
except ValueError:
    index = 0

thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("\n")
content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")

print("thinking content:", thinking_content)
print("content:", content)

For deployment, you can use sglang>=0.4.6.post1 or vllm>=0.8.5 or to create an OpenAI-compatible API endpoint:

  • SGLang:
    python -m sglang.launch_server --model-path Qwen/Qwen3-0.6B --reasoning-parser qwen3
    
  • vLLM:
    vllm serve Qwen/Qwen3-0.6B --enable-reasoning --reasoning-parser deepseek_r1
    

For local use, applications such as Ollama, LMStudio, MLX-LM, llama.cpp, and KTransformers have also supported Qwen3.

Switching Between Thinking and Non-Thinking Mode

[!TIP] The enable_thinking switch is also available in APIs created by SGLang and vLLM. Please refer to our documentation for SGLang and vLLM users.

enable_thinking=True

By default, Qwen3 has thinking capabilities enabled, similar to QwQ-32B. This means the model will use its reasoning abilities to enhance the quality of generated responses. For example, when explicitly setting enable_thinking=True or leaving it as the default value in tokenizer.apply_chat_template, the model will engage its thinking mode.

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=True  # True is the default value for enable_thinking
)

In this mode, the model will generate think content wrapped in a ... block, followed by the final response.

[!NOTE] For thinking mode, use Temperature=0.6, TopP=0.95, TopK=20, and MinP=0 (the default setting in generation_config.json). DO NOT use greedy decoding, as it can lead to performance degradation and endless repetitions. For more detailed guidance, please refer to the Best Practices section.

enable_thinking=False

We provide a hard switch to strictly disable the model's thinking behavior, aligning its functionality with the previous Qwen2.5-Instruct models. This mode is particularly useful in scenarios where disabling thinking is esse

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