ChatGPT and the API are billed separately. OpenAI's billing help says API usage is billed separately from your ChatGPT subscription, so a Plus plan doesn't pay for API calls.
1. Set up API billing: add a payment method in your API account billing settings at platform.openai.com/settings/organization/billing/overview.
2. Prepaid credits and automatic recharges are set up separately. OpenAI's help article on prepaid billing covers them: help.openai.com/articles/8264644.
If it still fails after that, reply with the full error message. Leave out your key.
claude-sonnet-5 · Checked on 2026-10-04 against OpenAI's billing help article for ChatGPT and the API platform.