עברית 📰 Blog
← Back to Blog
Guides

How to Run a Private AI From a USB Stick (No Internet, No Install)

Stav Adam
Founder, Masterphub
October 19, 2026

Share this article

How to Run a Private AI From a USB Stick (No Internet, No Install)
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)

  1. Format the stick as exFAT.
  2. Download the latest llamafile from GitHub Releases, add .exe to the end of the file name, and copy it to the stick.
  3. 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.
  4. Open Notepad and write one line with your exact file names:
    .\llamafile-0.10.x.exe --server --model your-model.gguf
  5. Save it on the stick as start.bat (Save as type: All Files).
  6. 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.

Share this article