News for hackers. Stuff that matters.
Re:An update on recent Claude Code quality reports by raron on Thursday April 23, 2026 @04:29PM (#47881448)
How big this cached data is? Wouldn't it be possible to download it after idling a few minutes "to suspend the session", and upload and restore it when the user starts their next interaction?
Re:An update on recent Claude Code quality reports by throwdbaaway on Thursday April 23, 2026 @05:54PM (#47882623)
Should be about 10~20 GiB per session. Save/restore is exactly what DeepSeek does using its 3FS distributed filesystem: https://github.com/deepseek-ai/3fs#3-kvcache

With this much cheaper setup backed by disks, they can offer much better caching experience:

> Cache construction takes seconds. Once the cache is no longer in use, it will be automatically cleared, usually within a few hours to a few days.

Re:An update on recent Claude Code quality reports by cyanydeez on Thursday April 23, 2026 @05:48PM (#47882554)
I often see a local model QWEN3.5-Coder-Next grow to about 5 GB or so over the course of a session using llamacpp-server. I'd better these trillion parameter models are even worse. Even if you wanted to download it or offload it or offered that as a service, to start back up again, you'd _still_ be paying the token cost because all of that context _is_ the tokens you've just done.

The cache is what makes your journey from 1k prompt to 1million token solution speedy in one 'vibe' session. Loading that again will cost the entire journey.

Re:An update on recent Claude Code quality reports by nl on Thursday April 23, 2026 @11:01PM (#47884968)
> upload and restore it when the user starts their next interaction

The data is the conversation (along with the thinking tokens).

There is no download - you already have it.

The issue is that it gets expunged from the (very expensive, very limited) GPU cache and to reload the cache you have to reprocess the whole conversation.

That is doable, but as Boris notes it costs lots of tokens.

Re:An update on recent Claude Code quality reports by vanviegen on Friday April 24, 2026 @04:57AM (#47887538)
You're quite confidently wrong! :-)

The kv-cache is the internal LLM state after having processed the tokens. It's big, and you do not have it locally.

Re:An update on recent Claude Code quality reports by nl on Friday April 24, 2026 @08:22PM (#47897406)
> The kv-cache is the internal LLM state after having processed the tokens. It's big, and you do not have it locally.

Yes - generated from the data of the conversation.

Read what I said again. I'm explaining how they regenerate the cache by running the conversation though the LLM to reconstruct the KV cache state.

Re:An update on recent Claude Code quality reports by cortesoft on Friday April 24, 2026 @12:39AM (#47885603)
What they mean when they say 'cached' is that it is loaded into the GPU memory on anthropic servers.

You already have the data on your own machine, and that 'upload and restore' process is exactly what is happening when you restart an idle session. The issue is that it takes time, and it counts as token usage because you have to send the data for the GPU to load, and that data is the 'tokens'.

Re:An update on recent Claude Code quality reports by vanviegen on Friday April 24, 2026 @04:54AM (#47887518)
Wrong on both counts. The kv-cache is likely to be offloaded to RAM or disk. What you have locally is just the log of messages. The kv-cache is the internal LLM state after having processed these messages, and it is a lot bigger.
Re:An update on recent Claude Code quality reports by cortesoft on Friday April 24, 2026 @12:48PM (#47892723)
I shouldn't have said 'loaded into GPU memory', but my point still stands... the cached data is on the anthropic side, which means that caching more locally isn't going to help with that.