You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Context window usage indicator is not displayed #24272
bugSomething isn't workingcontextIssues related to context management (including compaction)extensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systems
Just noticed that the context window usage indicator is no longer displayed.
Before:
Now:
What steps can reproduce the bug?
Use an earlier version of the Codex VS Code extension.
Use the current version of the Codex VS Code extension.
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.
Reacted by Briento Medallion, Xuan Nguyen, Eugene Myasyshchev, PHPLego, Anıl Zeybek and NorLz
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.
@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".
Reacted by Misha, skorobogatko, Xuan Nguyen, xbyang, Wiktor Golicz, Eugene Myasyshchev and Napster
@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.
Once it's activated, it stays on all the time for the current and future threads:
@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.
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.
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.
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.
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
@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.
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.
@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.
@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.
bugSomething isn't workingcontextIssues related to context management (including compaction)extensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon May 23, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
MisterRound commentedon May 23, 2026
"New, improved unlimited context!" 😀
mklusz commentedon May 23, 2026
It’s not a bug, it’s a feature!
gomisha commentedon May 24, 2026
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.
alexchexes commentedon May 24, 2026
@gomisha Thanks. Another workaround is to enable the
/statuspanel. 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".xuanswe commentedon May 25, 2026
Same issue in codex desktop: #23794
gomisha commentedon May 25, 2026
@alexchexes I'm finding that once activated, the
/statuspanel keeps displaying the context window at all times for new and existing threads, not just on demand.I activate it by typing
/statusand then selecting theStatus Toggle Context Usageoverlay popup.Once it's activated, it stays on all the time for the current and future threads:
Wiktor102 commentedon May 25, 2026
Thanks @gomisha !
On hover, it also shows the exact token numbers:
alexchexes commentedon May 25, 2026
@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
/statusopens a completely different panel.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.
gemyago commentedon May 26, 2026
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.
gomisha commentedon May 27, 2026
@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
/statusalexchexes commentedon May 27, 2026
@gomisha Ah, got it. Sorry, this was really confusing, as this issue has
extension+windows-oslabels, and you did not mention that you were not talking about the extension or about Windows.Anyway, thanks for your input.
etraut-openai commentedon May 29, 2026
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.
alexchexes commentedon May 29, 2026
@etraut-openai Probably that version has not been released yet? VS Code shows the latest
openai.chatgptversion is26.519.32039, dated1 week ago, and it doesn't have that toggle under theGeneraltab.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.
etraut-openai commentedon May 29, 2026
@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.
SkyNetX1 commentedon Jun 9, 2026
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