Sounds great! Another feature request is to add api request history somewhere. On opencode I spent $20 very quickly and it was really helpful for figuring out exactly which API calls caused it. Including number of tokens in/out, dollar amount of upstream, and payment amount would be awesome. Also, I've noticed that the current tally of dollar amount doesn't show in opencode like it does for other providers.
Login to reply
Replies (1)
Yes. Will have usage history in the SDK. Just fixing the last few bugs. 🐛
OpenCode dollar amount integration in the TUI requires a custom plugin. That’s something we can add a bit later. But you’ll get usage stats very soon.
As things are moving at lightning speed, it might not make sense to put in the effort of integrating ourselves into every agent framework.
Soon you might not be looking at the TUI at all. Thats why we’re thinking about generic per session costs for all kinds of agents.