GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(core): update Copilot for token-based billing by rekram1-node · Pull Request #30181 · anomalyco/opencode

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Jun 1, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • 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
fix(opencode): add Copilot request headers
36c3d15
@rekram1-node
rekram1-node marked this pull request as draft June 1, 2026 04:47
rekram1-node added 7 commits June 1, 2026 00:28
@rekram1-node
Merge branch 'dev' into gh-copilot-change
a7d6f75
@rekram1-node
fix(opencode): parse Copilot model pricing
31ac4c3
@rekram1-node
fix(opencode): tolerate incomplete Copilot models
a858c09
@rekram1-node
fix(opencode): parse non-chat Copilot models
a78b321
@rekram1-node
fix(opencode): isolate Copilot model decode failures
a19b167
@rekram1-node
fix(opencode): select Copilot utility title models
346050d
@rekram1-node
fix(opencode): record authoritative Copilot usage cost
15dc970
@rekram1-node
rekram1-node marked this pull request as ready for review June 1, 2026 19:03
@rekram1-node
fix(opencode): avoid incorrect Copilot cache write pricing
9ec5828
@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
tweak: cleanup
86d9c0e
@rekram1-node
rekram1-node merged commit ae92f31 into dev Jun 1, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node
rekram1-node deleted the gh-copilot-change branch June 1, 2026 19:55
isaacfinnegan pushed a commit to isaacfinnegan/whispercode that referenced this pull request Jun 15, 2026
@rekram1-node
feat(core): update Copilot for token-based billing (anomalyco#30181)
4912c42
@fermumen fermumen mentioned this pull request Jun 29, 2026
GitHub Copilot Claude effort levels are now in /models; opencode should stop filtering them #34438
Closed
This was referenced Jul 14, 2026
opencode 1.16.0+ adds X-GitHub-Api-Version header the proxy doesn't send (parity follow-up to #317) stuffbucket/maximal#318
Closed
feat(config): send X-GitHub-Api-Version on opencode Copilot requests stuffbucket/maximal#323
Closed
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
@rekram1-node
feat(core): update Copilot for token-based billing (#30181)
89302ec
@rekram1-node rekram1-node mentioned this pull request Nov 5, 2026
refactor(core): run GitHub Copilot on native ai protocols #62034
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rekram1-node
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.