homehome Home chatchat Notifications


This Engineer Put an AI Language Model on a USB Stick and It Actually Works

A Raspberry Pi-powered USB stick runs a lightweight AI model, making LLMs portable and plug-and-play.

Tibi Puiu
February 17, 2025 @ 9:45 pm

share Share

In a world where artificial intelligence often seems to demand the computing power of a small city, one engineer has managed to shrink it down to the size of a USB stick. Meet the pocket-sized language model, a feat of ingenuity that proves big ideas don’t always need big hardware.

Large language models (LLMs) like GPT and LLaMA have become the rock stars of the AI world, capable of generating human-like text, answering questions, and even writing code. But these models typically rely on billions of parameters and require massive data centers to function. Enter YouTuber Binh, a tinkerer who decided to challenge the status quo by cramming an LLM onto a USB stick.

This isn’t your average flash drive. Inside its custom 3D-printed case lies a Raspberry Pi Zero W, a tiny computer no bigger than a stick of gum. Running on this modest hardware is llama.cpp, a lightweight version of the LLaMA model from Meta. But getting the software to work on the Pi wasn’t easy. The latest version of llama.cpp is designed for ARMv8 processors, while the Raspberry Pi Zero W runs on the older ARMv6 architecture. So he had to painstakingly remove the ARMv8 optimizations.

His persistence paid off, and he successfully adapted the model to run on the older hardware. The result is a portable AI that fits in your pocket — no cloud computing required.

Plug-and-Play AI

The real magic of this project lies in its simplicity. Binh designed the USB stick to be a composite device, meaning it can interact with any computer without requiring special drivers. To use the LLM, all you need to do is plug in the USB stick, create an empty text file, and give it a name. The model automatically generates text and saves it to the file.

While it’s not as fast as its cloud-based counterparts, the USB-based LLM is a groundbreaking proof of concept, as first seen on Hackaday. “I believe this is the first plug-and-play USB-based LLM,” Binh said. And he’s probably right.

This project isn’t just a clever hack; it’s a glimpse into the future of AI accessibility. By making language models portable and easy to use, Binh has opened the door to new possibilities. Imagine students in remote areas using USB-based LLMs for homework help, or journalists in the field generating drafts without an internet connection.

It also raises questions about the environmental impact of AI. Large models require vast amounts of energy, contributing to carbon emissions. Smaller, more efficient models like this one could help reduce that footprint.

Of course, there are limitations. The Raspberry Pi Zero W has only 512MB of RAM, which restricts the size and complexity of the model it can run. But as hardware improves, so too will the capabilities of these pocket-sized AIs.

For now, Binh’s USB stick is a reminder that innovation doesn’t always mean building bigger and faster. Sometimes, it’s about thinking smaller. And in this case, small is mighty.

share Share

Scientists Say Junk Food Might Be as Addictive as Drugs

This is especially hurtful for kids.

A New AI Can Spot You by How Your Body Bends a Wi-Fi Signal

You don’t need a phone or camera to be tracked anymore: just wi-fi.

Golden Oyster Mushroom Are Invasive in the US. They're Now Wreaking Havoc in Forests

Golden oyster mushrooms, with their sunny yellow caps and nutty flavor, have become wildly popular for being healthy, delicious and easy to grow at home from mushroom kits. But this food craze has also unleashed an invasive species into the wild, and new research shows it’s pushing out native fungi. In a study we believe […]

The World’s Most "Useless" Inventions (That Are Actually Pretty Useful)

Every year, the Ig Nobel Prize is awarded to ten lucky winners. To qualify, you need to publish research in a peer-reviewed journal that is considered "improbable": studies that make people laugh and think at the same time.

This Ancient Greek City Was Swallowed by the Sea—and Yet Refused to Die

A 3,000-year record of resilience, adaptation, and seismic survival

Low testosterone isn't killing your libido. Sugar is

Small increases in blood sugar can affect sperm and sex, even without diabetes

NASA’s Parker Solar Probe Just Flew Closer to the Sun Than Ever Before and the Footage is Breathtaking

Closest-ever solar images offer new insights into Earth-threatening space weather.

The Oldest Dog Breed's DNA Reveals How Humans Conquered the Arctic — and You’ve Probably Never Heard of It

Qimmeq dogs have pulled Inuit sleds for 1,000 years — now, they need help to survive.

A Common DNA Sugar Just Matched Minoxidil in Hair Regrowth Tests on Mice

Is the future of hair regrowth hidden in 2-deoxy-D-ribose?

Your Personal Air Defense System Is Here and It’s Built to Vaporize Up to 30 Mosquitoes per Second with Lasers

LiDAR-guided Photon Matrix claims to fell 30 mosquitoes a second, but questions remain.