If you are pricing a graphics card just so you can run AI models on old hardware at home, hold off: the machine you already own is probably not the problem. The model you picked is too big for it, and that is the part you can change. Below are five tricks that make a real model fit (shrinking the weights, training them tiny, designing the model for small devices, matching the runtime to the board, and skipping the install entirely), plus the benchmark that started the argument: a Llama model generating text on a computer from 1997.
A 1997 Pentium II runs Llama
EXO Labs bought a Pentium II on eBay for £118.88, a 1997 machine running Windows 98, and got a Llama model generating text on it. The work was a port: they took Andrej Karpathy's roughly 700-line llama2.c and turned it into a Windows-98-compatible llama98.c, replacing the 64-bit integer types and swapping clock_gettime for the Windows 98-era GetTickCount call.
Then they published their own benchmark. A 260,000-parameter Llama 2 model generated 39.31 tokens per second on that machine, which has 128MB of RAM. That is fast, but look at the model size: 260,000 parameters is a toy next to the assistants you use daily. Scale up on the same hardware and the numbers collapse. A 15-million-parameter Llama 2 model dropped to 1.03 tokens per second, and a 1-billion-parameter Llama 3.2 model was benchmarked at 0.0093 tokens per second.
So the question is not how old your machine is. It is whether the model fits, and every trick that follows is a way to make it fit.
Trick 1: shrink the weights you already have
Start with the model you already want to run. A 7-billion-parameter model stored at full FP16 precision takes about 13GB of disk and memory, which is more than most consumer graphics cards carry. Quantization fixes that by storing each weight in fewer bits.
A published GGUF quantization guide puts numbers on the trade. In the Q4_K_M format, that same 7B model shrinks to about 3.8GB, roughly 71% smaller, while its perplexity, a measure of output quality, stays within about 0.05 of the unquantized original. If you only adopt one trick from this list, make it this one.
It does reach genuinely old machines. One hobbyist's write-up documents the 2-billion-parameter Gemma4 E2B model running through Ollama with Q4/Q5 quantization on an 8-year-old AMD RX590 GPU, and larger models running on a decade-old Xeon E5-2620 CPU with no GPU at all. Under Ollama sits llama.cpp, the C/C++ engine behind most local-AI tooling; it states that its goal is LLM inference with minimal setup and state-of-the-art performance across a wide range of hardware, and it has passed 135,000 stars on GitHub.
The catch: quantization only buys you a smaller file. The shrunken model still has to fit in the memory you have, unless it was built small in the first place.
Trick 2: train it tiny from day one
A model can also be born small. On April 14, 2025, Microsoft released BitNet b1.58 2B4T, a 2.4-billion-parameter model trained from scratch on 4 trillion tokens using ternary weights: every weight limited to -1, 0 or +1 instead of a 16-bit float. InfoQ reported that it performs comparably to leading open-weight, full-precision models of similar size across a wide range of tasks.
The headline claim is bigger than that. Microsoft's bitnet.cpp framework can run a 100-billion-parameter BitNet b1.58 model on a single CPU at 5 to 7 tokens per second, a pace the project itself compares to human reading speed. Note who is saying it: that is the project's own claim about its framework. Commenters in the Hacker News discussion pushed back on the framing, pointing out that Microsoft has not released a trained 100-billion-parameter BitNet model, only a framework proven capable of running one at that scale. Check which models actually exist before you plan around that figure.
The quieter win is the power bill, and the project reports it in its own numbers: on x86 CPUs, bitnet.cpp reaches speedups of 2.37x to 6.17x and cuts energy use by 71.9% to 82.2% versus unoptimized inference; on ARM CPUs, 1.37x to 5.07x with 55.4% to 70.0% less energy. A top comment in that same Hacker News thread argued the energy side matters more than the speed side, because good-enough 1-bit models could be deployed on commodity hardware without a GPU budget.
The catch: bitnet.cpp is built for models trained the BitNet way, not the ones already sitting on your drive.
Trick 3: a model built for small devices
The third option is a mainstream model designed small from the start. Google released Gemma 3n on June 26, 2025 in two sizes, E2B and E4B, using a MatFormer architecture and Per-Layer Embeddings that keep most weights out of accelerator memory. Google says E2B can run with as little as 2GB of memory and E4B with about 3GB.
Read the names carefully. E2B and E4B are effective parameter counts of 2B and 4B; the raw counts are 5B and 8B. The quality claim is Google's own as well: it says E4B's LMArena score above 1300 makes it the first model under 10 billion parameters to cross that mark. Google's developer guide is where to start.
A small model still needs a runtime that fits your board, which is the next trick.
Trick 4: a runtime tuned for the Raspberry Pi 5
Sometimes the runtime is tuned for one exact board. On August 11, 2026, Google and Raspberry Pi jointly announced that Google's LiteRT runtime is optimized for the Raspberry Pi 5, adding experimental GPU acceleration through the board's Broadcom VideoCore VII GPU.
Google's own figures: on an 8GB Pi 5, LiteRT-LM runs Gemma 4 E2B at 99 tokens per second prefill and 9 tokens per second decode, peaking at 1,432MB of memory, a fraction of the board's RAM. An independent October 2024 hands-on test found the Pi 5 could run 2-4B models such as Gemma 2 2B and Qwen 2.5 3B using 3 to 5.4GB of RAM, while 7B models like Llama 2 and CodeLlama failed to run at all because of RAM limits.
The catch, then, is size rather than software: on a Pi, pick the model first and let the hardware set the ceiling.
Trick 5: one file, or one browser tab
What if you cannot install anything? Mozilla's llamafile packages the model weights, the llama.cpp inference engine and a web server into a single executable using Cosmopolitan Libc, so the same file runs on Windows, macOS, Linux and BSD with no installation. At the AI Engineer World's Fair, Mozilla's Stephen Hood said a community contributor used llamafile to run the Mixtral 8x22B model on a $350 CPU, an anecdote from the project rather than a published benchmark. Its catch for planning purposes: the introduction post lists no hardware requirements, so you are sizing it by trial.
Want no file at all? WebLLM, the browser engine built on the MLC-LLM project, runs models entirely inside a browser tab over WebGPU with no server, and its 0.2.85 release ships 163 prebuilt model builds ranging from SmolLM2 360M to Llama 2 13B. The project measured 41.1 tokens per second decoding Llama 3.1 8B in a browser tab on a MacBook Pro M3 Max, about 71% of the speed of the native MLC-LLM command-line engine on the same machine. That was the project's own test on high-end Apple hardware, so treat it as a best case. Its catch is a hard requirement: a browser with WebGPU.
Use llamafile instead of an Ollama install when you cannot install software on the machine at all. Don't use WebLLM if your browser lacks WebGPU.
Which way to Run AI Models on Old Hardware fits yours
No, you do not need a new GPU to run a real model. You need the trick that fits the machine you own. All five approaches funnel through the same two building blocks anyway: llama.cpp or one of its forks (bitnet.cpp, Ollama, llamafile) as the inference engine, and GGUF as the shared format for distributing quantized weights.
On cost: every one of these runs the model on your own chip, so you pay in hardware and electricity rather than an API bill. The material behind this article does not list licenses for any of the projects, so check each one's own terms yourself.
- An old PC or laptop: a Q4_K_M GGUF model through llama.cpp or Ollama, sized to your RAM.
- A Raspberry Pi 5: LiteRT with Gemma 4 E2B.
- A small device with little memory: Gemma 3n.
- A machine you cannot install software on: llamafile, or WebLLM in a browser tab.
- BitNet: worth watching, but confirm which trained models actually exist first.
Your machine is not too old. Your model is too big.
Sources
- microsoft/BitNet: Official inference framework for 1-bit LLMs
- Introducing Gemma 3n: The developer guide
- Mastering Edge AI on Raspberry Pi with LiteRT and Gemma
- ggml-org/llama.cpp: LLM inference in C/C++
- mlc-ai/web-llm: High-performance in-browser LLM inference engine
- 9 Large Language Models You Can Run On Your Raspberry Pi
- LLMs on Old Hardware
- Llamafile: bringing LLMs to the people, and to your own computer
- Microsoft Releases BitNet b1.58, A 1-bit LLM Model
- BitNet: How Microsoft Made 100B Models Run on Your Laptop CPU
- Modern AI On Vintage Hardware: LLama 2 Runs On Windows 98
- Running Llama on Windows 98 - 12 days of EXO
- Forget megabucks Nvidia GPUs, apparently all you need to run an LLM is a Pentium II CPU from 1997
- BitNet: Inference framework for 1-bit LLMs (Hacker News discussion)
- GGUF quantization guide
- llamafile: Bringing AI to the Masses with Fast CPU Inference (AI Engineer World's Fair 2024)
- WebLLM: A High-Performance In-Browser LLM Inference Engine