How to run an AI from a USB stick

You can carry a working AI around on a flash drive. Plug it into a laptop, double-click, and start chatting, with no internet and no account. We sell drives that do exactly this. We're also going to show you how to build one yourself, because our whole recipe is public and you don't need us to do it.

Fair warning: we make facts., so we're biased. We tried to write this so it's useful even if you never buy anything.

The short version

You need four things:

  1. A USB stick, 32GB is comfortable, formatted as exFAT
  2. The llama.cpp engine for each operating system you want it to run on (free, prebuilt)
  3. A model file in GGUF format (free, on Hugging Face)
  4. A launcher script that picks the right engine and settings for whatever computer it's plugged into

Budget about an hour if you're comfortable in a terminal. If "terminal" made you wince, skip to When to just buy one.

How it actually works

The stick is just storage. When you launch, the engine reads the model off the stick into your computer's memory, and your computer's own processor (or graphics card) does the thinking. That means:

This is the same thing people mean by "running a local LLM." The only twist is that everything lives on the stick and nothing gets installed on the computer.

Step 1: Pick the stick

Step 2: Pick a model

Models for llama.cpp come as GGUF files: one file that holds the model and everything the engine needs to know about it, built for fast loading (ggml docs). You'll find thousands on Hugging Face.

Size. Models are described by how many parameters they have (4B = 4 billion). Bigger is smarter but slower and hungrier. For the laptops most people own (8 to 16GB of RAM), a model around 4B is the sweet spot. It's quick, it fits, and it's genuinely useful for writing, explaining, brainstorming and code help.

Quantization. The letters at the end of the file name (Q4_K_M, Q8_0) tell you how much the model was compressed. Q4_K_M stores about 4.9 bits per weight and Q8_0 about 8.5 (llama.cpp).

Q4_K_M Q8_0
Qwen3-4B file size (Hugging Face) 2.5GB 4.3GB
Quality a little rougher close to the original
Good for 8GB computers 16GB and up

Our own launchers carry both and pick based on how much RAM the computer has.

What "abliterated" means. You'll see this word a lot. In 2024, researchers found that a model's habit of refusing requests mostly comes down to a single direction inside it, and that erasing it stops the refusals (Arditi et al.). "Abliteration" is the popular name for editing a model's weights to remove that direction, no retraining needed (Maxime Labonne). The trade-off: it can cost some quality (Labonne measured a drop across benchmarks; the paper found most scores held up, with a consistent drop on a truthfulness test), and it will answer things a regular chatbot won't, so think about who's using it. We ship abliterated models because we'd rather you decide what's off limits than a company. Your call for your own build.

Check the license on the model's page before you share or sell anything you build. Qwen's small models are Apache 2.0 (Qwen3.5-4B), which is about as permissive as it gets. Not every model is.

Step 3: Get the engine

llama.cpp is the free, MIT-licensed engine that a lot of local AI runs on. Ollama and LM Studio both use it under the hood. It publishes ready-to-run builds, so you don't have to compile anything.

One thing that confuses people: on the releases page, the release marked "Latest" doesn't have the programs in it. The downloads are on the numbered builds (named like b8783), which GitHub labels "Pre-release." Grab one for each system you care about:

System Release file to download
Mac (Apple Silicon) llama-bXXXX-bin-macos-arm64.tar.gz
Windows llama-bXXXX-bin-win-vulkan-x64.zip (works with NVIDIA, AMD and Intel graphics)
Linux llama-bXXXX-bin-ubuntu-x64.tar.gz (or the ubuntu-vulkan build for graphics cards)

Our drives use build b8783. Newer builds should work too, but if a flag below errors out, that one is known good. Extract each into its own folder on the stick and keep every file together. The program needs the library files sitting next to it.

Why not Ollama or LM Studio? Both are great on your own computer, and both run on llama.cpp (Ollama, LM Studio). They're apps you install, though. On a stick you want something that runs in place without installing anything on whatever computer you plug into. llama.cpp's llama-cli is just a program you run from the stick, which makes it the best fit. Ollama can keep its models in another folder (Ollama FAQ), but Ollama itself still has to be installed on each computer.

What about llamafile? llamafile packs the engine and the model into one file that runs everywhere, which sounds perfect for a stick. The catch: Windows won't run a program over 4GB, so bigger models have to sit next to it as a separate file (llamafile's README says so itself). Some people have also had Windows Defender flag llamafiles as malware (GitHub issue). It's a good option if your model is small.

Step 4: Put it together

A simple layout:

USB STICK/
  model-Q4_K_M.gguf
  model-Q8_0.gguf
  mac/       (the macOS download)
  windows/   (the Windows download)
  linux/     (the Linux download)

Then start a chat from a terminal in the stick's folder:

Mac:      ./mac/llama-cli -m model-Q4_K_M.gguf -c 8192 -cnv
Windows:  windows\llama-cli.exe -m model-Q4_K_M.gguf -c 8192 -cnv
Linux:    ./linux/llama-cli -m model-Q4_K_M.gguf -c 8192 -cnv

