44 MB, 115x real time: Claude wrote the WebGPU kernels
A tiny speech model gave no per-word timings for highlighting. In the writer's new WebGPU runtime, kernels written by Claude keep generation on the GPU and read timings from an attention head: 44 MB, 115x real time.
Done withClaudeSpotted· by HN user blixt· Nov 6, 2026
Result Starts streaming audio in about 3 ms after init
“On the same devices it runs at 115x real time vs. 31x on my M3 Max, and 26x against 13x on my iPhone 17 Pro.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
They wrote a second runtime for Gradium’s 31M-parameter Phonon text-to-speech model, after being impressed by its quality to size ratio and needing timings for every word to highlight them. The whole generation loop stays on the GPU in WebGPU kernels that Claude Opus 5.5 wrote for it, and every large matrix, the audio decoder included, is stored as int8. Word timings are read from one of the model’s attention heads while it speaks.
How it went
The result needs to download only 44 MB (under 40 MB brotli’d) instead of the official 67 MB, can start streaming audio in about 3 ms, and runs 115x real time on their M3 Max versus 31x for the official model, and 26x versus 13x on their iPhone 17 Pro.
Try it yourself with Claude
Here's a [small text-to-speech model] I want to run fully in the browser. Write a WebGPU runtime that keeps the entire generation loop on the GPU, stores large matrices as int8 to shrink the download, and reads per-word timing information from the model's attention so I can highlight words as they're spoken. Benchmark it against the original runtime on [my devices] before I ship it.
A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.
Wanting Claude's help with Haiku software and OS issues, they spent $30 of Claude API credit on a USB UAC 2 audio driver for Focusrite Scarlett devices. Haiku's AI policy keeps it from going upstream.
Copy-pasting others' TLA+ specs risked missing attribution. Claude built a small Rust package manager that renames modules to avoid collisions. It took about 30 minutes of fighting, but it worked.
A $5-a-month product, then $20, then a rewrite at $10 and $50 a month. A day after launch came a $360 payment: a Yearly option on the $50 plan, with a discount, that Claude had added without them realizing.
Harvest's ~$100/yr Solo time-tracking plan went up 2.5x for a more restricted plan, or $20,000/yr to keep the old one. With their data downloaded, Claude vibecoded a fully-featured clone in one evening.
Asked for a web-based Rust email client from scratch that could talk to a JMAP server, Claude wrote it in about 20 minutes. It needed some bugs pointed out and lacks features, but it works.
A tag-based file recommender kept missing the mark with Claude. ChatGPT turned the problem into one precise paragraph. Handed back to Claude, it clicked, and a working solution came out without any drama.