gpu-lexer: Vercel's 27.5KB WebGPU model does language-agnostic syntax highlighting in the browser

shuding · x · 2026-09-08

Vercel engineer Shu Ding released gpu-lexer from Vercel Labs: a 27.5KB model running on WebGPU for browser syntax highlighting, language-agnostic by design—instead of grammars, a tiny model labels each token using local and whole-file context.

Related event: Vercel's gpu-lexer: A 27.5KB WebGPU Model for In-Browser Syntax Highlighting(7 posts)→

Original post →

More from coding & agent

coding & agent channel →