Skip to content

The /compact command does not work #10496

Closed

Description

@Genrie9

Description

I executed the /compact command, it ran, but it didn't help: “prompt token count of 425097 exceeds the limit of 128000” while the counter at the top right shows: “37,704 19% ($0.00) v1.1.35”

@rekram1-node @thdxr Please help, I can't continue working because of this error.

Plugins

No response

OpenCode version

1.1.35

Steps to reproduce

No response

Screenshot and/or share link

Image Image

Operating System

Windows 10

Terminal

Powershell

Activity

  1. github-actions commented on Jan 25, 2026

    @github-actions
    Contributor

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

    These issues all relate to compaction failures when token count exceeds model limits. Feel free to ignore if your specific case differs from these reports.

  2. Relequestual commented on Jan 26, 2026

    @Relequestual

    I can confirm this for MacOS and other providers.

  3. wongmjane commented on Jan 31, 2026

    @wongmjane

    Seems like the case whenever I use Claude Opus 4.5 hosted through GitHub Copilot

  4. github-actions commented on Apr 2, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions