You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These issues all involve compaction-related problems with prompt token limits and context management. Your issue specifically mentions using Opus 4.5 with a context fill followed by running /compact. Issues #6286 and #6068 describe similar symptoms where compaction fails with Opus models when context is nearly full, and issue #9349 reports auto-compaction failing to work properly even when configured.
Feel free to ignore if your specific case is distinct from these.
Crucial Update: I've discovered that this happens even in a completely empty directory. When I send a simple "hello", the system still tries to send ~377k tokens, specifically with a massive amount of tool input (~217k tokens).
This confirms that the bug isn't necessarily about the project size, but rather OpenCode incorrectly scanning global/system paths or failing to clear session context on Windows.
I've tested this with Kimi, GLM, and MiniMax (Free/Paid) and the behavior is identical across all providers.
@chelebyy You are using a plugin for Omo, try using without that plugin, also feel free to share opencode debug config, I imagine you have a bunch of things being sent that are bloating context.
Activity
github-actions commentedon Jan 24, 2026
This issue might be a duplicate of existing issues. Please check:
These issues all involve compaction-related problems with prompt token limits and context management. Your issue specifically mentions using Opus 4.5 with a context fill followed by running /compact. Issues #6286 and #6068 describe similar symptoms where compaction fails with Opus models when context is nearly full, and issue #9349 reports auto-compaction failing to work properly even when configured.
Feel free to ignore if your specific case is distinct from these.
chelebyy commentedon Feb 15, 2026
I am experiencing this exact issue on Windows 11.
Crucial Update: I've discovered that this happens even in a completely empty directory. When I send a simple "hello", the system still tries to send ~377k tokens, specifically with a massive amount of tool input (~217k tokens).
This confirms that the bug isn't necessarily about the project size, but rather OpenCode incorrectly scanning global/system paths or failing to clear session context on Windows.
I've tested this with Kimi, GLM, and MiniMax (Free/Paid) and the behavior is identical across all providers.
rekram1-node commentedon Feb 15, 2026
@chelebyy You are using a plugin for Omo, try using without that plugin, also feel free to share
opencode debug config, I imagine you have a bunch of things being sent that are bloating context.chelebyy commentedon Feb 15, 2026
@rekram1-node yes the problem is Omo
debug_config.txt
`