This is just making it more expensive for everyone else, right? How Claude handles its sessions is none of my business. I'm going to let them do the best they can to provide good service for everyone, and if they can't/won't, I'll switch to a provider that can. Using these massive models is already pretty danged extravagant, I'm not going to demand to be at the front of the queue at all times, too.
Show HN: Claude-thermos keeps your Claude session warm for you
61–70 of 91 posts
Re: Show HN: Claude-thermos keeps your Claude session warm for you
#62Don't we pay for cache input though?
You can send and receive 1 byte and refresh the cache. Keeping the cache alive isn't free, but it's close.
Re: Show HN: Claude-thermos keeps your Claude session warm for you
#63Earlier quoted context omitted.
How do a few extra requests with the same prefix make it more expensive for everyone else?
Keeping a conversation with a very large model active requires hundreds of GB of memory. If my conversation can never be swapped out, like when I go to lunch or take an afternoon walk, that's several hundred GB not available for other users. If everybody does that, Anthropic needs even more infrastructure than the quarter trillion dollars in infra they're already using.
If you keep this running for hours without doing anything, it will drain your limits and API. The use case of keeping the main thread cache warm while subagents work is very genuine and legitimate.
Re: Show HN: Claude-thermos keeps your Claude session warm for you
#64Earlier quoted context omitted.
You can send and receive 1 byte and refresh the cache. Keeping the cache alive isn't free, but it's close.
if you are refreshing a cache of 120k tokens, you have to input the same 120k tokens. you can't bounce the cache with 1 byte. A proper cache hit requires your entire context that is cached. if you change 1 byte in it, everything after that byte is a cache write and no longer a cache hit
Re: Show HN: Claude-thermos keeps your Claude session warm for you
#65Earlier quoted context omitted.
How do a few extra requests with the same prefix make it more expensive for everyone else?
The prefix cache is a resource shared by all users. This is basically a tragedy of the commons.
The cache is discounted for a reason. They WANT you to use it.
Re: Show HN: Claude-thermos keeps your Claude session warm for you
#66Earlier quoted context omitted.
The prefix cache is a resource shared by all users. This is basically a tragedy of the commons.
If true, I suspect Anthropic will begin suspending accounts that use it.
Keeping your cache warm is a good thing, caching saves compute and electricity.
Cached input is cheap for a reason, it is in everyone’s mutual interests to maximise cache hit rates.
Re: Show HN: Claude-thermos keeps your Claude session warm for you
#67Earlier quoted context omitted.
Yes https://github.com/izeigerman/claude-thermos/blob/main/src%2...
CC actually prompts Claude about this by default in the ~20k system prompt and instructs it to avoid 300s timeout and to be mindful of the 300s cache expiration.
Re: Show HN: Claude-thermos keeps your Claude session warm for you
#68This is just making it more expensive for everyone else, right? How Claude handles its sessions is none of my business. I'm going to let them do the best they can to provide good service for everyone, and if they can't/won't, I'll switch to a provider that can. Using these massive models is already pretty danged extravagant, I'm not going to demand to be at the front of the queue at all times, too.
You PAY for cache writes. Holding the prefill in VRAM for a certain period of time is part of what you're paying for.
Re: Show HN: Claude-thermos keeps your Claude session warm for you
#69Earlier quoted context omitted.
If true, I suspect Anthropic will begin suspending accounts that use it.
I highly doubt that. Keeping your cache warm is a good thing, caching saves compute and electricity. Cached input is cheap for a reason, it is in everyone’s mutual interests to maximise cache hit rates.
Re: Show HN: Claude-thermos keeps your Claude session warm for you
#70This is just making it more expensive for everyone else, right? How Claude handles its sessions is none of my business. I'm going to let them do the best they can to provide good service for everyone, and if they can't/won't, I'll switch to a provider that can. Using these massive models is already pretty danged extravagant, I'm not going to demand to be at the front of the queue at all times, too.