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
We are using OpenCode on our platform Ideavo AI . We need to track the usage and show it to user for transparency. In the usage, cache input and output shows zero, and the Maths doesn't add up when calculating the api cost on either opencode and zen dashboard. OpenCode cost is way up, Zen dashboard cost is lesser than calculated.
@i-m-sid Zen API currently doesn't return cache read tokens usage. This is causing the cost shown in OpenCode tui more than the real cost. We are going to have this fixed this/next week.
Activity
github-actions commentedon Oct 14, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case with OpenCode Zen.
rekram1-node commentedon Oct 14, 2025
Are you being charged more than expected? Or is the tui lying and saying something is more expensive than it is?
i-m-sid commentedon Oct 14, 2025
We are using OpenCode on our platform Ideavo AI . We need to track the usage and show it to user for transparency. In the usage, cache input and output shows zero, and the Maths doesn't add up when calculating the api cost on either opencode and zen dashboard. OpenCode cost is way up, Zen dashboard cost is lesser than calculated.
rekram1-node commentedon Oct 14, 2025
gotcha, yeah I think the tui has some flaw in the calculation, we really need to fix that
fwang commentedon Oct 14, 2025
@i-m-sid Zen API currently doesn't return cache read tokens usage. This is causing the cost shown in OpenCode tui more than the real cost. We are going to have this fixed this/next week.
The cost shown in Zen dashboard is correct.