VS Code extension still shows a 258K token context limit for GPT-5.4, while the model is documented as supporting 1M tokens

Resolved 💬 4 comments Opened Mar 6, 2026 by lausannel Closed Mar 6, 2026

What I observed

In the Codex VS Code extension, when selecting GPT-5.4, the displayed context window is still shown as 258K tokens rather than 1M tokens.

<img width="892" height="290" alt="Image" src="https://github.com/user-attachments/assets/e692db32-4adb-457d-b6fb-e83fb358a5fc" />

Expected behavior

If GPT-5.4 currently supports 1M tokens in Codex / the VS Code extension, I would expect the extension UI to reflect that.

<img width="1392" height="528" alt="Image" src="https://github.com/user-attachments/assets/c9e06fd8-e48f-43f3-8ea2-2b0f2881acc3" />

If the extension currently enforces a lower effective limit (such as 258K), it would be helpful to clarify that explicitly in the UI or docs, so users understand whether:

  • the model itself supports 1M tokens,
  • but the extension currently supports less,
  • or the 258K value is outdated.

Questions

  1. Is the 258K value in the VS Code extension just a UI bug / stale metadata?
  2. Does Codex currently expose a smaller effective context window for GPT-5.4 than the model’s full 1M-token capability?
  3. If so, is there any plan to align the extension UI and actual available context window?

Extension Version:

Name: Codex – OpenAI’s coding agent
Id: openai.chatgpt
Description: Codex is a coding agent that works with you everywhere you code — included in ChatGPT Plus, Pro, Business, Edu, and Enterprise plans.
Version: 26.304.20706
Publisher: OpenAI
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=openai.chatgpt

Thanks!

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