Running a 9B-Parameter LLM on an 8GB Legacy Console: A Technical Analysis
This article examines how a developer ran a roughly 9-billion-parameter large language model locally on a jailbroken 2013 game console with only 8GB of unified memory. It breaks down the hardware constraints, memory budgeting, mixed 3/4-bit quantization, custom GPU kernels, multi-token prediction, and local voice interaction behind the project, then draws out a reusable methodology for deploying LLMs on memory- and bandwidth-constrained edge devices.
1. Overview: A Large Model Running on Over-Ten-Year-Old Hardware
A developer recently published an on-device inference experiment: a game console released in 2013, after being jailbroken and running custom system software, ran a large language model of roughly 9 billion parameters entirely locally. The measured results were:
- Text dialogue: 31–39 tokens output per second;
- Code generation: up to 43 tokens per second;
- Runtime: fully offline, with no connection to a PC or cloud service.
What drew attention here was not the model’s parameter count itself. Today, 9B-class models are already a common specification for edge deployment. The real point of interest is the runtime environment: this class of console uses a unified memory architecture in which the CPU and GPU share the same memory, with a total capacity of only 8GB. The operating system and runtime take a portion of that pool, while the main model weights alone occupy about 4.5GiB. In other words, the developer completed the full pipeline—model loading, inference acceleration, and voice interaction—within less than 60% of the machine’s total memory.
The project is named “Garlic LLM,” taken from the name of the shared memory region that the console exposes for direct GPU access. Its prerequisite is a console that has been jailbroken and can install custom system software packages. The release package is about 5.66GB, is freely downloadable from a public model-hosting platform, and is installed through the console’s software package installer. The developer verified it on both a standard console running a newer firmware version and a Slim model.
The complete solution consists of three components:
- Main model: an open-source general-purpose LLM of about 9B parameters, handling dialogue and code generation;
- Speech synthesis model: paired with the main model, it enables voice conversation in seven languages;
- Speech recognition model: about 0.6B parameters, activated by holding a controller button to dictate, covering 25 European languages.
All three pipelines—text, speech recognition, and speech synthesis—run locally. This article treats the hardware, model, and system details from the original source in a neutral way, focusing on the engineering ideas that can transfer to other constrained devices.
2. Challenge Analysis: Why Old Hardware Struggles to Run Large Models
To understand the trade-offs in this solution, it helps to first see the four constraints this class of device imposes.
2.1 The Capacity Wall: Unified Memory Must Be Budgeted Carefully
The CPU and GPU share the same memory. Model weights, attention cache, voice models, and even the operating system all draw from the same pool, so there is no way to solve the problem the way a discrete GPU does—by simply “swapping in more VRAM when it runs short.” Each time the model grows by an order of magnitude, the space left for context and other components shrinks proportionally.
2.2 The Bandwidth Wall: The Bottleneck Is Often Data Movement, Not Compute
Autoregressive decoding generates tokens one at a time, and each step requires passing the entire set of weights through the compute units once. For a 9B-parameter model, even if all weights are stored at 4-bit, at least about 4.5GB of data must be moved from memory for every token; mixed quantization leaves the effective volume roughly the same.
At this point, each read of a weight element corresponds to very little arithmetic, so arithmetic intensity is extremely low. Decoding speed is therefore governed primarily by memory bandwidth, not by floating-point throughput. This also explains why old hardware is not necessarily unable to run large models: its on-paper compute may be insufficient for training or high-throughput inference, but in a single-user interactive scenario the truly scarce resources are bandwidth and capacity.
2.3 Software Stack Gaps: General-Purpose Frameworks May Not Cover It
Mainstream on-device inference frameworks mainly target desktop and mobile operating systems, along with newer graphics and general-purpose compute interfaces. For non-mainstream devices like an old console, existing approaches typically face two difficulties:
- An “indirect route” that relies on graphics APIs for general-purpose compute adds extra driver and command-translation overhead;
- Even if you port it yourself, it is hard to fine-tune the implementation for the target GPU’s microarchitecture.
2.4 Experience Expectations: Offline Scenarios Demand Natural Interaction
An offline device cannot offload recognition and synthesis tasks to the cloud, so speech recognition and synthesis models must also fit within the limited memory. In addition, end users communicate primarily in natural language, and their tolerance for output discontinuity is lower than in offline batch processing.
3. Overall Architecture: CPU Handles Scheduling, GPU Handles Compute
The whole system is split by responsibility into two sides:
| Module | Execution Location | Main Responsibility |
|---|---|---|
| Tokenization & sampling | CPU | Text/token-sequence conversion, candidate filtering, random sampling |
| Interface & audio | CPU | UI rendering, microphone capture, speaker playback |
| Model inference | GPU | Main model forward pass, multi-token speculation and verification |
| Speech recognition & synthesis | Local components | Speech-to-text, text-to-speech |
The overall workflow is as follows: the GPU computes the main model’s output for the context in one pass, and a multi-token prediction head uses that as a basis to propose candidates for subsequent tokens. Those candidates are verified together by the main model, after which the CPU side filters out the accepted ones and outputs them to the user while updating the context.
This is a pipeline of “the GPU does batch computation, the CPU handles fine-grained management.” It avoids implementing complex control logic on the GPU and concentrates the heavy matrix operations on the component best suited for parallel processing.
4. Key Technical Breakdown
4.1 Memory Budget: Slicing Up 8GB
The memory allocation in this solution breaks down roughly as follows:
- Main model weights: about 4.5GiB;
- Attention cache plus other components: about 1.1GB combined, i.e., total runtime usage of 5.62GB minus the weight footprint (an inferred value);
- System and other overhead: covered by the remaining capacity.
The specific strategies for each part are as follows.
Main model: mixed 4-bit and 3-bit quantization. A common industry practice is “4-bit as the baseline, with a few sensitive layers kept at higher precision.” This solution goes further, using both 4-bit and 3-bit widths within the same model, with overall weights of about 4.5GiB—roughly on par with the theoretical lower bound of storing 9B parameters entirely at 4-bit. It can therefore be inferred that most parameters are stored at 3-bit, while a minority of more precision-sensitive layers remain at 4-bit.
The principle can be illustrated with a simplified formula:
average bit width = 4 × (4-bit layer params / total params) + 3 × (3-bit layer params / total params)# Example: if 3/4 of the params use 3-bit and 1/4 use 4-bit# average bit width = 4 × 0.25 + 3 × 0.75 = 3.25 bits# weight footprint ≈ 9e9 × 3.25 / 8 ≈ 3.66 GB (theoretical)
The actual footprint is higher than the theoretical value, usually because of metadata such as the scale factors and zero points stored per group in group-wise quantization, plus some parameters kept at higher precision. The higher the compression ratio, the more critical the design of this metadata and the error-control mechanism becomes.
Attention cache: also quantized at 4-bit, supporting a 16K-token context. On a unified-memory device, the cost of a long context shows up directly in memory usage. After 4-bit quantization, the KV cache is roughly on the same order of magnitude as the weight footprint: the longer the context, the larger the cache. A 16K-token context is enough to hold several rounds of dialogue or a medium-sized code file, but extending it further would directly squeeze the space available to the operating system.
Voice components: small models to control overhead. The speech recognition model is only about 0.6B parameters, and the speech synthesis model is smaller still. Together with the main model and attention cache, they make up the 5.62GB runtime footprint, leaving some headroom for the console’s system.
The merit of this solution is that a single width scheme covers every memory-usage item: the weights set the lower bound, the cache sets the upper bound, and the small models fill in the interactive capabilities.
4.2 Compute Kernels: Tailor-Made for Specific Hardware
The project did not take either of two common routes:
- Using a mainstream inference framework directly;
- A porting approach that performs general-purpose compute through graphics APIs.
Instead, its model matrix-computation kernels are written in C-based GPU kernel code, compiled for the target GPU’s architectural characteristics, while the CPU side handles tokenization, UI, and audio processing. At the inference-submission stage, the CPU drives the GPU directly through low-level command buffers rather than calling high-level graphics APIs layer by layer.
Why do it this way?
- Reducing abstraction overhead: General-purpose frameworks carry a large amount of generic logic for device adaptation, operator scheduling, and memory management. On old hardware, this overhead can be considerable. Writing kernels directly against the hardware lets the compiler and developer control details such as register allocation, thread organization, and memory-access coalescing.
- Saving memory: A custom path can implement only the operators the model actually uses, avoiding the extra footprint of bundling an entire runtime.
- Lowering submission frequency: A single decode step executes a large number of matrix operations. Using command buffers, multiple steps can be submitted in a single batch, reducing round trips and synchronization between the CPU and GPU.
The costs are equally clear:
- Every time a new device is targeted, the kernels must be rewritten or re-tuned;
- Newly emerging model structures require implementing the corresponding operators yourself;
- Maintainability is weaker than with mature frameworks.
For this reason, the approach suits dedicated scenarios with fixed hardware and well-defined models. A general-purpose product meant to run across many devices still has to weigh “peak performance” against “maintenance cost.”
4.3 Multi-Token Prediction: The Key to Usable Speed on Old Hardware
The inefficiency of autoregressive decoding. Standard decoding generates only one token per step, yet each step still requires reading the weights in full once. As noted in Section 2, decoding is bandwidth-bound, and “reading the weights” is the true cost.
The idea behind Multi-Token Prediction (MTP):
- After one forward pass, in addition to the distribution for the next token, the main model’s attached prediction head proposes candidates for up to two subsequent tokens based on the current context, all in one go;
- These candidates are concatenated with the current context and verified together by the full model;
- From the first rejected position onward, all subsequent candidates are discarded, and the accepted tokens are formally written into the output.
The logic can be sketched as follows:
# Illustration only; not the project's actual codewhile not finished:# 1. One forward pass on the main model; the attached head proposes up to 2 candidate tokenslogits, draft = model.forward(context) # draft length <= 2# 2. Verify all candidates at once with the full modelaccepted = 1 # the main model's own predicted token is always acceptedfor t in draft:if model.verify(context, t): # verification passedcontext.append(t)accepted += 1else: # after the first rejected candidate, roll back the restbreak# 3. This round advances `accepted` tokens, at the cost of just "one full forward pass + one verification"yield from context[-accepted:]
Why is the gain especially pronounced on old hardware? When generating k tokens in a single step, the weights are read only once, so the per-token weight-movement volume theoretically drops to 1/k of the original (k being the verification batch length). In the present case, k is at most 3, meaning the weight-movement overhead can drop to about one-third at best. Verification is likewise bounded, so the actual gains land mainly on bandwidth-constrained devices. The degree of compute headroom sets the ceiling on the gain: on platforms with ample compute, batch verification may shift the workload toward being compute-bound sooner, so the benefit is relatively smaller.
Difference from common speculative decoding. Common speculative decoding relies on a separate small model to “draft” candidates, which requires additionally loading and maintaining that model. MTP’s prediction head is trained together with the main model and loads along with it, adding almost no extra parameter overhead. For memory-constrained edge devices, this is especially important.
Difference from generating multiple tokens in one shot. MTP does not make the model “write out” several tokens at once and output them directly; rather, it is “speculate boldly, verify fully”:
- The accepted portion guarantees an output distribution consistent with the main model;
- The rejected portion rolls back and does not corrupt the context state.
This achieves acceleration without sacrificing output quality.
4.4 Voice Interaction: Making Local Models “Listen and Speak”
Beyond text capabilities, the solution also integrates two voice features:
- Voice conversation in seven languages: the user’s spoken input is converted to text by the recognition model, the main model generates a reply, and the speech synthesis model reads it aloud;
- Dictation in 25 European languages: while a controller button is held, recognition is activated to transcribe speech to text in real time.
All of this is done locally, with no reliance on the network. Its significance is to demonstrate that on a memory-constrained old device, a multimodal interaction pipeline can also be closed locally.
5. Performance Interpretation: The Real Experience Behind the Numbers
Output speed. A dialogue speed of 31–39 tokens/s roughly corresponds to generating about 20 English words per second, already faster than most people read. In interactive scenarios, users essentially never have to wait for the model to “spit out words one by one.”
Code generation. Up to 43 tokens/s. Code tasks usually have shorter prompts and more regular output structure, so the generation process is more likely to be hit by the prediction head, and the number of tokens advanced per step is often larger, giving speculative decoding a higher effective speedup (this is an analysis based on task characteristics, not a measured conclusion from the project).
The speed floor is set by bandwidth. To sustain a pure-decode speed of about 30 tokens/s with roughly 4.5GiB of mixed-quantized weights, the effective memory bandwidth needs to reach on the order of about 135GB/s (4.5GiB × 30 ≈ 135GB/s). Adding the extra reads from the verification stage, the whole machine requires even more effective bandwidth. But this 2013 console does not have low memory bandwidth to begin with, which is the physical basis for it achieving usable speeds.
This estimate yields an important conclusion: hardware with ample memory bandwidth can achieve acceptable generation speeds even if its compute is dated. This also explains why the “old console + new model” combination holds up.
6. Boundaries and Limitations: A Rational View of This Result
Objectively, the significance of this experiment lies more in “feasibility validation” than in being a “production-grade solution.” Its limitations are equally clear:
- Environment risk: Running custom system software on a jailbroken device usually means losing official support and introducing certain security risks. Such experiments are suitable only for personal research and learning, and should not be used directly in enterprise or production environments.
- Clear context ceiling: A 16K-token context is tight for tasks like long-document analysis and understanding large codebases.
- Quantization has a quality cost: The impact of 3-bit quantization on complex reasoning and code generation must be evaluated empirically in specific business scenarios; speed alone is not enough to judge.
- Limited operator coverage: The custom kernels implement only the parts actually used. Switching model structures or trying new operators often requires redevelopment.
- Single-user, offline positioning: Designed for single-machine interaction, it has no concurrent-service capability and cannot benefit from online knowledge updates in connected scenarios.
7. Engineering Takeaways: A General Methodology for Deploying Large Models on Legacy Devices
Setting aside the specific device, this case yields a methodology applicable to all kinds of constrained devices.
7.1 Set the Budget First, Then Choose the Model
Before deployment, first clarify three hard constraints: available memory, memory bandwidth, and power consumption. Then work backward to the parameter count, quantization bit width, and context length the system can support. In this case, the 8GB unified memory and the system/runtime overhead dictated that the weights had to be compressed to around 4.5GB.
7.2 Allocate Precision by Sensitivity
Not all layers are equally sensitive to quantization. Keeping sensitive layers at 4-bit and using 3-bit for the rest is a common way to balance quality against footprint. Before launch, compare the results before and after quantization on an evaluation set; the choice of quantization scheme should be driven by measured data.
7.3 Make the Kernels Fit the Hardware
If the target hardware is not covered by general-purpose inference frameworks, consider custom compute kernels tailored to its microarchitecture, and use command buffers to reduce submission overhead. The prerequisite is that the device model is relatively fixed and the team has the necessary low-level optimization skills.
7.4 Use Speculative Decoding to Amplify the Bandwidth Dividend
On bandwidth-constrained edge devices, speculative decoding approaches such as multi-token prediction can spread a single weight read across multiple tokens, an effective way to improve interaction smoothness. When selecting an approach, pay particular attention to whether the prediction head ships together with the main model, so you avoid paying an extra memory cost for a “draft model.”
7.5 Coordinate Cloud and Edge, Each Playing to Its Strengths
A resource-constrained device does not have to handle all the work alone. A workable division of labor is as follows:
- The cloud handles model distribution, evaluation, and staged rollouts, drawing on cloud providers’ general capabilities such as object storage, container platforms, and monitoring/alerting. For example, a cloud provider’s object storage can host and distribute model files, a container platform can run evaluation and inference services, and log services and monitoring/alerting can track device runtime status. (Any specific provider’s availability and scope should be confirmed against its official documentation for your region.)
- The edge focuses on real-time interaction and offline availability.
This keeps the memory pressure on the device under control while preserving the core value of “working without a network connection.”
7.6 Build a Closed Quantization-Evaluation Loop
Before launch, prepare three types of tests:
- General conversation tests;
- Target business tests, such as code generation and domain Q&A;
- Long-context tests.
These separately check the model’s quality and speed under quantization, speculative decoding, and different context lengths, avoiding the outcome of “it runs, but it isn’t usable.”
8. Conclusion
A game console released more than ten years ago running a 9B-parameter large model shows that whether a large model lands successfully depends not only on whether a chip is “new” or “old,” but more on whether the software stack can squeeze out the hardware’s full potential.
Fine-grained splitting of the memory budget, mixed quantization, hardware-specific custom kernels, and multi-token prediction coordinated with the main model together form the technical backbone of this solution. These ideas can also transfer to resource-constrained scenarios such as industrial gateways, in-vehicle terminals, and smart-home hubs.
For developers, more than “can it run,” what deserves attention is “how to run it stably and well.” Building a complete methodology spanning budget planning, precision allocation, kernel optimization, and quantization evaluation is the key to large edge models truly moving toward large-scale deployment.
