KoboldCpp requirements: what your computer needs

KoboldCpp runs on 64-bit Windows 10 and 11, Linux and Apple Silicon Macs, with or without a graphics card. The model decides how much memory you need: as a rule, the model file plus 0.5 to 2 GB more, and more for a long context. A CPU with AVX2 (most from 2013 onwards) gives full speed; older CPUs work with a slower build.

Checked against KoboldCpp 1.124.2 · updated 13 Nov 2026
  • lab-lnx: Linux test VM · 4 vCPU · 15 GB · no GPU
  • gha-w25: Windows Server 2025 test machine · 4 vCPU · 16 GB · no GPU
  • gha-w22: Windows Server 2022 test machine · 4 vCPU · 16 GB · no GPU
  • gha-u24: Ubuntu 24.04 test machine · 4 vCPU · 16 GB · no GPU
  • gha-mac15: macOS 15 test VM (Apple Silicon) · 3 vCPU · 7 GB · paravirtual Metal
How we test
On this page
  1. KoboldCpp requirements at a glance
  2. How much memory a model needs
  3. What can I run on my computer?
  4. CPU only: is it usable?
  5. Old computers
  6. Phones, Chromebooks and Raspberry Pi
  7. No suitable computer?

KoboldCpp requirements at a glance

What KoboldCpp needs
Windows64-bit Windows 10 or 11Tested on Windows Server 2022 and 2025. Windows 7 and 8 are not confirmed: users report PrefetchVirtualMemory not found. No 32-bit build, no ARM build.
Linux64-bit x86 with glibc 2.29 or newerFrom the symbols the build needs (F71); we tested Ubuntu 24.04 only. ARM Linux needs a build from source.
macOSApple Silicon (M1 or newer)There is no build for Intel Macs.
CPUAny 64-bit CPU; AVX2 for full speedAVX2 arrived about 2013. Without it use koboldcpp-oldpc, --noavx2 (about 33% slower) or --failsafe (about 8 times slower).
RAMThe model file plus 1 to 2 GB, and more for long contextNever a single number: it depends on the model. See below.
GPU (optional)NVIDIA (CUDA), any Vulkan GPU, or Apple MetalNVIDIA owners use the CUDA build (CUDA 12.1; an older 11.4 build exists). AMD and Intel use Vulkan.
DiskThe program, 65 to 620 MB, plus the model filesThe CUDA builds are about 600 MB; the Mac build is 65 MB and the nocuda builds 86 to 102 MB.

The file to download for your hardware is on the download page: for Windows, Linux or Mac.

How much memory a model needs

Three things sit in memory: the model’s weights, the KV cache (the memory of the conversation) and some working space. The weights are about the file size: on a tiny model, peak RAM was the file plus about 200 MB F14. The cache grows with the context you ask for: we measured 51 MiB at 4K and 1539 MiB at 128K on a 0.5B model F10, and peak RAM rose from 616 MB at 2K to 2,123 MB at 128K F11. A real 8B model at 8K needs about 5.2 GB in total on a GPU, from measured allocations:

GPU memory, Llama 3.1 8B Q4_K_M at 8K context (measured allocations, F36) 5.1 GB of 5.2 GB needed
05.2 GB needed
  • Model weights 3.9 GB
  • KV cache 1.0 GB
  • Compute buffer 124 MB
  • Free 201 MB

This is what each model needs to run completely, at 8K of context. The first column of each pair is the download size. These are calculated from the real file headers with the same code as the calculator.

File size and the memory needed to run the whole model at 8K of context, for Q4_K_M and Q8_0, calculated
ModelQ4_K_M fileNeeds (Q4_K_M)Q8_0 fileNeeds (Q8_0)
Qwen2.5 0.5B Instruct469 MB628 MB644 MB804 MB
Llama 3.2 3B Instruct1.88 GB3.25 GB3.19 GB4.65 GB
Qwen2.5 7B Instruct4.36 GB5.17 GB7.54 GB8.35 GB
Llama 3.1 8B Instruct4.58 GB5.99 GB7.95 GB9.36 GB
Qwen3 8B4.68 GB6.22 GB8.11 GB9.65 GB
Gemma 2 9B It5.37 GB8.57 GB9.15 GB12.6 GB
Mistral Nemo Instruct 12B6.96 GB8.67 GB12.1 GB13.8 GB
Qwen2.5 14B Instruct8.37 GB10.4 GB14.6 GB16.6 GB
Qwen3 30B-A3B (MoE)17.3 GB18.7 GB30.3 GB31.6 GB
Qwen2.5 32B Instruct18.5 GB21.2 GB32.4 GB35.1 GB
Llama 3.3 70B Instruct39.6 GB43.2 GB––

