The archive · AI & Models · Technical decision · 2026
TurboFieldfare 2026: a 26B Gemma in 2GB RAM on any M-series Mac
Andrey Mikhaylov's open-source Swift+Metal engine runs Gemma 4 26B in about 2GB RAM on any M-series Mac; its Show HN drew 919 points.
TurboFieldfare
What the business is
An open-source (Apache-2.0) Swift and Metal inference engine, CLI, and native Mac app that run Google's instruction-tuned Gemma 4 26B-A4B in about 2GB of RAM on any Apple Silicon Mac, including 8GB ones.
How it started
Andrey Mikhaylov, an iOS and Metal engineer who loves on-device AI, wanted to run a model whose 14.3GB of 4-bit weights do not fit in the memory of an 8GB Mac. He posted TurboFieldfare as a Show HN on 2026-07-29, claiming about 2GB RAM usage at 5-6 tokens/s on an 8GB M2 MacBook Air and 31-35 tokens/s on an M5 MacBook Pro.
What happened
The thread took off - 919 points and 345 comments - and the maintainer answered questions in real time, sharing measured cache-hit rates and taking community results from M1 MacBooks and MacBook Neo hardware. Coverage followed on Creative AI News and German site ifun.de; the repository records 103 audited experiments behind the design, plus an optional vision companion pack for M2+ Macs. By 2026-09-02 the repository showed about 410 forks.
How it ended up
As of 2026-09-02 TurboFieldfare remains an independent research project: Apache-2.0 code with no company, funding, or monetization, and future work pointed at iPhone/iPad ports and more low-memory Macs.
Background
TurboFieldfare is an open-source Swift and Metal inference engine for Google's Gemma 4 26B-A4B, a 26B-parameter mixture-of-experts model that activates only a few billion parameters per token. Instead of holding the full 14.3GB of 4-bit weights in memory, it keeps a 1.35GB shared core and the FP16 KV cache resident and streams just the routed experts each token needs from SSD, landing around 2GB of RAM usage.
Andrey Mikhaylov, an iOS and Metal engineer, built it as a bet that SSD bandwidth could substitute for RAM on modern Apple Silicon. He released it as a Show HN on 2026-07-29 with measured results - about 5-6 tokens/s on an 8GB M2 MacBook Air and 31-35 tokens/s on an M5 MacBook Pro - plus a streaming installer that repacks about 15GB of Hugging Face weights directly into a custom format without ever staging the full checkpoint on disk.
The post drew 919 points and 345 comments, commenters benchmarked it on M1 MacBooks and MacBook Neo hardware, and coverage followed on Creative AI News and ifun.de. Creative AI News counted 800+ HN points and 1,600+ GitHub stars within the first day; the repository showed about 410 forks by 2026-09-02.
The project is explicitly a specialist: its author positions it against Ollama, LM Studio, and llama.cpp as the runtime that pushes one model onto low-memory Macs rather than a general-purpose replacement. As of 2026-09-02 it remains free (Apache-2.0), independent, and unmonetized, with iPhone and iPad ports listed as next.
What has to be true
- Memory, not compute, was the wall that kept 26B-class models off consumer laptops.
- Gemma 4 26B-A4B is a mixture-of-experts model, so only a small slice of parameters fires per token and the full weight set need not be resident.
- Custom Metal kernels and a model-specific runtime beat wrapping general-purpose MLX or llama.cpp on this one workload.
- Fast Apple SSDs made disk bandwidth a practical substitute for RAM capacity.
- HN's developer audience could clone, build, and benchmark the code themselves, turning a launch claim into a community-verified result.
What can be applied
Writing a model-specific engine for one hard constraint can beat general-purpose runtimes, and shipping real measured code lets a single engineer borrow a whole community as a benchmark team.
Aftermath
As of 2026-09-02 TurboFieldfare is still in active open-source development: 103 audited experiments, a community benchmark guide, a loopback OpenAI-compatible server, and an optional vision pack, with about 410 forks reflecting an active community. The author describes it as an independent research project with no affiliation to Google, and lists iPhone and iPad ports as main future work. German site ifun.de framed it as proof that a model this size can run on 8GB Macs while noting the trade-offs: output on base hardware is deliberate and SSD speed matters.
Sources
- TurboFieldfare - Gemma 4 26B-A4B inference in about 2 GB of RAM
- Run Gemma 4 26B on a Mac in 2GB RAM: TurboFieldfare
- Show HN: Open-source engine running Gemma 4 26B in 2 GB RAM on any M-series Mac
- Lokale KI: Freie App bringt Googles Gemma 4 auch auf das MacBook Neo
spotted an error? The archive wants to know.
Your turn
You just read one. Describe what you are building, and see who is betting on the same thing.
Free account · 3 free questions · no card