Technology

Garlic LLM: A 9-Billion-Parameter AI Model Running Offline on a PS4

By Asad Ali ·

22 min read

Garlic LLM cover graphic — a 9-billion-parameter AI model running offline on a jailbroken PlayStation 4

Yes — a PlayStation 4 from 2013 can now run a 9-billion-parameter AI model entirely on its own hardware, with no PC and no internet connection. The homebrew app is called Garlic LLM, it runs Alibaba's Qwen3.5-9B on the console's GPU, and the developer reports 31 to 39 tokens per second in chat and up to 43 tokens per second when the model writes code. There is one big condition: your PS4 has to be jailbroken first.

Key takeaway: Garlic LLM is a free, open-source PS4 homebrew app by developer Leonardo Alegría. It squeezes Qwen3.5-9B into the console's 8 GB of shared memory with custom 3-bit and 4-bit quantization, talks to the GPU directly with hand-written kernels, and does text chat, voice conversation, dictation and even Python code that it writes and runs on the console. It needs a PS4 running GoldHEN — a stock console cannot run it.
Read this first — three corrections to the viral version of this story:

1. It does not run on a normal PS4. Garlic LLM needs a jailbroken console running GoldHEN, the homebrew enabler. If your PS4 has never been jailbroken, this app is not a download-and-go install.

2. The speeds are the developer's own measurements. No independent benchmark exists yet. The 31–39 tokens per second in chat and 43 tokens per second on code come from the developer's testing on a base/Slim PS4, not from a third-party review.

3. The model still gets facts wrong. The developer says it himself: Qwen3.5-9B is "one of the best small open models today" but "it misfires on facts now and then." A 9-billion-parameter model is small by 2026 standards, and this one is further compressed to fit the console.

What Garlic LLM actually is

Garlic LLM is a homebrew application for the PlayStation 4. It runs Qwen3.5-9B — a 9-billion-parameter open-weight language model from Alibaba's Qwen team — on the console's own GPU, completely offline. Once it is installed, nothing is sent anywhere: the model, the voices and the speech recognition all run on the console itself.

The project was created by Leonardo Alegría and published on GitHub on 11 November 2026. By 16 November it had 112 stars and 10 forks — small numbers, but the project is five days old and it has already been covered by TweakTown and picked up across social media. The code is licensed under the GNU General Public License v3.0, and the download is free.

The name comes from the hardware. The PS4 calls the memory its GPU reads directly "Garlic" memory. Garlic LLM stores the model's weights in that GPU-visible memory, and that is where the project gets its name. The README even notes that the sibling memory type is called "Onion" — a detail that tells you something about the people who built the console's internals.

This is not a cloud app in disguise and it is not a streaming trick. There is no PC in the loop and no server doing the thinking. The PS4's AMD Jaguar CPU and Radeon-based GPU do the work, with the model living in the console's 8 GB of unified GDDR5 memory. That is the whole point of the project, and also the whole engineering problem it had to solve.

What it can do

Garlic LLM is more than a text box. It is a full chat app with voice, dictation, a reasoning mode and a Python runner, all on the console. The features, as listed in the project's README, are:

FeatureWhat it does
Text chatQwen3.5-9B at 31–39 tokens per second, up to 43 tokens per second on code. 16,000-token context window.
Voice conversationSpeak and it answers aloud in Spanish, English, Portuguese, Russian, Italian, French or German.
DictationHold a button and talk instead of typing, in 25 European languages.
Python modeAsk for a program. The model writes MicroPython and the console runs it.
Think modeThe model reasons before it answers. Off by default; one thought takes about half a minute.
OpenAI-compatible APIServes the model on your local network. New — in the source code, coming in the next package; version 1.19 does not have it yet.

The interface follows the console's language: English, Spanish, Portuguese or Russian. Controls are mapped to the DualShock 4 — cross to type, hold square to dictate, circle to stop an answer, triangle for a new chat, L1 for voice mode, R1 to run the Python program in the last answer, and L2/R2 to turn the temperature down or up.

The demo that has been going around shows the Python mode in action. The model writes a turtle-graphics program, the console runs it, and a colourful spiral appears on screen — then the model answers a spoken question about it. The demo runs at temperature 0 so it can be reproduced exactly; the chat's default temperature is 0.7.

How fast is it, really?

