TLDR AI · DEEP DIVES & ANALYSIS

INSIDE THE MEGAKERNEL SERVING ENGINE FOR NORTH MINI CODE

cohere.com22 min read

Summary from the TLDR AI newsletter

This post presents a fully fledged serving system built around a decode megakernel. The system supports everything a real server needs: continuous batching, paged attention, and ragged sequence lengths, all behind an OpenAI-compatible endpoint with tool calling. The megakernel reaches 292 tokens per second on batch size 1, or 62% of SoL - 1.58× faster than vLLM. That margin holds across batch sizes and out to 256K of context with no measurable loss of accuracy.