# A 2006 PlayStation 3 runs an LLM at 150 tokens per second, 137x faster than llama.cpp

Original title: Bare-metal C LLM engine for a 2006 PS3 (150.7 tok/s, 137x llama.cpp)

> Hacker News story 50751895 · language: en · submitted 2026-12-03
> Web version: https://zeli.app/story/50751895
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 4 · by [veniallc](<https://news.ycombinator.com/user?id=veniallc>) · 💬 0
[original](<https://github.com/veniallc/cell-llm>) · [HN discussion](<https://news.ycombinator.com/item?id=50751895>)

## Summary

A bare-metal inference engine written from scratch in pure C and Cell SPU intrinsics squeezes SmolLM2-135M into the PS3's 215 MiB of XDR DRAM. Using a native big-endian 4-bit weight format, integer Q4×Q11 SPU matvecs, and 128-byte DMA alignment, it hits 150.72 tok/s decode and 185.8 tok/s prefill — 137x the best tuned llama.cpp result on the same console, with a binary over 120x smaller that compiles natively in about 2.5 seconds.

## Key quote

> Zero llama.cpp, zero CUDA, zero Python runtime, zero ML frameworks.

---

## Cite

- Page: https://zeli.app/story/50751895
- Date: 2026-12-03
- Source: github.com (https://github.com/veniallc/cell-llm)
- Hacker News: https://news.ycombinator.com/item?id=50751895

## Other languages

- ja: https://zeli.app/ja/story/50751895 · markdown: https://zeli.app/ja/story/50751895.md
- ko: https://zeli.app/ko/story/50751895 · markdown: https://zeli.app/ko/story/50751895.md
- de: https://zeli.app/de/story/50751895 · markdown: https://zeli.app/de/story/50751895.md
- es: https://zeli.app/es/story/50751895 · markdown: https://zeli.app/es/story/50751895.md
- ru: https://zeli.app/ru/story/50751895 · markdown: https://zeli.app/ru/story/50751895.md
