How Fast Can Local AI Get On A 128GB Mini PC?

The video demonstrates that a 128GB mini PC running local AI models can achieve fast text generation speeds, with mixture of experts models like the 30 billion parameter Quen 3 offering efficient performance by activating fewer parameters per token compared to dense models like Llama 2. However, overall responsiveness depends heavily on factors such as prompt length, model architecture, and software optimizations, making real-world testing essential to balance speed, accuracy, and usability.

The video explores the performance of local AI models running on a 128GB Ryzen AI Max Plus 395 mini PC, focusing on how quickly these systems can generate text. Benchmarks show that a 30 billion parameter Quen 3 mixture of experts model can generate text at 78 tokens per second, outperforming a smaller 7 billion parameter Llama 2 model, which generates 51.2 tokens per second. However, generating text is only part of the process; the model must first ingest the prompt, and smaller dense models like Llama 2 process input tokens faster than larger mixture of experts models like Quen 3. This split between prompt reading and answer generation means raw generation speed alone does not predict total response time.

The difference in speed between dense and mixture of experts models arises from how much of the neural network is active for each token. Dense models process every token through the entire network, while mixture of experts models activate only a small fraction of their parameters per token, making them more efficient despite their larger size. For example, Quen 3 has 30.5 billion parameters loaded in memory but only activates about 3.3 billion per token. This architecture allows large models to fit into memory without necessarily slowing down generation, but it also means that memory capacity alone does not guarantee fast performance.

Real-world testing reveals that initial delays can be significant, especially with large prompts. A retail mini PC running a custom-tuned Quen 3.8 Flash Next model took 44 seconds to produce the first token on an 18,000-token prompt, despite aggressive software optimizations. Prompt reading speed also decreases as input length grows, making it important to measure performance on realistic workloads rather than relying on synthetic benchmarks with short prompts. Caching prior context can reduce delays in ongoing conversations, but fresh inputs still require substantial processing time.

Software optimizations like speculative drafting can improve generation speed for certain tasks, such as structured file rewrites, by proposing multiple tokens in advance and verifying them in batches. However, these techniques may not benefit all workloads equally and require customized software stacks to implement effectively. The video emphasizes the importance of testing models with real tasks and measuring key metrics such as time to first token, steady generation rate, and total time to a usable answer, while also considering output quality and software configuration.

In conclusion, a 128GB mini PC can deliver fast local AI text generation, but performance depends on multiple factors beyond memory size, including model architecture, prompt length, and software tuning. Mixture of experts models offer a promising balance of size and speed by activating fewer parameters per token, but initial prompt processing can still cause noticeable delays. Users are advised to select models based on their specific workload needs, test them thoroughly with real inputs, and carefully document their software environment to ensure reproducibility and optimal performance.

Useful Links