top | item 43313737

(no title)

slooonz | 11 months ago

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…

discuss

order

BeetleB|11 months ago

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?

mwigdahl|11 months ago

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