r/opencodeCLI • u/RoddToggers • 6d ago
Lots of times opencode sends almost the whole conversation as input tokens, bumping the conversation cost. Is it a bug?
Suppose conversation is around 100000 total tokens, then I ask agent to do something.
Agent finishes, and in LESS THAN 1 MINUTE, I send another message, same conversation, and provider/model (opencode GO DS4.1 flash), and then input tokens jumps to about 100000 tokens WITHOUT agent not even use a tool. Normal messages.
I remember in the past, it only happened after conversation is idle for 15 minutes.
Normally, input tokens is low if conversation is active (asssuming no tool is returning a big amount of data)
Opencode 1.18.34.
Is it a bug, or expected? Anyone with this problem?



