Live data from Hacker News

Show HN: Claude-thermos keeps your Claude session warm for you

github.com

41–50 of 91 posts

Re: Show HN: Claude-thermos keeps your Claude session warm for you

#41

Earlier quoted context omitted.

The idea here is that your conversation is being swapped out for no good reason. The session is still active, as the subagents continue to make progress. How is this comparable to going to lunch or taking a walk?

Is that actually happening, though?

Yes https://github.com/izeigerman/claude-thermos/blob/main/src%2...

Re: Show HN: Claude-thermos keeps your Claude session warm for you

#42

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.

From the README: > Detect the danger window. When the main lineage goes idle and a subagent is actively running, the main prefix is at risk of expiring. So, this is not demanding to be at the front of the queue, it's just paying someone to take the place you already had in the queue, when you want to take a leak.

A subagent running doesn't mean that much, though. I often walk away while the subagents are chewing.

Re: Show HN: Claude-thermos keeps your Claude session warm for you

#44

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.

Eh, I assume Anthropic prices queries somewhere in line with their actual costs. If they don't, and they misalign incentives instead, that's kinda on them.

Re: Show HN: Claude-thermos keeps your Claude session warm for you

#46

Earlier quoted context omitted.

From the README: > Detect the danger window. When the main lineage goes idle and a subagent is actively running, the main prefix is at risk of expiring. So, this is not demanding to be at the front of the queue, it's just paying someone to take the place you already had in the queue, when you want to take a leak.

A subagent running doesn't mean that much, though. I often walk away while the subagents are chewing.

The defaults seem sensible. This isn't keep-alive-forever by default solution.

Re: Show HN: Claude-thermos keeps your Claude session warm for you

#47

Glad this exists. It will force anthropic to fix their flawed cache mechanism.

How should they fix it?

Default to 1h. Allow setting it to longer or shorter, granularly. Add /pause to mark it for eviction, for a token refund.

Re: Show HN: Claude-thermos keeps your Claude session warm for you

#48

Earlier quoted context omitted.

Is that actually happening, though?

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

#49

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.

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.

Re: Show HN: Claude-thermos keeps your Claude session warm for you

#50

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.

I agree with you. And sadly, there's nothing we can do about it because it's an arms race. People will try to exploit loopholes to get more benefits and companies will try to prevent exploits--sometimes by making the service worse for normal users.

In this specific case, Anthropic can avoid keeping the cache if it detects this kind of prompt (i.e., if max tokens < some number).

Post reply on HN