OpenAI shrank the Codex context window on purpose
OpenAI reduced the Codex model's context size from 372k to 272k tokens. There was no announcement; the change appeared in a pull request in the open-source Codex CLI repo, and that pull request reached the Hacker News front page.