GeezerVison is showing github.com — feat(core): update Copilot for token-based billing by rekram1-node · Pull Request #30181 · anomalyco/opencode
Conversation
rekram1-node
commented
Jun 1, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
- move Copilot requests to the new API version and load available models/pricing from
/models
- handle incomplete model records without dropping dynamic discovery,
- use Copilot utility models for session titles without exposing hidden models in the picker
- track billed session cost from
copilot_usage.total_nano_aiu, with advertised model prices kept as a fallback
- avoid treating Copilot cached-input pricing as a cache-write rate when the API does not return one
- switch to UBB
Remaining work:
- long context pricing opt in (need to figure out how to display that to users)
closes: #30092
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
gulbanana reacted with thumbs up emoji
skyfrk reacted with heart emoji
All reactions
-
👍
1 reaction
-
❤️
1 reaction
rekram1-node
changed the title
feat: update copilot for new api/token based billing
fix(opencode): update Copilot for token-based billing
Jun 1, 2026
rekram1-node
changed the title
fix(opencode): update Copilot for token-based billing
feat(core): update Copilot for token-based billing
Jun 1, 2026
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jul 14, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.