r/opencodeCLI • • 1d ago

Anyone else having issues with ChatGPT authentication in OpenCode?

I've been getting subscription_sharing_usage_limit_exceeded for several hours now, despite having available ChatGPT usage limits.

I'm using OpenCode 2.4.2 with ChatGPT Plus.

I've tried restarting OpenCode, switching IPs, restarting my router, re-authenticating, using standalone mode and creating new sessions. Nothing helped.

Interestingly, direct requests through curl using the same OAuth token sometimes work, while OpenCode itself consistently fails.

I also can't use Codex Legacy authentication because I don't have an eligible phone number.

Has anyone found a workaround for this? I'm honestly running out of ideas.

1 Upvotes

4 comments sorted by

1

u/assid2 1d ago

I’m sorry, maybe I broke it

1

u/DrinkClubMate 2h ago

I'm not sure you are allow to use chatGPT account on opencode, without a proper chatGPT API key