The headline number is 43 tokens per second, but that is the best case — code generation on a base or Slim PS4. Regular conversation runs at 31 to 39 tokens per second, according to the developer's measurements. At 35 tokens per second, the middle of that range, a 300-token answer takes under nine seconds. That is usable. It is not a flagship phone or a desktop GPU, but it is fast enough that a chat feels like a chat instead of a loading screen.

Voice mode is slower. When the text-to-speech model is running alongside the chat model on the same GPU, generation drops to about 22 tokens per second, because the voice model takes the memory that speculative decoding uses. It is still fast enough for spoken replies, but it is a real trade-off: talk to it, and it thinks more slowly.

Users have reported that a PS4 Pro on firmware 12.02 runs version 1.19 at 25 to 45 tokens per second. The developer has not tested a Pro himself and says so plainly in the README. The project's official website also lists user-reported Pro results reaching up to 56 tokens per second in an experimental native mode — again, a user report, not a developer measurement. Treat all of these as early reports from a five-day-old project, not as settled benchmarks.

For comparison, running a 9-billion-parameter model at 30-plus tokens per second on a 13-year-old console is genuinely unusual. Most local-AI setups that reach those speeds use hardware from the last few years. The PS4 does it with a GPU that was mid-range when the console launched in 2013 — which is why the engineering behind it is the interesting part of the story.

How 9 billion parameters fit in 8 GB

A 9-billion-parameter model stored at full FP16 precision needs around 18 GB just for its weights, according to TweakTown's estimate. The PS4 has 8 GB of shared memory in total, and the operating system and the app itself need some of that too. So the model has to be shrunk, and Garlic LLM shrinks it hard.

The project stores the model in two custom formats made for its own kernels. Q4 holds 4-bit weights and is used for most matrices and the output head. Q3 holds 3-bit weights — about 3.5 bits each once their scales are counted — and is used for the two largest matrices of each layer, the MLP's gate and up projections. Together they bring the weights down to about 4.5 GB. The README notes that storing everything in Q4 would take about 384 MiB more, which the console does not have free. That is how tight the fit is: the difference between working and not working is a few hundred megabytes.

The model files themselves show the breakdown. The main weights file is 4.32 GiB, the multi-token prediction head is 0.20 GiB, the speech-to-text model is 0.33 GiB, and the two text-to-speech stages are 0.29 GiB and 0.09 GiB. The all-in-one download package, models included, is about 5.7 GB.

The attention cache is quantized to 4 bits as well, and that is how a 16,000-token context fits. A 16K context means the model can hold roughly 12,000 words of conversation in memory at once — enough for a long chat, a big chunk of code, or a document you paste in pieces. Without the compressed cache, the context window would have to be much smaller.

Compression is not free. A model squeezed to 3 and 4 bits per weight loses some of what the full-precision model knows, and there is no published comparison of how much the answers change. TweakTown makes the same point: no output-quality comparison has been reported, so the effect of the quantization on the model's answers is not established. Combined with the developer's own warning that the model misfires on facts, the honest summary is that this is a small, heavily compressed model — clever, usable, and not to be trusted blindly.

How it talks to the PS4's GPU

The PS4 gives homebrew no compute API and no machine-learning library. There is no CUDA, no ROCm, no Vulkan compute path for homebrew to use. So Garlic LLM talks to the GPU directly, and this is where the project stops being a packaging job and becomes real systems engineering.

How Garlic LLM runs on a PS4 GPUYour prompttokenizer (CPU)Q4 / Q3 weights~4.5 GB in Garlic memoryGCN kernelsOpenCL C via LLVMPM4 buffershand-written GPU orders↓↓↓↓Speculative decoding (MTP head)drafts up to 2 tokens ahead, full model verifies4-bit attention cache16K-token context fits in memory↓Answer: 31–39 tokens/sec in chatup to 43 tokens/sec on code · ~22 in voice modeSpeeds are the developer's own measurements on a base/Slim PS4. No independent benchmark exists yet.

First, the model's operations — matrix products over 4-bit weights, attention, normalisation — are written as OpenCL C kernels compiled by LLVM for the console's GCN architecture. Those kernels live in the project's shaders/ folder. Second, the app dispatches those kernels by writing PM4 packets itself — the low-level commands a graphics driver would normally generate. There is no driver doing this work; the app speaks the GPU's own language directly.

