Install and run KoboldCpp on Windows

A KoboldCpp Windows install is just a single portable .exe with no installer: download koboldcpp.exe from the GitHub releases page if you have an NVIDIA graphics card, or koboldcpp-nocuda.exe for AMD, Intel or no GPU, and put it in its own folder. Double-click it, choose a GGUF model in the launcher, and press Launch; the chat opens in your browser at http://localhost:5001. To update, replace the file; to uninstall, delete it.

Checked against KoboldCpp 1.124.2 · updated 13 Nov 2026
  • 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
How we test

At a glance

Time needed
Not timed on a real PC yet
Difficulty
Beginner
You need
Windows 10 or 11, 64-bit
Admin rights
Not tested
On this page
  1. Before you start: KoboldCpp Windows checklist
  2. Step 1: Download the right .exe
  3. Old file names in videos and guides
  4. Check the file’s fingerprint (30 seconds)
  5. Step 2: Put it in its own folder
  6. Step 3: First start, and the security prompts
  7. “Windows protected your PC” (SmartScreen)
  8. Microsoft Defender deletes or quarantines the file
  9. Smart App Control blocks it
  10. The first start is slow, and that’s normal
  11. Step 4: Choose a model and launch
  12. Step 5: The firewall prompt and the browser tab
  13. Check it worked
  14. Run it from Command Prompt or PowerShell
  15. Start it with one click next time
  16. Where KoboldCpp puts files
  17. Update KoboldCpp
  18. Uninstall KoboldCpp
  19. Windows 10, Windows 11, Windows 7 and ARM
  20. If it doesn’t start

Before you start: KoboldCpp Windows checklist

Before you start 0 of 4 done

Step 1: Download the right .exe

1. Your computer

Answer the questions to get your file.

The three Windows files
koboldcpp.exe594CUDA 12.1 + Vulkan + CPUNVIDIA graphics cards
koboldcpp-nocuda.exe85.7Vulkan + CPUAMD, Intel or no GPU
koboldcpp-oldpc.exe458.2CUDA 11.4 + Vulkan + no-AVX2 CPUCPUs without AVX2, or old NVIDIA cards

Old file names in videos and guides

You sawToday’s name
koboldcpp_cu12.exekoboldcpp.exe
koboldcpp_nocuda.exekoboldcpp-nocuda.exe
koboldcpp_oldcpu.exekoboldcpp-oldpc.exe
koboldcpp.exe before version 1.94 (CUDA 11)koboldcpp-oldpc.exe

See renamed files.

Check the file’s fingerprint (30 seconds)

In PowerShell, in the folder that holds the file, run Get-FileHash .\koboldcpp.exe -Algorithm SHA256 and compare the result with the hash the picker shows. A mismatch means delete the file and download it again. More in Is KoboldCpp safe?.

Step 2: Put it in its own folder

Create a folder you own, for example C:\KoboldCpp\, and a models folder inside it. KoboldCpp is portable: nothing is registered with Windows unless you register the file association later. Keeping the exe, your .kcpps settings and your models together makes updates simple. We have not yet tested what happens in Program Files or in a OneDrive-synced folder, so use a plain folder you own.

Step 3: First start, and the security prompts

Double-click the file. Windows may show a prompt. The fix is first in each case below.

“Windows protected your PC” (SmartScreen)

Choose More info, then Run anyway, only if the file came from the GitHub release and its hash matches. SmartScreen warns about new or rarely downloaded files and asks once per file. We have not photographed this dialog on a clean Windows 11 yet, so we cannot say whether a publisher name appears.

Microsoft Defender deletes or quarantines the file

