Run a 4B LLM model locally on your PC, this has been tested on Windows 10 A developer has published a step-by-step guide for running a 4B-parameter LLM locally on a Windows 10 PC using Mozilla's llamafile tool and a Qwen3 model from Hugging Face. The guide details downloading llamafile v0.10.5 and the qwen3-4b-thinking-2507.Q4_K_M.gguf file, then launching a local server on 127.0.0.1:8080. | Run a 4B LLM model locally on your PC, this has been tested on Windows 10 | | | Step 1: | | | Lookup "llamafile github" or go to https://github.com/mozilla-ai/llamafile | | | Download the latest release. As of this writing, the latest version is llamafile v0.10.5 | | | The file would be llamafile-0.10.5 | | | Rename the file to llamafile-0.10.5.exe | | | Step 2: | | | Go to https://huggingface.co/models | | | Search for qween3 | | | Click on pramodlohra/Qween3 4B thinking finetune | | | Go to Files and versions | | | Download qwen3-4b-thinking-2507.Q4 K M.gguf | | | Step 3: | | | Create a folder called qwen | | | Copy llamafile-0.10.5.exe and qwen3-4b-thinking-2507.Q4 K M.gguf into this folder | | | Step 4: | | | In this folder, create a file called run qwen.cmd | | | Write the following lines in it | | | @echo off | | | cd /d "%~dp0" | | | llamafile-0.10.5.exe --server --model "qwen3-4b-thinking-2507.Q4 K M.gguf" | | | pause | | | Save the run qwen.cmd file | | | Now you are ready to click on the run qwen.command file and run the model locally | | | If everything is done correctly, something like this is what would show up in the command window | | | 0.00.000.673 I cmn common param: common params print info: verbosity = 3 adjust with the -lv N CLI arg | | | 0.00.000.921 W srv llama server: ----------------- | | | 0.00.000.926 W srv llama server: CORS is set to allow all origins ' ' and no API key is set | | | 0.00.000.926 W srv llama server: this can be a security risk cross-origin attacks | | | 0.00.000.927 W srv llama server: more info: https://github.com/ggml-org/llama.cpp/pull/25655 | | | 0.00.000.927 W srv llama server: ----------------- | | | 0.00.001.045 W srv llama server: sandbox: disabled in GPU mode | | | 0.00.002.429 I srv load model: loading model './qwen3-4b-thinking-2507.Q4 K M.gguf' | | | 0.00.429.537 W load: control-looking token: 128247 '