Third, it uses speculative decoding. Qwen3.5's own multi-token prediction head drafts up to two tokens ahead, and the full model verifies them in one pass. The developer says this is what lifted speeds from about 22 tokens per second to the 31–39 range on this old hardware. Fourth, the attention cache is quantized to 4 bits, which is what makes the 16K context possible at all.

The rest is plain C: the tokenizer, the user interface, the text renderer and the audio path run on the CPU, and Python programs run on an embedded MicroPython interpreter. The whole app is built with the open-source OpenOrbis PS4 toolchain. The developer has written up the techniques, the measurements and the dead ends in a 147-page guide called Nine Billion Parameters on a PS4 — a useful sign that this is a documented engineering project, not a one-off stunt.

Voice, dictation and Python mode

Voice is where Garlic LLM stops feeling like a demo and starts feeling like a product. You can speak to it and it answers aloud, using the Chatterbox text-to-speech model in seven languages: Spanish, English, Portuguese, Russian, Italian, French and German. Dictation uses NVIDIA's Parakeet TDT 0.6B v3 speech-to-text model, and it covers 25 European languages. You hold a button, talk instead of typing, and then choose what to do with the text: send it, edit it, record it again, or discard it. Any ordinary microphone the console recognises works.

Python mode is the feature that makes the project more than a chatbot. Ask for a program and the model writes MicroPython, then the console runs it — press R1 to run the Python program in the last answer. The turtle-graphics demo is the showcase: the model writes the program, the console executes it, and a spiral draws itself on screen. It is a small thing, but it proves the loop works end to end: the model is not just generating text about code, it is producing code that the machine it runs on can execute.

Think mode is the opposite of the speed story. It is off by default, and when you turn it on the model reasons before it answers — each thought takes about half a minute. That is slow, and it is honest about what a 9B model on old hardware can do when it is asked to think carefully. For quick questions you leave it off; for a problem you actually want worked through, you pay the time.

The built-in API: your PS4 as a local AI server

Garlic LLM can also serve an OpenAI-compatible API on your local network, so your own programs and apps can use the model on the console. It is off until you turn it on — press L3 on the chat screen and the top of the screen shows where the API listens, for example API · 192.168.1.5:8080. Any OpenAI client can then point at it:

curl http://192.168.1.5:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"messages":[{"role":"user","content":"Hello"}],"max_tokens":128}'

It supports GET /v1/models, POST /v1/chat/completions with streaming, and GET /health. Two limits matter. One request runs at a time, and the chat screen is busy while it does — the request is a conversation of its own, so the one on the console's screen is cleared. And the API is new: it is in the source code and comes with the next package, while version 1.19 does not have it yet. If you install today, you get the chat app; the server mode arrives with the next release.

Security note: without a key file, anyone on your network can use the API while it is on. The README tells you to put a key in /data/garlic_api_key.txt on the console, after which requests need an Authorization: Bearer header. Do not turn the API on and leave it open on a shared network.

What you need, and how to install it

The requirements are short, and the first one is the one that rules most people out.

  • A PS4 running GoldHEN. Tested on a base or Slim console with firmware 11.52. Users also report it working on a PS4 Slim with firmware 14.00 and on a PS4 Pro with firmware 12.02. Other firmware versions are not tested yet.
  • About 6 GB of free space — or 12 GB if you copy the package to the console's own disk before installing it.
  • A microphone for voice mode — any ordinary one the console recognises.
  • No internet, no PC, no PS5. Once installed it needs no connection at all. And it does not run on a PS5: Garlic LLM is written for the PS4's GPU and system software.

GoldHEN is the homebrew enabler that makes all of this possible, and it is the part that carries the risk. The app itself contains no exploit — it is an ordinary homebrew app. But GoldHEN has to be installed on your console first, and the developer says plainly that you install it at your own risk. Jailbreaking a console can void its warranty, and on a console that still connects to PlayStation Network it can carry a ban risk. Garlic LLM never touches the network itself, but the jailbreak that enables it is a decision with consequences beyond this one app.

Installation in three steps

Installation is three steps, according to the README. Download the all-in-one package — about 5.7 GB, models inside — from Hugging Face. Copy the PKG to the console and install it like any other homebrew package, through Settings, Debug Settings, Game, Package Installer. Then open Garlic LLM from the home screen. The first screen loads the model; after that it needs no PC and no connection.