Users report detections such as Trojan:Win32/Sabsik.FL.A!ml (#795) and Trojan:Win32/Wacatac.B!ml (#779), and Defender deleting the exe (#1649). In our scan on Windows Server 2025 (13 Nov 2026), Defender found no threats in koboldcpp.exe or koboldcpp-nocuda.exe F38. Our lab machines had real-time protection off, so this says nothing about your machine.

  1. Check the source and the hash first.
  2. In Windows Security, open Virus and threat protection, then Protection history, and restore the file if the hash matched.
  3. Add an exclusion for that one folder only.

Smart App Control blocks it

Users report OSError: [WinError 4551] on koboldcpp_cublas.dll (#1946, #2590). We could not reproduce it on our machines. Options and trade-offs: it won’t start, and the message: WinError 4551.

The first start is slow, and that’s normal

The exe unpacks its libraries to a temporary folder before the launcher appears. On our test machines the small file was ready in 3.5 to 6.6 s with a tiny model and the 600 MB CUDA file in 9 to 12 s F04. Real-PC times are not measured yet. Antivirus scanning can make it much slower (users report).

Step 4: Choose a model and launch

The launcher opens on the Quick Launch tab F30.

The KoboldCpp launcher on first open: Quick Launch tab with Backend, the default checkboxes and the 16384 context slider.lab-w25-launcher-quick-01 · lab-w25 · KoboldCpp 1.124.2 · 13 Nov 2026
KoboldCpp launcher Quick Launch tab with Use CPU backend, ContextShift and FlashAttention ticked, context 16384
  1. Backend: CUDA for NVIDIA, Vulkan for AMD and Intel, CPU if you have no GPU (backends).
  2. GGUF Text Model: Browse for a file, or use HF Search (Hugging Face, models).
  3. Launch.

The defaults that matter: context 16384, GPU layers set automatically and flash attention on F05. The full walkthrough with model choice is in getting started.

Step 5: The firewall prompt and the browser tab

Windows may ask to allow KoboldCpp through the firewall. We have not yet recorded this prompt. The --host default is empty, which, per upstream’s flag description, listens on all network interfaces. Choose what you want: allow on a private network only if you want your phone on your Wi-Fi to reach it (remote access); otherwise cancel (we have not yet recorded what cancel does to local use).

Launch Browser is on by default F30, so your browser opens Kobold Lite. If it does not, open http://localhost:5001. A first-time “Welcome” picker must be closed before a typed prompt is sent F31.

Check it worked

Check it worked 0 of 3 done

Do not trust the “offloaded N/N layers” line alone F17: see not using the GPU. If something looks wrong, paste the last lines into the log analyzer.

Run it from Command Prompt or PowerShell

If the window closes before you can read it, start KoboldCpp from a terminal so the text stays: how. In the folder’s address bar type cmd, then run:

Command Prompt
koboldcpp.exe --help
koboldcpp.exe --model "C:\KoboldCpp\models\my model.gguf"

Quote paths that contain spaces. In PowerShell, start a file in the current folder with .\koboldcpp.exe. We have not tested non-ASCII paths. Flags are in flags, and the config builder writes the command for you.

Start it with one click next time

  1. Use Save Config in the launcher to write a .kcpps file (.kcpps files), then make a desktop shortcut whose target is the exe, a space, and the path to the .kcpps.
  2. Or, on the Extra tab, use the File Extensions Handler to register .kcpps files so that double-clicking one starts KoboldCpp.
  3. Or put the command in a .bat file.

A .kcpps given as the only argument is treated as a config, not a model (upstream).

Where KoboldCpp puts files

Where files go
The programThe folder you put it inYes, to uninstallupstream
Unpacked libraries%TEMP%\_MEI… (a new one each start)Yes, when KoboldCpp is closedWe saw the same pattern on Linux in /tmp (F18); Windows sizes and clean-up not measured
Models you choseWherever you saved themYesuser
Models downloaded from a linkThe working directory, unless --downloaddir is setYesupstream flag description
Saved settingsWherever you saved the .kcppsYesupstream
cloudflared (only if you used a remote tunnel)Not measuredYesnot tested

Lite saves stories in the browser, not on disk. We have not measured whether the unpack folder is removed after a normal close, Ctrl+C, closing the window or killing the process.

Update KoboldCpp

Download the new exe and keep the old one, renamed with its version, until the new one works. The launcher’s Update button only opens the releases page. Releases come often; see the update steps and releases. We have not tested loading an old .kcpps in a new version; upstream says old keys such as usecublas are translated when a config is loaded.

Uninstall KoboldCpp

Uninstall checklist 0 of 4 done

Nothing appears in Programs and Features. We have not yet recorded which registry entries the association creates.

Windows 10, Windows 11, Windows 7 and ARM

Windows versions
Windows 11WorksOur runners are Windows Server 2022 and 2025; we have not tested a desktop Windows 11 yet.
Windows 10 22H2UntestedExpected to work.
Windows 7 and 8Not confirmedUsers report PrefetchVirtualMemory not found in KERNEL32.dll (#68). See Windows 7.
Windows on ARMUntestedNo ARM build exists.

See Windows 7.

If it doesn’t start

What you seeMost likely causePage
The window flashes and closesThe error was printed in a window that closedit won’t start
Failed to execute script 'koboldcpp'A wrapper: read the line above iterrors
PyInstallerImportError or WinError 1114Antivirus or a stale _MEI folderDLL errors
Out of memoryThe model or context is too bigout of memory
The model won’t loadA bad path or filemodel won’t load

Or paste your log into the log analyzer.

Frequently asked questions

Is there a KoboldCpp installer for Windows?

No. KoboldCpp is a single portable .exe: you download it, put it in a folder and run it. There is no installer, no Microsoft Store app and no setup.exe. A file called that is not from the project.

Which KoboldCpp exe should I download?

koboldcpp.exe for an NVIDIA graphics card, koboldcpp-nocuda.exe for AMD, Intel or no GPU, and koboldcpp-oldpc.exe only for a CPU without AVX2 or a very old NVIDIA card. The download picker chooses for you.

Why does Windows say KoboldCpp is a virus?

The program is a large, unsigned, self-extracting file, and security tools sometimes flag that pattern. In our scan, Microsoft Defender found nothing in the official 1.124.2 Windows files. Check the SHA-256 hash against the release before you allow it.

Where does KoboldCpp install, and where are my models?

It does not install. It runs from the folder you put it in, and unpacks its libraries into a temporary _MEI folder each time it starts. Models are wherever you saved them; a model downloaded from a link goes to the working directory unless you set a download folder.

How do I update KoboldCpp without losing my settings?

Download the new file and use it in place of the old one. Your settings are in .kcpps files that you saved yourself, so they stay where you put them. We have not yet tested loading an old config in a newer version.

Does KoboldCpp work on Windows 7?

We cannot confirm it. We have no Windows 7 machine. Users report a PrefetchVirtualMemory error on old systems, and upstream's FAQ lists it as not working.