Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Remember that input tokens are quadratic with the length of the conversation, since you re-upload the n previous messages to get the (n+1)-nth message. When Claude completes a task in 3-4 shots, that’s cents. When he goes down in a rabbit hole, however…


I'm aider there's a command to "reset" so it doesn't send any prior chat. Whenever I complete a mini feature I invoke the command. It helpfully shows the size of the current contact in tokens and the cost so I keep an eye on it.

Doesn't Code have a similar option?


It does — /clear. It also has /compact to summarize previous tasks to preserve some situational awareness while reducing context bulk.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: