Why can't I access the 1M-token model context window when using the Azure API?

Open 💬 1 comment Opened Jul 23, 2026 by ZhengXiaoen
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

26.715.12143

What subscription do you have?

Azure PayGo

What platform is your computer?

Windows 11

What issue are you seeing?

The model’s context length should not be entirely controlled by the client. I use Codex because it’s a good product, but the backend I’m connected to is Azure OpenAI, which already supports a 1M-token context window. The client should not hard-code the context length and impose restrictions on my usage. I understand that requests exceeding 272K tokens may incur additional charges, but since I’m using a Pay-As-You-Go subscription, users like us should not be subject to such limitations.

What steps can reproduce the bug?

none

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 1 month ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #34619
  • #34156

Powered by Codex Action