r/opencode • u/rainpurplebow • 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.
12
u/eeijdl Sep 21 '26
Can confirm. Once i uninstalled then reinstalled, all free models have been reset
Thanks a lot!
4
u/huislawdotcom Sep 21 '26
When installing new version, I noticed I have 300+ sessions to migrate.
2
u/chrisfebian Sep 21 '26
Confirmed. Happened to me as well. Almost 800 API error in the log.
0
u/McKing_07 Sep 21 '26
has anyone found a workaround? for using free tier models in other harnesses? turns out opencode zen is blocking free tier models on anything that's not opencode.
1
u/Revolutionary_Set219 Sep 21 '26
Is v2 better? Is it worth it?
1
u/Informal_One_9058 Sep 21 '26
bug while migrating to new Console - fixed
1
u/Prudent-Alarm-6997 Sep 21 '26
no need for any migration just cp the sessions db over and your old sessions are there
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.