Updating works the same way: download the new package and install it over the old one, since the models are inside the package and there is nothing else to copy. If you would rather build from source, the build scripts are written for Windows and need Python 3 with NumPy and Pillow, the OpenOrbis PS4 toolchain, Zig, and the .NET runtime. A plain build keeps the weights outside the package; the app looks for them first inside its package and then in /data on the console. There is also a smaller build option with Qwen3.5-4B, though it has no speculative decoding and is not released as a package.

If something goes wrong, the app writes a log to /data/ps4ai_log.txt on the console, which the developer asks you to attach when you open an issue. The most common failure — "Couldn't start" — means a model file is missing or incomplete, and the fix is to install the package again.

What it costs

The app is free and open source. The download costs nothing, the code is GPL-3.0, and the model — Qwen3.5-9B — is Apache-2.0 licensed from Alibaba Qwen. The other components keep their own licences: Chatterbox is MIT, Parakeet is CC-BY-4.0, MicroPython is MIT.

The only thing that costs money is optional: the 147-page guide, Nine Billion Parameters on a PS4, is a PDF sold pay-what-you-want from 19 USD on Ko-fi. The developer also accepts support through PayPal and Ko-fi, and says bug reports and test results from other consoles help just as much. There is no subscription, no account, and nothing to buy inside the app.

What it cannot do

The limits are as important as the features, and the developer is unusually honest about them.

It cannot run on a stock PS4. This is the first limit and the biggest one. No GoldHEN, no Garlic LLM. Most PS4s in the world are not jailbroken, and jailbreaking is not something to do casually.

It cannot be trusted on facts. The developer's own words: the model "misfires on facts now and then." A 9-billion-parameter model compressed to 3 and 4 bits is a capable small model, not an oracle. Use it for chat, writing help, translation, basic code and brainstorming — not as a source of truth for anything you cannot check.

It cannot match a modern local setup on quality. The same Qwen3.5-9B at full precision on a desktop GPU would answer better, because it would not be carrying the quantization loss. Garlic LLM trades answer quality for the ability to run at all on 13-year-old hardware. That trade is the point of the project, but it is still a trade.

It cannot do everything at full speed at once. Voice mode costs you roughly a third of your generation speed. Think mode costs you about half a minute per thought. The API serves one request at a time. The 16K context is generous for a console but small next to the 128K-plus windows on current frontier models.

It cannot run on a PS5, and it has no official support channel. It is a one-developer open-source project, five days old at the time of writing, with 112 stars. If something breaks, the support is GitHub issues and the developer's inbox — which is normal for a project this young, and worth knowing before you install it.

Garlic LLM vs the other ways to run AI locally

Running AI on your own hardware is a growing scene, and Garlic LLM is the strangest entry in it. Here is how it compares with the routes people actually use:

OptionHardwareModel sizeSpeedWhat you give up
Garlic LLMJailbroken PS4 (2013)9B, 3/4-bit31–39 tokens/secNeeds a jailbreak; small compressed model
Colibri on a low-end PCOld PC, SSD + RAMUp to 744B (mostly on SSD)Varies by hardwareNeeds a PC; speeds depend on your disk and RAM
llama.cpp on a desktopModern CPU or GPU7B–70B+Fast on a good GPUNeeds a real computer and a GPU worth having
Cloud chatbotsAny browserFrontier modelsVery fastYour data leaves your machine; subscriptions

The comparison that matters most is the one with Colibri, which we covered earlier: a C inference engine that runs huge models on an ordinary low-end PC by keeping most of the weights on SSD. Colibri's trick is storage — a 744-billion-parameter model lives mostly on disk, with only a small dense core in RAM. Garlic LLM's trick is the opposite: it shrinks the model until it fits in the memory the console already has, then talks to the GPU in its own language. Both projects prove the same point from different directions — you do not need a data centre to run a language model, you need software that respects the hardware you actually own.

Against cloud chatbots, Garlic LLM loses on model quality and wins on privacy and cost. Nothing leaves the console, there is no account, and there is no monthly fee. Against a desktop running llama.cpp, it loses on speed and model choice and wins on charm: it turns a console gathering dust into a private AI machine. That is a real use case for a lot of people, even if it is not the practical one.

