Short answer: With llamafile, a free open-source tool from Mozilla.ai (Apache 2.0), you can carry an AI chatbot on a USB stick. Put the llamafile program and one small model file on the stick, double-click a start file, and chat in your browser. Nothing is installed and nothing leaves the computer.
What you need
- A USB stick of at least 8GB, formatted as exFAT (FAT32 can't hold files over 4GB).
- The llamafile program from its official GitHub page (Releases section).
- One small model in GGUF format from Hugging Face, around 2-4GB. A small Qwen3 model is a good start.
Step by step (Windows)
- Format the stick as exFAT.
- Download the latest llamafile from GitHub Releases, add
.exe to the end of the file name, and copy it to the stick.
- On Hugging Face, filter models by GGUF, pick a small model and download one
.gguf file (Q4_K_M is a good balance). Copy it to the stick.
- Open Notepad and write one line with your exact file names:
.\llamafile-0.10.x.exe --server --model your-model.gguf
- Save it on the stick as
start.bat (Save as type: All Files).
- Double-click
start.bat and open the local address shown in the window (usually http://127.0.0.1:8080) in your browser.
What to expect
- Private: everything runs on the computer you plug into. Good for sensitive notes, travel, or places with no internet.
- Slower and simpler than ChatGPT or Claude: a small model on a laptop CPU is fine for summaries, drafts and questions, not heavy work.
- Windows limit: Windows only runs program files under 4GB, which is why the model stays in a separate file.
More ready prompts are on Masterphub.