You can use Codex CLI with an API key instead of a subscription, but then you won't have access to this new GPT-5 Codex model, since it's not out on the API yet. But normal GPT-5 in Codex is perfectly fine.

That's what was in my OP, I used the API approach, but the rate limits were insanely low (seemingly?) the agent died after 3 steps in a single question.

when was that @sergiotapia? last week we just upped the base rate limit for new API accounts

This was September 11th, 2025.

    gpt-5-2025-08-07
    38.887K input tokens
That was my usage, and I got rate limited. Thank you for your tips!