Skip to content

Claude Opus in GitHub Copilot and Anthropic have different context window #18832

Closed

Description

@jcubic

Description

You've removed the option to use "Claude Max" plan, so I wanted to switch to GitHub Copilot. But it looks like Copilot, even with the same model, Opus 4.6, has the same context window as Sonnet.

I have a session with 311,373 tokens for Opus in Claude Max, it's fine. But Copilot throws an error:

Conversation history too large to compact - exceeds model context limit

It's not possible to continue my session or to create a summary.

I don't want to pay just to create a summary of that session. With an API key, you pay per token.

Plugins

No response

OpenCode version

1.3.0

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Fedora 43

Terminal

xfce-terminal

Activity

  1. changed the title [-]Claude Opus in GitHub Copilot and Anthropic have different token count[/-] [+]Claude Opus in GitHub Copilot and Anthropic have different context window[/+] on Mar 23, 2026
  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 23, 2026
  3. github-actions commented on Mar 23, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Please review those issues to see if your problem is already being tracked, and if so, consider adding a comment there with any additional details rather than opening a new issue.

  4. elijahmorg commented on Mar 25, 2026

    @elijahmorg

    The context window for the Github Copilot Opus 4.6 is smaller :(

    You can check on models.dev for context window size.

  5. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions