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
{{ message }}
Repository navigation
opencode is double spending or half reporting openrouter credit spent #20937
I'm new to opencode, but for 2nd time when I use it and spending few dollars on a single session using openrouter, I found the credit spent was ~double the amount reported by opencode.
Plugins
none
OpenCode version
1.3.13
Steps to reproduce
Add openrouter
use any cheap model to test
spend like $2
check balance/activity in openrouter account.. You'll find it like $4 spent!
Nothing else is using openrouter at the same time.
I confirmed by choosing unique model and unique api key
Activity
github-actions commentedon Apr 3, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is covered by one of those, please consider adding a comment there instead.
Jaaaky commentedon Apr 4, 2026
Solved in proxysoul/Empryo#9 !! Very good. You can check/see how they solved it
@rekram1-node