Verdict: who is this for?

Garlic LLM is for three kinds of people. First, anyone with a jailbroken PS4 who wants a private AI assistant with no cloud, no account and no subscription. If the console is already running GoldHEN, this is a free download that turns it into something genuinely new. Second, engineers and students who want to see how far careful software can push old hardware — the 147-page guide exists for exactly this audience. Third, anyone who enjoys watching the local-AI scene do impossible-looking things on hardware that was supposed to be obsolete.

It is not for people with a stock PS4 who just want a chatbot. Jailbreaking a console to run a 9B model is a big step for a small model, and the cloud alternatives are better at answering questions. It is also not for anyone who needs reliable facts: a compressed 9B model that misfires on facts is a drafting partner, not a reference.

The honest summary is the developer's own framing, not the viral one. A 9-billion-parameter model running at 31 to 39 tokens per second on a 2013 console, fully offline, is a real engineering achievement. It is not magic, it is not a replacement for modern AI hardware, and it is not available to most PS4 owners. What it is: proof that a console most people wrote off can still do something nobody expected it to do — and a reminder that the bottleneck in local AI is often software, not silicon.

Bottom line: Garlic LLM runs Qwen3.5-9B on a jailbroken PS4 at 31–39 tokens per second in chat and up to 43 on code, fully offline and free. You need GoldHEN, about 6 GB of free space, and realistic expectations: the speeds are the developer's own numbers, and the model gets facts wrong sometimes. If your PS4 is already jailbroken, it is one of the most interesting things you can install on it.

Frequently Asked Questions

Does Garlic LLM run on a normal, non-jailbroken PS4?

No. It needs a PS4 running GoldHEN, the homebrew enabler. A stock PS4 cannot run it. The app itself contains no exploit — the jailbreak is a separate step you install at your own risk.

How fast is Garlic LLM on a PS4?

The developer reports 31 to 39 tokens per second in text chat and up to 43 tokens per second when the model writes code, measured on a base or Slim PS4. Voice mode runs at about 22 tokens per second. These are the developer's own measurements — no independent benchmark exists yet.

Does it need the internet?

No. Once installed, the model, the voices and the speech recognition all run on the console. Nothing is sent anywhere. You only need a connection to download the roughly 5.7 GB package in the first place.

Can it run on a PS4 Pro or a PS5?

Users report it working on a PS4 Pro with firmware 12.02 at 25 to 45 tokens per second, but the developer has not tested a Pro himself. It does not run on a PS5 — it is written for the PS4's GPU and system software.

Is Garlic LLM free?

Yes. The app is free and open source under the GPL-3.0 licence, and the Qwen3.5-9B model is Apache-2.0. The only paid item is the optional 147-page guide, sold pay-what-you-want from 19 USD on Ko-fi.

How accurate are its answers?

Not perfectly. The developer says the 9B model "misfires on facts now and then," and the 3-bit and 4-bit quantization compresses it further. Treat it as a drafting and brainstorming partner, and check anything important against a reliable source.

Sources

Related reading on Asad Webs: Colibri: Run 744B AI Models on a Potato PC — the same local-AI idea on an old computer instead of a console; DeepSeek-V4-Pro-Qwen3.5-9B, Uncensored and Local — the same Qwen3.5-9B model family running on a PC; gputaskman: A GPU Task Manager — see what your GPU is actually doing while a model runs. There is no fitting AI or console tool in our free tools collection for this one — Garlic LLM is a download, not a web tool — but the collection covers file conversion, calculators and more.

Want help putting local AI to work, or a custom tool built around an open model? Talk to us — tell us what you are building and we will tell you honestly whether it is a fit.

Category: Technology

Tags: technology

About Asad Ali

Asad Ali is a graphics designer with over 20 years of experience — designing since 2003 — and the founder of Asad Webs, based in Pakistan. He builds the free online tools on this site and writes the guides published here.

LinkedIn Facebook Website
KEEP READING

Next guide

Best PS5 Controllers for GTA 6 (10 products) →

Related articles

Join the conversation

No account needed. Comments appear only after approval. Your email address will not be published.

Be the first to share a useful question or thought.

You won’t be subscribed to any mailing list.
WELCOME BACK

Sign in

Access your orders, saved products and account.