The Real Bottlenecks and Adaptation Strategies for Deploying Large Models on Unified Memory
Unified memory can make large language models fit on local hardware, but capacity alone does not guarantee usable performance. This article examines the impact of memory bandwidth, Dense versus MoE architectures, quantization levels, and long-context preprocessing. It also outlines a practical framework for selecting models and hardware based on end-to-end workloads rather than headline memory capacity or peak token generation speed.
From “Enough Memory” to “Usable Performance”
As local large language model deployment becomes a major topic among developers, it is easy to assume that memory capacity determines everything. If a model fits into memory, the reasoning goes, inference should run smoothly. However, early testing of hardware with very large unified memory has challenged that assumption: large models can indeed be loaded, but generation may remain at little more than a token-by-token crawl.
This exposes a long-underestimated reality of local inference. Memory capacity is only the entry requirement. Sustained memory bandwidth and compute efficiency are what determine the actual user experience.
The purpose of a unified memory architecture is to remove the physical boundary between system memory and VRAM, allowing the CPU and GPU to share the same memory pool. For large-model inference, however, this creates an important trade-off. Model weights and the KV cache reside in system memory, and generating each token requires repeatedly reading the model weights from that memory. Memory bandwidth therefore becomes a direct limit on throughput.
Even high-end LPDDR5 memory has an order-of-magnitude bandwidth disadvantage compared with the GDDR6 or HBM memory used by discrete GPUs. In practical tests, running 27B–31B parameter Dense models at Q8 quantization can reduce generation speed to around 10 tokens per second. That may be barely acceptable for interactive conversations, but it is poorly suited to code generation, long-document analysis, or batch processing.
The deeper issue is that unified memory reduces the anxiety of “the model does not fit,” while shifting the bottleneck to “the model is too slow to run.” Once a Dense model exceeds roughly 30B parameters, every forward pass activates the entire parameter set. The amount of weight data that must be read creates a hard relationship between memory bandwidth and generation speed.
A more suitable path is often to use a Mixture-of-Experts (MoE) architecture. Because MoE models activate only a subset of their experts for each token, the amount of weight data that must be read can be substantially reduced. This is why MoE models in the 30B–120B total-parameter range can be a practical choice for unified-memory systems when both capacity and speed matter.
MoE Compatibility: The Sweet Spot and the Ecosystem Gap
In theory, MoE architectures are naturally compatible with unified memory. Consider an MoE model with approximately 100B total parameters but only around 10B active parameters. Each generation step requires reading roughly the amount of weight data associated with a 10B Dense model, placing the workload within the range that LPDDR5 memory bandwidth can reasonably support.
This parameter range should therefore be a sweet spot for systems with 128GB of unified memory.
In practice, however, the model ecosystem has not yet developed around this configuration. The open-source community currently has only a small number of strong MoE models with approximately 100B total parameters and around 10B active parameters. Many of them are still at an early stage, while quantization tools, inference optimizations, and community support remain immature.
Developers are consequently forced to compromise in one of two directions:
- Return to compact MoE models with roughly 30B total parameters and 3B–4B active parameters, such as the commonly discussed Qwen3.x 35A3B and Gemma4 26A4B.
- Choose a smaller Dense model and accept a lower capability ceiling.
The shortage of models in this sweet spot reflects a mismatch between training costs and hardware adoption cycles. Training a 100B-class MoE model costs significantly more than training a 30B Dense model, while widespread hardware adoption has not yet created enough demand to drive this segment of the ecosystem.
For developers, the result is that unified-memory hardware cannot yet convert all of its theoretical capacity into practical usability. The missing piece is a more mature model ecosystem.
Quantization and Long-Context Prefill: Two Often-Overlooked Factors
Comparing unified-memory systems with consumer discrete GPUs reveals another important point. With Q4 quantization, a compact 30B-class MoE model can reach approximately 40–50 tokens per second on a consumer GPU. Although this may not match the experience of 40 tokens per second at Q8 or 60 tokens per second at Q4 in other configurations, it is far from unusable.
Some evaluations treat Q4 models as inherently inferior because quantization introduces information loss compared with higher-precision models. However, that comparison often ignores the prefill stage in long-context workloads.
When processing a document containing more than 60,000 tokens, a compact MoE model on a unified-memory platform may require more than one minute for preprocessing. During that time, the user receives no output and must simply wait. On a discrete GPU, concentrated compute resources and higher memory bandwidth may reduce the same preprocessing task to only a few seconds.
Once the entire workflow is considered, the end-to-end gap between the two solutions becomes much smaller and may even reverse. This leads to a central principle for evaluating local inference hardware: peak generation speed is not enough. Performance should be assessed jointly across four dimensions:
- Prefill or preprocessing time
- Generation speed
- Context length
- Quantization precision
Long-context workloads are becoming standard in applications such as legal document review, codebase understanding, and academic literature analysis. As a result, prefill time is no longer a marginal metric that can be ignored.
Three Levels of Inference Architecture Selection
The preceding analysis suggests a three-level framework for selecting a local large-model deployment strategy.
1. Compatibility: Match the Model Architecture to the Hardware
The advantages of MoE architectures on unified-memory platforms are clear, so they should generally be considered before Dense models of a similar scale. However, architectural compatibility is only part of the decision. Developers must also assess the maturity of the model ecosystem, including quantization support, inference-framework compatibility, and community activity.
If the ecosystem is immature, the hardware’s theoretical advantage may not translate into a usable deployment.
2. Quantization: Find the Balance Between Quality and Speed
Q8 quantization preserves more of the model’s capabilities, but its bandwidth requirements increase roughly in proportion to the amount of data being read. Q4 quantization introduces some information loss while potentially bringing performance into the interactive range.
The right balance depends on the workload:
- Interactive conversations are more sensitive to latency and may favor Q4.
- Offline batch processing is more sensitive to output quality and may favor Q8.
- Mixed-precision quantization can provide a better compromise by keeping sensitive layers at higher precision while using lower precision for more redundant layers.
3. Workload: Evaluate the Complete User Experience
Long-context preprocessing is one of the easiest weaknesses of unified-memory systems to overlook. If an application involves long documents, extended conversations, or multiple rounds of tool calls, preprocessing time should be treated as a core evaluation metric rather than focusing only on single-token latency.
Conversely, if the workload mainly consists of short queries and first-token latency is not critical, the large-capacity advantage of unified memory can be more valuable.
The Ecosystem Gap and Practical Workarounds
The shortage of capable 100B-class MoE models remains a genuine gap in the local inference ecosystem. Developers who do not want to wait for the ecosystem to mature can take a pragmatic transitional approach: use a compact 30B-class MoE model as the everyday workhorse, combine it with quantization and speculative decoding, and run it on consumer hardware for a more responsive experience.
In this arrangement, the unified-memory platform can serve as a supplementary system for long-context batch workloads rather than the primary platform for interactive inference.
Another option worth exploring is model parallel deployment at the service level: load several specialized models on the unified-memory platform and route requests to the appropriate model as needed. This does not directly improve the speed of any single model, but it takes advantage of the large memory pool to build a multi-model service architecture and partially avoids the lack of a single ideal sweet-spot model.
Conclusion: Start With the Workload
The decline in attention around unified-memory large-model deployment does not mean that the hardware approach has failed. Its advantages simply have not yet converged with the model ecosystem. The competition over memory capacity will eventually encounter diminishing returns. The more important question is how to find the best balance among model architecture, memory bandwidth, quantization level, and workload requirements.
For developers, the key question is not “Which hardware is more powerful?” but “What does my application actually need?”
Include long-context preprocessing in performance evaluations. Prioritize MoE architectures when matching models to unified-memory hardware. Use end-to-end experience, rather than a single benchmark number, as the final standard. These principles make it easier to choose a deployment strategy that remains practical as the local inference landscape continues to evolve.
