ALITEQ.

What it costs to run Qwen3 8B

Trying to decide what to buy? The best GPU for Qwen3 8B

8.2B params40k max contextapache-2.0

Memory needed, by quantisation

At 16k context. Weights + KV cache + ~0.8 GB overhead.

QuantWeightsKV cacheTotalQuality
F1615.3 GB2.3 GB18.3 GBFull precision. Reference quality, twice the size of Q8 for no practical gain in most chat use.
Q8_08.1 GB2.3 GB11.1 GBEffectively lossless. Use when VRAM is not the constraint.
Q6_K6.3 GB2.3 GB9.3 GBVery close to Q8 at meaningfully less memory. A safe high-quality pick.
Q5_K_M5.4 GB2.3 GB8.4 GBSmall, hard-to-notice quality loss. Good balance.
Q5_05.3 GB2.3 GB8.3 GBOlder-style 5-bit. Q5_K_M is usually the better pick at the same size.
Q4_K_M4.6 GB2.3 GB7.7 GBThe community default. Best quality-per-gigabyte for most people.
Q4_04.3 GB2.3 GB7.4 GBOlder-style 4-bit, measurably worse than Q4_K_M at a similar size. Avoid unless required.
IQ4_XS4.1 GB2.3 GB7.1 GBNewer 4-bit, smaller than Q4_K_M with comparable quality. Needs a recent llama.cpp.
Q3_K_M3.7 GB2.3 GB6.8 GBNoticeable degradation. Use to fit a larger model that would otherwise not run.
Q2_K3.2 GB2.3 GB6.2 GBHeavy degradation. Almost always better to run a smaller model at Q4_K_M instead.
IQ3_XS3.1 GB2.3 GB6.2 GBAggressive. Usually better than a smaller model at Q4, but test before trusting it.

Cards that can run it

Best quantisation each card fits at 16k context, with live rental price where we track one.

GPUVRAMBest fitUses~tok/sRent from
Apple M3 Ultra512 GBF1618 GB~38
Apple M2 Ultra192 GBF1618 GB~38
Apple M4 Max (16-core CPU / 40-core GPU)128 GBF1618 GB~25
AMD Ryzen AI Max+ 395 (Strix Halo, 128 GB)128 GBF1618 GB~12
NVIDIA DGX Spark (GB10 Grace Blackwell)128 GBF1618 GB~12
NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition96 GBF1618 GB~82$1.690/hr
NVIDIA RTX PRO 6000 Blackwell Workstation Edition96 GBF1618 GB~82
Apple M2 Max96 GBF1618 GB~18
Apple M4 Pro64 GBF1618 GB~12
NVIDIA RTX 6000 Ada Generation48 GBF1618 GB~44$0.356/hr
NVIDIA RTX A600048 GBF1618 GB~35$0.267/hr
AMD Radeon PRO W790048 GBF1618 GB~40
Apple M4 Max (14-core CPU / 32-core GPU)36 GBF1618 GB~19
NVIDIA RTX 5000 Ada Generation32 GBF1618 GB~26$0.469/hr
NVIDIA GeForce RTX 509032 GBF1618 GB~82$0.058/hr
NVIDIA RTX A500024 GBF1618 GB~35$0.160/hr
NVIDIA GeForce RTX 409024 GBF1618 GB~46$0.134/hr
NVIDIA GeForce RTX 3090 Ti24 GBF1618 GB~46$0.107/hr
AMD Radeon RX 7900 XTX24 GBF1618 GB~44
NVIDIA GeForce RTX 309024 GBF1618 GB~43
AMD Radeon RX 7900 XT20 GBF16tight18 GB~37
NVIDIA GeForce RTX 508016 GBQ8_011 GB~83$0.108/hr
NVIDIA RTX A400016 GBQ8_011 GB~39$0.072/hr
NVIDIA GeForce RTX 5060 Ti 16GB16 GBQ8_011 GB~39$0.038/hr
NVIDIA GeForce RTX 5070 Ti16 GBQ8_011 GB~77$0.077/hr
NVIDIA GeForce RTX 4080 SUPER16 GBQ8_011 GB~63$0.116/hr
NVIDIA GeForce RTX 408016 GBQ8_011 GB~62
NVIDIA GeForce RTX 4070 Ti SUPER16 GBQ8_011 GB~58$0.069/hr
NVIDIA GeForce RTX 4060 Ti 16GB16 GBQ8_011 GB~25$0.057/hr
NVIDIA GeForce RTX 4070 SUPER12 GBQ8_0tight11 GB~43$0.081/hr
NVIDIA GeForce RTX 407012 GBQ8_0tight11 GB~43$0.094/hr
NVIDIA GeForce RTX 4070 Ti12 GBQ8_0tight11 GB~43
NVIDIA GeForce RTX 507012 GBQ8_0tight11 GB~58
NVIDIA GeForce RTX 3080 Ti12 GBQ8_0tight11 GB~79$0.068/hr
NVIDIA GeForce RTX 3080 12GB12 GBQ8_0tight11 GB~79$0.029/hr
NVIDIA GeForce RTX 3060 12GB12 GBQ8_0tight11 GB~31$0.023/hr
NVIDIA GeForce RTX 3080 10GB10 GBQ6_Ktight9 GB~85

How these numbers are produced

  • Model shape comes from the model's own config.json — 36 layers, 32 attention heads, 8 KV heads.
  • Weight size is parameters × effective bits-per-weight. Those constants are checked against real published quantised file sizes — median error 0.7% across 40 measurements.
  • KV cache is 2 × layers × KV-heads × head-dim × context × 2 bytes. Using KV-heads rather than attention heads is what makes this correct for grouped-query attention; treating a GQA model as multi-head overstates the cache by up to 8×.
  • Tokens/sec is an estimate, not a benchmark. Generation is memory-bandwidth-bound, so this is bandwidth ÷ weight-bytes derated to 75%. Real throughput depends on your runtime, batch size and kernels. We don't run our own hardware tests — see our editorial policy.
  • Rental prices are pulled hourly from provider APIs (last updated Wed, 22 Jul 2026 22:20:08 GMT). Spot/interruptible pricing can change or vanish without notice.

Try it interactively

Drag the context slider and watch the KV cache fill the card

Worth reading before you buy

Other models