Skip to content

feat(core): update Copilot for token-based billing#30181

Merged
rekram1-node merged 10 commits into
devfrom
gh-copilot-change
Jun 1, 2026
Merged

feat(core): update Copilot for token-based billing#30181
rekram1-node merged 10 commits into
devfrom
gh-copilot-change

Conversation

@rekram1-node
Copy link
Copy Markdown
Collaborator

@rekram1-node rekram1-node commented Jun 1, 2026

  • 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

@rekram1-node rekram1-node marked this pull request as draft June 1, 2026 04:47
@rekram1-node rekram1-node marked this pull request as ready for review June 1, 2026 19:03
@rekram1-node 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 rekram1-node changed the title fix(opencode): update Copilot for token-based billing feat(core): update Copilot for token-based billing Jun 1, 2026
@rekram1-node rekram1-node merged commit ae92f31 into dev Jun 1, 2026
10 checks passed
@rekram1-node rekram1-node deleted the gh-copilot-change branch June 1, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: fix(github-copilot): xhigh reasoning variant missing from GPT-5.x models

1 participant