Cannot redeem credits when using log with ChatGPT (PRO)
What version of Codex is running?
0.1.2505161800
Which model were you using?
codex-mini-latest
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
Try to log with ChatGPT
What is the expected behavior?
Credit redemption works properly and I can see the grant
What do you see instead?
codex
Opening login page in your browser: https://auth.openai.com/oauth/authorize?response_type=code&client_id=
Credit redemption request failed: 404 Not Found
Additional information
No response
I have the same issue on MacOS client:
Credit redemption request failed: 404 Not Found
$ codex login
Sign in with ChatGPT to generate an API key or paste one you already have.
[use arrows to move, enter to select]
❯ Sign in with ChatGPT
Paste an API key (or set as OPENAI_API_KEY)
Opening login page in your browser: ***
Credit redemption request failed: 404 Not Found
( ● ) Waiting for authentication… ctrl + c to quit
The model "codex-mini-latest" does not appear in the list of models available to your account. Double-check the spelling (use
openai models list
to see the full list) or choose another model with the --model flag.
Yeah, same issue here:
codex
Sign in with ChatGPT to generate an API key or paste one you already have.
[use arrows to move, enter to select]
❯ Sign in with ChatGPT
Paste an API key (or set as OPENAI_API_KEY)
Opening login page in your browser: ****************
Credit redemption request failed: 404 Not Found
( ● ) Waiting for authentication… ctrl + c to quit
╭──────────────────────────────────────────────────────────────╮
│ ● OpenAI Codex (research preview) v0.1.2505161800 │
╰──────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────╮
│ localhost session: 44520ff8f7c54f2db173910ef2e9acc5 │
│ ↳ workdir: ~ │
│ ↳ model: codex-mini-latest │
│ ↳ provider: openai │
│ ↳ approval: suggest │
╰──────────────────────────────────────────────────────────────╯
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
try: explain this codebase to me | fix any build errors | are there any bugs in my code?
+1, exact same issue.
To be eligible to receive Sign in with ChatGPT promotional credits, ChatGPT Plus or Pro subscriptions must be >7 days old & have a default payment method set in the selected API org.
One needs to add a minimum $5 credit for that.
Ok, I managed to get credits by adding the billing account in the OpenAI settings page.
Then executed:
npm i -g @openai/codex@latest
codex --free
Ok, I managed to get credits by adding the billing account in the OpenAI settings page.
Could you elaborate how exactly you did that? I already have a payment method setup, and have credits, but cannot get the redemption process to work
0.1.2505161800
Happens in v0.1.2505171619?
Yes - same for me. On Mac it has a different issue (made a issue for it).
When I try windows I get 404. Have latest version, billing setup. Have had API account/access for about a year.
Same issue:
codex --free
codex --free attempting to redeem credits...
Credit redemption request failed: 400 Bad Request
╭──────────────────────────────────────────────────────────────╮
│ ● OpenAI Codex (research preview) v0.1.2505172129 │
╰──────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────╮
│ localhost session: 4d9ba[redacted]7c8fc50f9530d9 │
│ ↳ workdir: ~/src/experiments/sites/subeggs/src │
│ ↳ model: codex-mini-latest │
│ ↳ provider: openai │
│ ↳ approval: suggest │
╰──────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────────────────────────────────────────────╮
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────╯
try: explain this codebase to me | fix any build errors | are there any bugs in my
code?
Is there still no fix for this?
Thanks for the feedback! Please try again on the latest version of Codex CLI. If the issue persists, feel free to reach out with additional details.