VRAMGlass contains affiliate links. As an eBay Partner, we may be compensated if you make a purchase. As an Amazon Associate I earn from qualifying purchases.We may earn from eBay and Amazon links.Learn more

GPUs tracked64Price history94 daysPrice points (24h)29,155 pointsBiggest 24h dropTesla V100 16GB-6.1%Biggest 24h riseInstinct MI100+12.8%Updated
$ USD

Run Qwen3 8B Locally: VRAM & GPU Requirements

Qwen3 8B is an 8B dense model released by Qwen in April 2025 that takes about 12.1 GB of VRAM at 4-bit with 40K context. That fits snugly on a 12GB GPU. You can toggle thinking turn by turn with /think and /no_think in your prompt. For a new setup, we recommend going straight to Qwen3.5 9B, which uses basically the same VRAM, grows context from 40K to 256K, and understands images and video too.

Qwen3 8B details

  • Min VRAM at 4-bit (8K context)8 GB
  • Parameters8.2B
  • Max context40K
Architecture
Dense
License
Apache-2.0
Launch date
Apr 27, 2025
Vendor
Alibaba
Hugging Face repo
Qwen/Qwen3-8B
NVFP4 repo (Blackwell)
nvidia/Qwen3-8B-NVFP4
MLX repo (Apple)
Qwen/Qwen3-8B-MLX-4bit
Ollama tag
qwen3:8b
Layers
36
Hidden size
4,096
KV heads
8
Head dim
128

How much VRAM does Qwen3 8B need?

QuantizationWeightsGB8K contextGB32K contextGB40K context (max)GB
1-bit2.4GGUF4.78.39.5
2-bit3.5GGUF5.89.410.6
3-bit4.3GGUF6.610.211.4
4-bit5GGUF7.310.912.1
5-bit5.9GGUF8.211.813
8-bit8.7GGUF1114.615.8
BF16/FP1616.4GGUF18.722.323.5

Full calculation rules are on the Methodology page.

Can a single GPU run Qwen3 8B?

Yes, a single 12GB GPU has enough VRAM to run Qwen3 8B at 4-bit, even sized for the full 40K context. In thinking mode it writes a long chain of reasoning before answering, and Qwen recommends leaving 32K of room for the reply, so sizing VRAM for 8K alone leaves you short. On a 16GB GPU, 8-bit still fits at full context and stays closer to the original, at about 35 tokens/s on an RTX 5060 Ti 16GB, while a 24GB RTX 3090 runs 8-bit twice as fast. For a new setup, Qwen3.5 9B needs about the same VRAM with far more context, so try it first.

eBay
DevicePriceSpeed t/sMax context
Tesla V100 16GB16 GB$41316 listings105.240K
GeForce RTX 5060 Ti 16GB16 GB$88045 listings56.640K
Tesla V100 32GB32 GB$1,37813 listings105.240K
Radeon RX 7900 XTX24 GB$1,40027 listings111.140K
GeForce RTX 309024 GB$1,992116 listings108.840K
GeForce RTX 409024 GB$3,82574 listings115.840K
Ryzen AI Max+ 395 128GBWhole system · 128 GB$4,02531 listings33.540K
RTX A600048 GB$4,89925 listings91.840K
Mac Studio M5 Ultra 96GBWhole system · 96 GB$6,7995 listings136.340K
MacBook Pro M5 Max 128GBWhole system · 128 GB$7,00029 listings75.340K
GeForce RTX 509032 GB$7,385128 listings182.840K
DGX Spark 128GBWhole system · 128 GB$7,90037 listings35.640K
RTX PRO 600096 GB$18,60020 listings182.840K

Only common GPUs and systems are listed, from cheapest to most expensive.

What to know before running Qwen3 8B locally

  1. Thinking switches

    Thinking is on by default, and there are two ways to turn it off. enable_thinking=False is a hard switch that suppresses thinking output entirely; alternatively, add /think or /no_think to your prompt to switch turn by turn. Qwen dropped official support for that second, soft switch starting with Qwen3.5.

  2. Official sampling parameters

    Thinking mode: temperature 0.6, top_p 0.95, top_k 20, min_p 0; Qwen stresses not to use greedy decoding (always picking the most likely token), or the model tends to repeat endlessly. Non-thinking mode: temperature 0.7, top_p 0.8, top_k 20, min_p 0.

  3. Going beyond 32K of context

    Its native context is only 32K, extendable to 131K with YaRN. But Qwen notes that YaRN in open-source frameworks uses a fixed scaling factor, which can hurt results on short text, so only enable it when you actually need to process long documents. In llama-server, just add the rope scaling flags; if you change the config file instead, you need to regenerate the GGUF.

  4. Which quantization to pick

    Qwen's official repository provides GGUFs directly, and the Ollama tag is qwen3:8b. 4-bit is about 5.0 GB and 8-bit about 8.7 GB, only 3.7 GB apart, so use 8-bit if you have the VRAM.

Launch commands

Ollama

  • Windows
  • macOS
  • Linux
Terminal
ollama run qwen3:8b

llama.cpp

  • NVIDIA
  • AMD
  • Mac
  • CPU
Terminal
llama-server -hf Qwen/Qwen3-8B-GGUF:Q4_K_M -c 8192

vLLM

  • Linux
  • NVIDIA
  • AMD
Original weights
Terminal
vllm serve Qwen/Qwen3-8B
NVFP4 · Blackwell

Blackwell GPUs (RTX 50 series, RTX PRO 6000, B200) run NVFP4 weights natively, at about 30% of the original size.

Terminal
vllm serve nvidia/Qwen3-8B-NVFP4

MLX

  • Apple Silicon

On a Mac, pip install mlx-lm first; this command downloads the MLX weights from Hugging Face and starts an OpenAI-compatible server.

Terminal
mlx_lm.server --model Qwen/Qwen3-8B-MLX-4bit

File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology

Other models in the Qwen family

ModelTotal paramsActive params4-bit size
Qwen3.5 9BDense9.7B9.7B5.7 GB
Qwen3.6 27BDense27.8B27.8B16.8 GB
Qwen3.8 27BDense27.8B27.8B16.6 GB
Qwen3 32BDense32.8B32.8B19.8 GB
Qwen3.6 35B A3BMoE36B3B22.1 GB
Qwen4 35B A3BMoE56.8B3B34.6 GB
Qwen3.8 Flash NextMoE176B6B111.3 GB
Qwen3.8 2.4T A95BMoE2,446B95B1,310.9 GB

About Qwen