Run Qwen3 8B on a VPS.

prices as of · Contabo as of · 248 of 524 plans fit, disk included · re-ranked daily

Hybrid thinking/non-thinking 8B with excellent multilingual and tool-use behaviour. On a CPU-only VPS it needs about 7.6 GB of RAM: 5 GB of Q4_K_M weights, 1.1 GB of KV cache for an 8,192-token context and 1.5 GB for the OS and runtime. 248 of the 524 plans in our index fit and include a disk; the cheapest comfortable pick is HOSTKEY's vm.medium · 6 vCPU · 12 GB at $11.70/mo, streaming an estimated 2.9–5.8 tok/s.

The cheapest VPS that runs Qwen3 8B is HOSTKEY vm.medium at $11.70/mo, 12 GB of RAM against the 7.6 GB the model needs, checked 16 Sept 2026.

Best VPS plans for Qwen3 8B

ranked by estimated tokens/s per dollar, comfortable fits first

  1. 1
    netcupRS 2000 G12 · 8 dedicated cores · 16 GB

    8 vCPU dedicated · 16 GB RAM · 512 GB NVMe

    runs comfortably~5.8–12 tok/s$20.78/moView at netcup
  2. 2
    ContaboCloud VPS 6 · 6 vCPU · 12 GB

    6 vCPU shared · 12 GB RAM · 200 GB SSD

    runs comfortably~2.9–5.8 tok/s$8.65/mochecked 10 days agoView at Contabo
  3. 3
    HOSTKEYvm.medium · 6 vCPU · 12 GB

    6 vCPU shared · 12 GB RAM · 160 GB SSD

    runs comfortably~2.9–5.8 tok/s$11.70/moView at HOSTKEY
  4. 4
    ContaboCloud VPS 8 · 8 vCPU · 24 GB

    8 vCPU shared · 24 GB RAM · 300 GB SSD

    runs comfortably~3.9–7.7 tok/s$16.15/mochecked 10 days agoView at Contabo
  5. 5
    HOSTKEYvm.v2-medium · 8 vCPU · 16 GB

    8 vCPU shared · 16 GB RAM · 160 GB NVMe

    runs comfortably~3.9–7.7 tok/s$16.15/moView at HOSTKEY
  6. 6
    HetznerCX43 · 8 vCPU · 16 GB

    8 vCPU shared · 16 GB RAM · 160 GB NVMe

    runs comfortably~3.9–7.7 tok/s$18.45/monot available nowView at Hetzner

Speed = effective memory bandwidth ÷ active weight bytes (4 GB/s per shared vCPU, 6 per dedicated), shown as a band. Real numbers depend on the host CPU generation, AVX-512/AMX support and how noisy the neighbors are, so treat these as order-of-magnitude estimates.

RAM needed · CPU inference

7.6 GB

weights · Q4_K_M
5 GB
KV cache · 8K context
1.1 GB
OS + runtime headroom
1.5 GB

Other quants: Q8_0 weights 8.7 GB (near-lossless, about half of F16); F16 16.4 GB. Comfortable = 20% headroom over the total.

Model card

Size
8.19B parameters
Context
40K tokens
Kind
chat
Released
2025-04
License
Apache-2.0

Facts fetched from Hugging Face on 7 Sept 2026: exact GGUF file sizes, KV geometry from the GGUF header · 12,996,307 downloads.

ollama run qwen3:8bmodel card ↗Alibaba

Or rent it as an API · 16 providers sell Qwen3 8B

every price for Qwen3 8B

Alibaba Cloud list price

$1.24/M tokens

Cheapest price we can explain

$0.24/M tokens

SiliconFlow (China), read 16 Sept 2026

What the VPS price buys

49M tokens/mo

at $11.70/mo

Token prices are per million, three parts input to one part output, and exclude tax. A rented box costs the same whether or not you use it and runs whatever else you put on it; an API charges for what you send and nothing when you stop.

Or buy hardware · 14 reference machines fit

all machines →
  • Raspberry Pi 5 (16 GB)16 GB · 17 GB/s · ~0.9–1.4 tok/s$305*= 26 mo of VPS
  • GeForce RTX 5060 Ti 16 GB (card only)16 GB · 448 GB/s · ~47–73 tok/s$800*= 68 mo of VPS
  • Mac mini (M6, 16 GB)16 GB · 153 GB/s · ~16–25 tok/s$899= 77 mo of VPS
  • GeForce RTX 5070 Ti 16 GB (card only)16 GB · 896 GB/s · ~95–145 tok/s$1,200*= 103 mo of VPS
  • Mac mini (M6, 32 GB)32 GB · 153 GB/s · ~16–25 tok/s$1,299= 111 mo of VPS
  • GeForce RTX 5080 16 GB (card only)16 GB · 960 GB/s · ~100+ tok/s$1,600*= 10+ yrs of VPS

Buy · per month

$8.78

$8.47 hardware + $0.31 power

Rent · per month

$11.70

HOSTKEY vm.medium · 6 vCPU · 12 GB

Break-even

The Raspberry Pi 5 (16 GB) pays for itself after 27 months of replacing the VPS, and it streams an estimated 0.9–1.4 tok/s against the VPS's CPU-only pace.

* approximate: August 2026 US retail median rather than list price. Local speed = peak bandwidth × 0.7 efficiency (0.35 on CPU-only boards) ÷ active weight bytes; unified-memory machines are assumed to give models 75% of their RAM. GPU cards need a host PC that is not included in the price.

Frequently asked

How much RAM does Qwen3 8B need?
About 7.6 GB for CPU inference at Q4_K_M: 5 GB of weights, 1.1 GB of KV cache at 8,192 tokens of context, and 1.5 GB of headroom. Longer contexts need more KV cache (144 KB per token for this model).
What is the cheapest VPS that can run Qwen3 8B?
HOSTKEY vm.medium · 6 vCPU · 12 GB (12 GB RAM, 6 vCPU) at $11.70/mo excl. VAT runs it comfortably as of 16 Sept 2026. HOSTKEY vm.v2-mini · 4 vCPU · 8 GB at $7.58/mo is a tight fit.
How fast will Qwen3 8B run on a VPS without a GPU?
Roughly 5.8–12 tok/s on the top pick. Token generation is limited by memory bandwidth, because each new token reads all of the weights once. More vCPUs help, dedicated ones most, but a GPU or an Apple silicon machine is 10 to 50 times faster.
Same lineupQwen3 0.6BQwen3 1.7BQwen3 4BQwen3 14BQwen3 32BQwen3 30B-A3B (MoE)Qwen2.5-Coder 7BQwen2.5-Coder 32BSame size classLlama 3.1 8BMinistral 8BDeepSeek-R1-0528 Qwen3 8BVPS for AI agents (API-hosted models) →