Skip to content

Context window usage indicator is not displayed #24272

Closed

Description

@alexchexes

What version of the IDE extension are you using?

26.519.32039

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

Just noticed that the context window usage indicator is no longer displayed.

Before:

Image

Now:

Image

What steps can reproduce the bug?

  1. Use an earlier version of the Codex VS Code extension.
  2. Use the current version of the Codex VS Code extension.
  3. Notice that the context window usage indicator is no longer displayed.

What is the expected behavior?

The context window usage indicator should be displayed.

Additional information

Without this indicator, it is impossible to understand the current context window usage. This information is essential for users who have long chat sessions, because when the context becomes large enough, it is automatically compacted.

Since we know that not all the information is preserved during compaction, it is important to know when the context is going to be compacted at the beginning of the next turn.

This critical part of the current state should be visible without any additional actions. It is as important as the battery indicator on a phone and should remain visible in all cases.

Activity

  1. added
    extension
    on May 23, 2026
  2. added
    bug
    windows-os
    context
    on May 23, 2026
  3. MisterRound commented on May 23, 2026

    @MisterRound

    "New, improved unlimited context!" 😀

  4. mklusz commented on May 23, 2026

    @mklusz

    It’s not a bug, it’s a feature!

  5. gomisha commented on May 24, 2026

    @gomisha

    I couldn't add this to the original issue (#23794) since it's locked so I'll add the workaround here:

    Type the slash command in the Codex thread input box and that opens up different sub-commands, one of which is to compact the current context. That sub-command shows you how much context is left.

    Image
  6. alexchexes commented on May 24, 2026

    @alexchexes
    Author

    @gomisha Thanks. Another workaround is to enable the /status panel. But once again, the issue is the disappearance of a tiny yet highly valuable UI element that shows an essential piece of information about the current state and that should be displayed at all times, not "on-demand".

  7. xuanswe commented on May 25, 2026

    @xuanswe

    Same issue in codex desktop: #23794

  8. gomisha commented on May 25, 2026

    @gomisha

    @alexchexes I'm finding that once activated, the /status panel keeps displaying the context window at all times for new and existing threads, not just on demand.

    I activate it by typing /status and then selecting the Status Toggle Context Usage overlay popup.

    Image

    Once it's activated, it stays on all the time for the current and future threads:

    Image
  9. Wiktor102 commented on May 25, 2026

    @Wiktor102

    Thanks @gomisha !
    On hover, it also shows the exact token numbers:

    Image
  10. alexchexes commented on May 25, 2026

    @alexchexes
    Author

    @gomisha Hmm, just checked your screenshot (it wasn't displayed in the mail notification) - at first, I was thinking we were talking about the same thing, but now I see how weird that is because, in my case, I do not have that panel at all, and /status opens a completely different panel.

    Image Image

    I still have context usage in that panel, and that's why I mentioned it as a workaround, but, now I am really curious whether my panel version is old or new, and how the panel you use looks in VSCode. Are you even in vscode? What OS? If you can, please share a screenshot of the full VS Code UI with that panel, as I am really confused about how such a tall panel like that can fit the narrow VSCode chat side panel and stay visible at all times without taking half of the chat height.

  11. gemyago commented on May 26, 2026

    @gemyago

    Likely will be closed as a duplicate of #23794. This is so frustrating that it was removed. I get all this "unlimited context" marketing stuff, but we all know what that means in practice, and I would rather start a new session when I see it's close to the limit. Compaction is good sometimes, but sometimes it's not what I want. It's like removing fuel tank indicator from a car - use your intuition.... not sure what the product vision was behind this, but it's clearly not aligned to how I personally work with AI.

  12. gomisha commented on May 27, 2026

    @gomisha

    I still have context usage in that panel, and that's why I mentioned it as a workaround, but, now I am really curious whether my panel version is old or new, and how the panel you use looks in VSCode. Are you even in vscode? What OS? If you can, please share a screenshot of the full VS Code UI with that panel, as I am really confused about how such a tall panel like that can fit the narrow VSCode chat side panel and stay visible at all times without taking half of the chat height.

    @alexchexes I'm using the MacOS Codex desktop app (Version 26.519.81530 (3178)) on Mac (Sequoia 15.7.3)

    There's a button in the top right to open up the side panel (red arrow in screenshot) and that side panel shows the context usage after you type and select /status

    Image
  13. alexchexes commented on May 27, 2026

    @alexchexes
    Author

    @gomisha Ah, got it. Sorry, this was really confusing, as this issue has extension + windows-os labels, and you did not mention that you were not talking about the extension or about Windows.

    Anyway, thanks for your input.

  14. etraut-openai commented on May 29, 2026

    @etraut-openai
    Contributor

    In response for feedback from the community, we've decided to move the "donut" indicator back to the composer box. Some users noted that this worked better for their workflows.

    In the latest version of the extension, you can enable this indicator by going to "General" tab in the Settings panel and enabling the "Show context window usage" toggle switch. You should then see the indicator in your composer box.

    Apologies for any confusion resulting from this series of changes. We're trying to be responsive to user feedback, and some of that feedback was contradictory. We think that we've landed on a solution that addresses everyone's needs.

  15. alexchexes commented on May 29, 2026

    @alexchexes
    Author

    @etraut-openai Probably that version has not been released yet? VS Code shows the latest openai.chatgpt version is 26.519.32039, dated 1 week ago, and it doesn't have that toggle under the General tab.

    Hope the actual version will land soon.

    P.S.
    Thank you very much for listening to the feedback even when it appears contradictory. Configurable UI is the best solution in such cases, that's for sure.

  16. etraut-openai commented on May 29, 2026

    @etraut-openai
    Contributor

    @alexchexes, you're correct — the change hasn't shown up yet in the production release. If you switch to the prerelease version (26.5527.30818), you'll see it. It will be included in the next release version.

  17. SkyNetX1 commented on Jun 9, 2026

    @SkyNetX1

    Yes, thank you. At least it's in settings. This was driving me crazy. You absolutely should not get rid of it thanks for listening to your users

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcontextextensionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions