Better HN
topnewbestaskshowjobs
Log inSign up

ani17

9 karma · joined Sep 21, 2025 (1y ago) · 16 submissions

Software Developer at a computer networking company. Interested in Distributed Systems, Networking and ML.
Submissions

comment 7mo ago · link · parent

Author here. I wanted to understand what vLLM and llama.cpp are actually doing under the hood, but the codebases are massive. So I wrote a stripped down version from scratch to see the core ideas without the production complexity.

Code: https://github.com/Anirudh171202/WhiteLotus

2.

Why do output tokens cost 5x more than input tokens?(anirudhsathiya.com ↗)

3 points · by ani17 · 7mo ago · 2 comments

comment 7mo ago · link · parent

The blog walks through why your first token is always the slowest, why output tokens cost 5x more, and how stuff like speculative decoding and chunked prefill actually work, from the perspective of a systems engineer!

comment 7mo ago · link · parent

Author here. A bit more context: By day I'm a systems engineer building AI networking infrastructure. So I kept ending up in conversations where I'm not exactly able to wrap my head on the latest inference magic trick.

Like when someone mentioned vLLM's paged attention, I knew virtual memory paging, but had no idea someone had applied the same idea to KV cache allocation on GPUs.

Github link to the project: https://github.com/Anirudh171202/WhiteLotus

5.

LLM inference engine from scratch in C++ – why output tokens cost 5x(anirudhsathiya.com ↗)

9 points · by ani17 · 7mo ago · 3 comments

comment 1y ago · link · parent

Definitely an alternative solution. For the purpose of this script, I wouldn't prefer that though.

7.

Ask HN: How cam I auto-switch shared Google Meet tab?

1 points · by ani17 · 1y ago · 2 comments

comment 1y ago · link · parent

It's insane if the data is accurate. Only time will tell

9.

How Much OpenAI Spends on Inference and Its Revenue Share with Microsoft(wheresyoured.at ↗)

68 points · by ani17 · 1y ago · 25 comments

comment 1y ago · link · parent

You forgot "Middle Out" by Pied Piper!

comment 1y ago · link · parent

thanks for sharing!