#Can't add chat GPT oauth

1 messages · Page 1 of 1 (latest)

solid idol
#

I got this error message but I have a chat gpt plus plan and I didn't think I would need an api key:

⚠️ API provider returned a billing error — your API key has run out of credits or has an insufficient balance. Check your provider's billing dashboard and top up or switch to a different API key.

snow salmonBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

solemn anvilBOT
# solid idol I got this error message but I have a chat gpt plus plan and I didn't think I wo...

ChatGPT Plus (the web app subscription) and the OpenAI API are billed separately.

So if OpenClaw is using an openai/... model (regular OpenAI API), you still need an API key with API billing enabled on the OpenAI Platform account. That error usually means the API account has no credits / no payment method / exhausted quota.

You have two valid paths:

  1. Use the OpenAI API (needs API key + billing)
  1. Use “subscription OAuth” (no API key) via Codex
    OpenClaw supports ChatGPT sign-in for the openai-codex provider (Codex), not the normal openai API provider:
openclaw models auth login --provider openai-codex
openclaw models set openai-codex/gpt-5.2