GPT5 Thinking has a larger input context window than Pro?

I’m inputting my entire codebase into my initial prompt. This works fine with Thinking mode, but once I switch to Pro mode it says the message is too long.

How does this make sense? What are the exact token limits for ChatGPT GPT5 inputs?