Premium request billing with third-party cli's #188457
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
I'd like to report a bug that I noticed with third-party cli tools, specifically opencode, in billing of premium requests.
In opencode agents can be configured to use a specific model.
As was already mentioned in other bug reports like here billing of higher tier subagents can be bypassed when a agent with a lower multiplier spawns them, or even be free when a agent like gpt-5-mini is used.
microsoft/vscode#292452
This seems to have been fixed Client-Side, but no protection was added on the Copilot endpoints as it seems.
So third-party apps like opencode can still exploit this loophole.
I'd consider managing paying in a way that the multiplier of the most expensive model used in a user request is charged.
That aside, the account is not charged no matter if the initial request is made with copilot as provider or not.
Beta Was this translation helpful? Give feedback.
All reactions