For the same model with a longer context, add the KV cache: see context size. A smaller quant saves memory: quantisation.

What can I run on my computer?

Choose your card (or “none”) and your memory. The list shows every model that fits completely, largest first.

1. Model

Layers, KV heads and tensor sizes were read from the real file headers on Hugging Face. File size shown is the download size.

2. Your hardware
Reserve and safety margin

Defaults: 512 MB for the desktop on Windows and Linux (0 if the card drives no display), and KoboldCpp's autofit padding of 1024 MB. What this assumes

3. Context and cache

Llama 3.1 8B Instruct Q4_K_M · 16K context · KV f16

Fits completely

All 32 layers fit on the GPU, with the context and buffers.

calculated from the model's tensor sizes; compute buffers are estimates calibrated on two measured models (F36, F42).

GPU memory 6.06 GB of 10.5 GB usable of 12 GB
010.5 GB usable of 12 GB
  • Model weights 3.90 GB
  • KV cache 2.03 GB
  • Compute buffer 132 MB
  • Free 4.44 GB
System RAM 959 MB of 29.0 GB usable of 32 GB
029.0 GB usable of 32 GB
  • Weights on CPU 693 MB
  • Host compute buffer 267 MB
  • Free 28.1 GB

Launch values

  • --gpulayers 33
  • --contextsize 16384

KoboldCpp counts one extra layer for the output layer, so --gpulayers 33 puts all 32 repeating layers on the GPU (F65). Leaving --gpulayers on auto (-1) lets autofit choose; it keeps a 1 GB padding and may offload fewer layers than this calculation. GPU layers guide

koboldcpp --model Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf --gpulayers 33 --contextsize 16384

Weights 4.58 GB · 32 layers · 8 KV heads × 128 · KV cache 2.03 GB

The tiers by memory, with the models in each, are on the models page.

CPU only: is it usable?

Yes, with small models. On four cloud vCPUs, a 0.5B model generated 43 to 61 tokens per second with four threads, and a 3B to 8B model is much slower F07 F13. We measured an 8B model on four CPU cores of our Linux test machine: 5.3 tokens per second, about reading speed F37. Treat that as the speed above 8B on a modest CPU. Real desktop numbers are not in yet. See speed for the thread count.

Old computers

KoboldCpp’s normal builds need a CPU with AVX2, which most processors from 2013 onwards have. To check on Linux, run grep -m1 -o avx2 /proc/cpuinfo: it prints avx2 when the CPU has it (this printed avx2 on our Linux test machine). On Windows, look up your CPU’s model name in its manufacturer’s specification page, which lists the instruction sets. If it has none, the options are koboldcpp-oldpc, --noavx2 and --failsafe, each with its speed cost, in Will not start F03 F15. For Windows 7 and 8 see Windows 7. There are no 32-bit builds.

Phones, Chromebooks and Raspberry Pi

Android phones can run it through Termux, which is outside the official downloads; iPhones cannot. A Raspberry Pi or another ARM Linux machine needs a build from source. These guides are still to come: Android and build from source.

No suitable computer?

Use a cloud service instead: Colab for a free GPU for a few hours, a rented cloud GPU, or Kobold Lite with the AI Horde, where other people’s computers answer.

Frequently asked questions

Does KoboldCpp need a GPU?

No. It runs on the CPU alone, using system RAM. A GPU makes it much faster when the model fits in its memory. In our test an 8B model on four CPU cores generated 5.3 tokens per second, which is about reading speed, and a 0.5B model on four cloud vCPUs generated 18 to 61.

Is 8 GB of VRAM enough?

For 7B to 9B models at Q4_K_M with a normal context, yes: an 8B model needs about 5.2 GB at 8K of context in our calculation. Larger models run with some layers on the CPU, which is slower. See the calculator on this page.

Will KoboldCpp run on Windows 7?

We cannot confirm it. Users report the error PrefetchVirtualMemory not found in KERNEL32.dll on Windows 7 and 8, and we have no Windows 7 machine to test. Windows 10 and 11 are the safe choice.

How much RAM do I need for a 7B or 8B model?

About the size of the file plus 1 to 2 GB: a Q4_K_M 8B file is 4.6 GB, so 8 GB of RAM is the least that works and 16 GB is comfortable. Memory also grows with the context size. The table on this page lists the figure for each size.

Does KoboldCpp run on 32-bit Windows?

No. There are no 32-bit builds. KoboldCpp needs a 64-bit system.