返回
RCreddit.com
16
·1天前·开发者社区 · RSS

How I got my Mac to read my Claude Code chats at night and extend my token usage by 1/3rd

查看原文
Claude模型发布订阅权益开源代码端侧推理

热度趋势

新上榜
最近 24 小时与此前 24 小时对比 · 7 天曲线

百分比基于当前可用热度信号,而非评论数或独立用户人数。

推荐理由

Claude 相关模型动态已经出现,适合跟踪能力变化、生态影响和后续可用性。

AI 摘要

一位开发者找到了一种方法,通过让他们的Mac在本地阅读Claude Code聊天记录,从而将他们的令牌使用量延长了三分之一。此前,他们很大一部分令牌使用量都花在了重新阅读未更改的文件和旧聊天记录上。现在,Mac会在聊天发生时处理它们,为新的聊天总结关键信息,有效地减少了昂贵的模型重新阅读所有内容的需要。这种方法使他们能够保持其Max计划,同时让令牌使用效率更高。

I kept hitting my weekly limit two days before my reset. So I dug into where the week was actually going. About a third of my usage was re-reads: the same files getting read again even though they hadn't changed, and old chats getting pulled into new ones over and over.

Apple Intelligence might not be the fastest AI, but it's great at reading through my chats at night for free. You don't need the smartest model to read a chat log. Reading is easy work.

So my setup now: my Mac reads each chat as it grows, on my own machine, zero tokens, even while I sleep. When a chat is finished, my Mac writes the handoff: what happened, what was decided, what's next, which files were touched. The next morning, my new chat starts already knowing all of that, instead of the expensive model re-reading everything at full price. And I have it set up so anything my Mac can't read gets pushed to Haiku. So far I haven't needed it, my Mac has handled all of it.

I kept my same Max plan but I'm making the tokens go about 1/3rd further.