Skip to content

Copilot CLI has higher context window than GitHub Copilot extension #16861

@zhzy0077

Description

@zhzy0077

Question

Problem

opencode appears to use static GitHub Copilot model limits that are lower than the live Copilot CLI /models response.

Examples from the same account:

Image
  • claude-opus-4.6: live CLI 200000, opencode/models.dev 128000
  • claude-sonnet-4.6: live CLI 200000, opencode/models.dev 128000
  • claude-haiku-4.5: live CLI 144000, opencode/models.dev 128000

This looks like opencode is using static catalog metadata instead of live Copilot model metadata.

Plugins

I forked https://github.com/zhzy0077/opencode-copilot-auth and simply add below and re login to use.

{
  "plugin": [
    "@zhzy0077/opencode-copilot-cli-auth@0.0.15"
  ]
}

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions