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
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
- Before you start: KoboldCpp Windows checklist
- Step 1: Download the right .exe
- Old file names in videos and guides
- Check the file’s fingerprint (30 seconds)
- Step 2: Put it in its own folder
- Step 3: First start, and the security prompts
- “Windows protected your PC” (SmartScreen)
- Microsoft Defender deletes or quarantines the file
- Smart App Control blocks it
- The first start is slow, and that’s normal
- Step 4: Choose a model and launch
- Step 5: The firewall prompt and the browser tab
- Check it worked
- Run it from Command Prompt or PowerShell
- Start it with one click next time
- Where KoboldCpp puts files
- Update KoboldCpp
- Uninstall KoboldCpp
- Windows 10, Windows 11, Windows 7 and ARM
- If it doesn’t start
Before you start: KoboldCpp Windows checklist
Before you start
Step 1: Download the right .exe
Answer the questions to get your file.
| koboldcpp.exe | 594 | CUDA 12.1 + Vulkan + CPU | NVIDIA graphics cards |
| koboldcpp-nocuda.exe | 85.7 | Vulkan + CPU | AMD, Intel or no GPU |
| koboldcpp-oldpc.exe | 458.2 | CUDA 11.4 + Vulkan + no-AVX2 CPU | CPUs without AVX2, or old NVIDIA cards |
Old file names in videos and guides
| You saw | Today’s name |
|---|---|
koboldcpp_cu12.exe | koboldcpp.exe |
koboldcpp_nocuda.exe | koboldcpp-nocuda.exe |
koboldcpp_oldcpu.exe | koboldcpp-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.
- Check the source and the hash first.
- In Windows Security, open Virus and threat protection, then Protection history, and restore the file if the hash matched.
- 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.
- Backend: CUDA for NVIDIA, Vulkan for AMD and Intel, CPU if you have no GPU (backends).
- GGUF Text Model: Browse for a file, or use HF Search (Hugging Face, models).
- 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
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:
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
- Use Save Config in the launcher to write a
.kcppsfile (.kcppsfiles), then make a desktop shortcut whose target is the exe, a space, and the path to the.kcpps. - Or, on the Extra tab, use the File Extensions Handler to register
.kcppsfiles so that double-clicking one starts KoboldCpp. - Or put the command in a
.batfile.
A .kcpps given as the only argument is treated as a config, not a model (upstream).
Where KoboldCpp puts files
| The program | The folder you put it in | Yes, to uninstall | upstream |
| Unpacked libraries | %TEMP%\_MEI… (a new one each start) | Yes, when KoboldCpp is closed | We saw the same pattern on Linux in /tmp (F18); Windows sizes and clean-up not measured |
| Models you chose | Wherever you saved them | Yes | user |
| Models downloaded from a link | The working directory, unless --downloaddir is set | Yes | upstream flag description |
| Saved settings | Wherever you saved the .kcpps | Yes | upstream |
| cloudflared (only if you used a remote tunnel) | Not measured | Yes | not 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
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 11 | Works | Our runners are Windows Server 2022 and 2025; we have not tested a desktop Windows 11 yet. |
| Windows 10 22H2 | Untested | Expected to work. |
| Windows 7 and 8 | Not confirmed | Users report PrefetchVirtualMemory not found in KERNEL32.dll (#68). See Windows 7. |
| Windows on ARM | Untested | No ARM build exists. |
See Windows 7.
If it doesn’t start
| What you see | Most likely cause | Page |
|---|---|---|
| The window flashes and closes | The error was printed in a window that closed | it won’t start |
Failed to execute script 'koboldcpp' | A wrapper: read the line above it | errors |
PyInstallerImportError or WinError 1114 | Antivirus or a stale _MEI folder | DLL errors |
| Out of memory | The model or context is too big | out of memory |
| The model won’t load | A bad path or file | model 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.