-cnv starts a back-and-forth chat. Two settings worth knowing:

Or skip writing launchers. Ours are free on GitHub at github.com/WEAREOSE/facts. They check the computer's RAM and graphics card, pick the right model file and settings, clear old chat history, and open the chat. The README lists the exact model and engine files to download. It's the same software that's on the drives we sell.

The stuff that trips people up

We've built and shipped a lot of these drives. Here's what actually goes wrong.

  1. Your Mac refuses to open it. Macs check programs downloaded from the internet and may block ones they don't recognize. Go to System Settings > Privacy & Security, scroll down and click Open Anyway (Apple). Tip: the flag comes from your browser, and extracting the download with tar in Terminal doesn't carry it over to the files inside (Apple developer forums).
  2. Windows warns you about it. Windows may show a "Windows protected your PC" warning for a program it doesn't recognize. Click More info, then Run anyway, but only for files you got from the official llama.cpp releases page.
  3. It crashes on a laptop with a small graphics card. Graphics cards with 4GB or less can run out of memory. If it crashes or garbles text, use -ngl 0 to run on the processor, or put fewer layers on the card.
  4. The model "thinks out loud" forever, or seems dumb. Newer models need the right chat template. Use a current llama.cpp build (it reads the template from the GGUF file), and if a model shows its reasoning when you don't want it, --reasoning-budget 0 turns that off.
  5. Copying silently goes wrong. Cheap sticks, hot USB hubs and yanked cables can leave a file that's the right size but has damaged bytes in it. It'll crash in weird ways later. After copying, check the file's SHA-256 against the one shown on its Hugging Face page (shasum -a 256 file.gguf on Mac and Linux, certutil -hashfile file.gguf SHA256 on Windows). We learned this one the hard way.
  6. It's slow on battery. Running a model works the processor hard, and laptops hold back on battery. Plug in for long sessions.

When to just buy one

HackerNoon ran a piece called "Don't Buy an Uncensored AI on a Flash Drive". Its point is that these drives are free software plus a markup for convenience. That's basically true, which is why we publish ours. If you made it through this guide and it sounded fun, build it. It's free, you'll learn a lot, and you'll end up with the same thing.

Buying makes sense when:

facts. is $29.99. facts. v1.5 is $49.99 with the newer Qwen 3.5 model and Intel Mac support. Either way you're paying for the hardware, the testing and the convenience. The software is the same free code linked above.

Quick answers

Is it really offline? Yes. Once the files are on the stick nothing connects to the internet. Turn off Wi-Fi and try it.

Will it run on a phone, iPad or Chromebook? Not with this setup. It needs a Mac, Windows or Linux computer.

Is a small model as good as ChatGPT? No, and anyone who says otherwise is selling something. A 4B model is great for everyday writing, explaining and brainstorming, and it can still be confidently wrong, especially on niche facts. What you get in return is privacy and an AI that works anywhere.

Will my chats stay on the stick? That depends on your launcher. Plain llama-cli doesn't save chats unless you tell it to. Ours also wipe any leftover session files when they start and when they close.

Sources

  1. llama.cpp repository and releases: github.com/ggml-org/llama.cpp, releases
  2. llama.cpp quantize README (bits per weight; models load fully into memory): link
  3. llama.cpp server README (context defaults to the model's maximum; fit to memory): link
  4. GGUF format spec: github.com/ggml-org/ggml/blob/master/docs/gguf.md
  5. Qwen3-4B GGUF file sizes: huggingface.co/Qwen/Qwen3-4B-GGUF
  6. Qwen3.5-4B model card (Apache 2.0): huggingface.co/Qwen/Qwen3.5-4B; Q8_0 GGUF size: huggingface.co/unsloth/Qwen3.5-4B-GGUF
  7. Ollama on context length and memory: docs.ollama.com/context-length; OLLAMA_MODELS: docs.ollama.com/faq; llama.cpp backend: github.com/ollama/ollama
  8. LM Studio runs on llama.cpp: lmstudio.ai/docs/app
  9. Microsoft, file system limits (FAT32 4 GiB max file): link
  10. Apple, Disk Utility file system formats: link
  11. Linux 5.7 native exFAT driver: kernelnewbies.org/Linux_5.7
  12. llamafile (4GB Windows limit): github.com/mozilla-ai/llamafile; Defender report: issue #28
  13. Apple, Safely open apps on your Mac: support.apple.com/en-us/102445; quarantine and tar: Apple developer forums
  14. Arditi et al., "Refusal in Language Models Is Mediated by a Single Direction" (2024): arxiv.org/abs/2406.11717
  15. Maxime Labonne, "Uncensor any LLM with abliteration" (2024): huggingface.co/blog/mlabonne/abliteration
  16. USB 2.0 real-world throughput (up to 35MB/s): Tom's Hardware
  17. HackerNoon, "Don't Buy an Uncensored AI on a Flash Drive" (2026): link
  18. Our launchers and build list: github.com/WEAREOSE/facts