Skip to content

Context window at 42% left, complaining "Your input exceeds the context window of this model" #3177

Closed

Description

@guidedways

What version of Codex is running?

0.29.0

Which model were you using?

GPT5-high

What platform is your computer?

macOS

What steps can reproduce the bug?

Image

This happens every time I'm near or around 40% any new input is refused and it complains about context window size. Why is it saying 40% left, is that a bug in how it's counting tokens or is that a bug elsewhere? Many times the input that triggers this is just a continuation and the change requested is minimal, nothing that would consume 40% of remaining tokens.

What is the expected behavior?

40% is a lot of tokens remaining I expect it to continue to work

What do you see instead?

Complains input exceeeds context window size.

Additional information

No response

Activity

  1. self-assigned this
    on Sep 4, 2025
  2. pakrym-oai commented on Sep 4, 2025

    @pakrym-oai
    Contributor

    Dup of #2825

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions