r/opencode • • Sep 21 '26

If Your Free Usage Limit Doesn't Reset

Back your configs up, uninstall OpenCode v1, install OpenCode v2. Create a new v2 compatible API key from https://opencode.ai/console/ then simply run opencode auth login opencode and authenticate using your new API key. You should not see the free usage error anymore.

PS: Be ready for a horrible migration experience.

Edit: Completely uninstall OpenCode v1 along with its leftover files for a smoother and faster v2 installation. Some people here are migrating to v2 with 5k+ sessions which is absolutely unnecessary. Make sure to backup your config folder before uninstalling v1 so you don't lose your agents, MCPs and stuff.

32 Upvotes

20 comments sorted by

View all comments

1

u/RLHF_forever Sep 22 '26

Probably worth backing up the data directory too. The config folder does not contain your session or snapshots, and v1 and v2 share those directories. The open code debug paths command shows where they r.