[under-the-rug stub] [see https://news.ycombinator.com/item?id=45988611 for explanation]
Prompt caching for cheaper LLM tokens
11–20 of 76 posts
Re: Prompt caching for cheaper LLM tokens
#12Took me a minute to see it is same Ngrok which provided freemium tunnels to localhost. How did they adapt to the AI revolution?
The product has grown a lot since the mid 2010s. Still got free localhost tunnelling, but we also have a whole bunch of production-grade API gateway tooling and, as of recently, AI gateway stuff too.
Re: Prompt caching for cheaper LLM tokens
#13Re: Prompt caching for cheaper LLM tokens
#14[under-the-rug stub] [see https://news.ycombinator.com/item?id=45988611 for explanation]
Really well done article. I'd note, when I gave the input/output screenshot to ChatGPT 5.2 it failed on it (with lots of colorful chain of thought), though Gemini got it right away.
Re: Prompt caching for cheaper LLM tokens
#15Earlier quoted context omitted.
Thank you so much Yes, I recently wrote https://github.com/samwho/llmwalk and had a similar experience with cache vs no cache. It’s so impactful.
Hopefully you can write the teased next article about how Feedforward and Output layers work. The article was super helpful for me to get better understanding on how LLM GPTs work!
I’m really glad you liked it, and seriously the resources I link at the end are fantastic.
Re: Prompt caching for cheaper LLM tokens
#16[under-the-rug stub] [see https://news.ycombinator.com/item?id=45988611 for explanation]
Amazing article. I was under the misapprehension that temp and other output parameters actually do affect caching. Turns out I was wrong and this explains why beautifully. Great work. Learned a lot!
Re: Prompt caching for cheaper LLM tokens
#17This is a surprising good read of how LLM works in general.
Re: Prompt caching for cheaper LLM tokens
#18Link seems to be broken: content briefly loads then is replaced with "Something Went Wrong" then "D is not a function". Stays broken with adblock disabled.
Re: Prompt caching for cheaper LLM tokens
#19[under-the-rug stub] [see https://news.ycombinator.com/item?id=45988611 for explanation]
Amazing article. I was under the misapprehension that temp and other output parameters actually do affect caching. Turns out I was wrong and this explains why beautifully. Great work. Learned a lot!
Where do people get the idea from that temperature affects caching in any way? Temperature is about next token prediction / output, not input.