API keys created before setting up billing don't work

This is a bit hard to verify since I think it only happens once for new accounts. However, I’ve got this feedback from 4 different users of my ChatGPT API wrapper UI https://assistant.bloat.app

Steps to reproduce (I think):

  1. Register a new account (requires a new phone number so I can’t do this)
  2. Create a new API key from https://platform.openai.com/account/api-keys
  3. Set up billing from https://platform.openai.com/account/billing/payment-methods
  4. Try to use the API with the API key

This won’t work according to the feedback I’ve got. The fix is to create another API key after setting up billing. I think the API keys should work regardless of the order, as long as both the API key is created and billing is set up.

Just chiming in to say my users are having this issue as well.

The error message doesn’t seem very helpful here, as it’s a generic 429 that says “You’ve exceeed your current quota…”

It doesn’t actually indicate that the user needs to generate a new API key after entering billing details.