openai-codex models have wrong contextWindow (272K instead of 400K) #1462
sauerdaniel
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
All 6 openai-codex models in
packages/ai/src/models.generated.tshavecontextWindow: 272000. OpenAI's platform docs list them all at 400,000.Models affected:
gpt-5.1,gpt-5.1-codex-max,gpt-5.1-codex-mini,gpt-5.2,gpt-5.2-codex,gpt-5.3-codex.Sources:
I have a fix ready at #1461 — one-line change per model. Happy to resubmit the PR once approved.
Beta Was this translation helpful? Give feedback.
All reactions