VPS Arena

Run Phi-4 14B on a VPS.

September 2026 · 138 of 280 plans fit · re-ranked daily

Synthetic-data-trained 14B with standout STEM reasoning; short 16K context. On a CPU-only VPS it needs about 12.2 GB of RAM: 9.1 GB of Q4_K_M weights, 1.6 GB of KV cache for an 8,192-token context and 1.5 GB for the OS and runtime. 138 of the 280 plans in our index fit; the cheapest comfortable pick is Contabo's Cloud VPS 8 · 8 vCPU · 24 GB at $16.27/mo, streaming an estimated 2.2–4.3 tok/s.

RAM needed · CPU inference

12.2 GB

weights · Q4_K_M
9.1 GB
KV cache · 8K context
1.6 GB
OS + runtime headroom
1.5 GB

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

Model card

Size
15B parameters
Context
16K tokens
Kind
reasoning
Released
2024-12
License
MIT

Facts fetched from Hugging Face on 3 Sept 2026: exact GGUF file sizes, KV geometry from the GGUF header · 617,541 downloads.

ollama run phi4:14bmodel card ↗Microsoft

Best VPS plans for Phi-4 14B

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~3.2–6.5 tok/s$20.93/mo
  2. 2
    ContaboCloud VPS 8 · 8 vCPU · 24 GB

    8 vCPU shared · 24 GB RAM · 300 GB SSD

    runs comfortably~2.2–4.3 tok/s$16.27/mo
  3. 3
    HetznerCX43 · 8 vCPU · 16 GB

    8 vCPU shared · 16 GB RAM · 160 GB NVME

    runs comfortably~2.2–4.3 tok/s$18.58/mo
  4. 4
    netcupVPS 2000 G12 · 8 vCore · 16 GB

    8 vCPU shared · 16 GB RAM · 512 GB NVME

    runs comfortably~2.2–4.3 tok/s$18.80/mo
  5. 5
    netcupRS 4000 G12 · 12 dedicated cores · 32 GB

    12 vCPU dedicated · 32 GB RAM · 1024 GB NVME

    runs comfortably~4.1–8.1 tok/s$38.99/mo
  6. 6
    ContaboCloud VPS 12 · 12 vCPU · 48 GB

    12 vCPU shared · 48 GB RAM · 400 GB SSD

    runs comfortably~2.7–5.4 tok/s$29.05/mo

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 neighbours are — treat these as order-of-magnitude.

Or buy hardware · 14 reference machines fit

all machines →
  • Raspberry Pi 5 (16 GB)16 GB · 17 GB/s · ~0.5–0.8 tok/s$305= 19 mo of VPS
  • GeForce RTX 5060 Ti 16 GB (card only)16 GB · 448 GB/s · ~27–41 tok/s$805*= 50 mo of VPS
  • Mac mini (M6, 16 GB)16 GB · 153 GB/s · ~9–14 tok/s · tight$899= 55 mo of VPS
  • GeForce RTX 5070 Ti 16 GB (card only)16 GB · 896 GB/s · ~53–81 tok/s$1,100*= 68 mo of VPS
  • Mac mini (M6, 32 GB)32 GB · 153 GB/s · ~9–14 tok/s$1,299= 80 mo of VPS
  • GeForce RTX 5080 16 GB (card only)16 GB · 960 GB/s · ~57–87 tok/s$1,500*= 92 mo of VPS

Buy · per month

$8.78

$8.47 hardware + $0.31 power

Rent · per month

$16.27

Contabo Cloud VPS 8 · 8 vCPU · 24 GB

Break-even

The Raspberry Pi 5 (16 GB) pays for itself after 19 months of replacing the VPS — and it streams an estimated 0.5–0.8 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 Phi-4 14B need?
About 12.2 GB for CPU inference at Q4_K_M: 9.1 GB of weights, 1.6 GB of KV cache at 8,192 tokens of context, and 1.5 GB of headroom. Longer contexts need more KV cache (200 KB per token for this model).
What is the cheapest VPS that can run Phi-4 14B?
Contabo Cloud VPS 8 · 8 vCPU · 24 GB (24 GB RAM, 8 vCPU) at $16.27/mo excl. VAT runs it comfortably as of 5 Sept 2026.
How fast will Phi-4 14B run on a VPS without a GPU?
Roughly 3.2–6.5 tok/s on the top pick. Token generation is bound by memory bandwidth — each token streams the full weights once — so more and dedicated vCPUs help; a GPU or Apple-silicon machine is 10–50× faster.
Same lineupPhi-4-mini 3.8BSame size classQwen3 14BGemma 3 12BMistral Nemo 12BDeepSeek-R1 Distill Qwen 14BVPS for AI agents (API-hosted models) →