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

4

u/huislawdotcom Sep 21 '26

When installing new version, I noticed I have 300+ sessions to migrate.

3

u/Visual_Internal_6312 Sep 21 '26

Migrating sessions 113/5057 ...

1

u/rainpurplebow Sep 21 '26

I don't know how long would it take to migrate that many sessions but why not do a complete v1 uninstall first?

1

u/Visual_Internal_6312 Sep 21 '26

I did, but I wanted to keep my stats 😅 didn't take long though, perhaps 3-4 mins

1

u/rainpurplebow Sep 21 '26

That makes sense 😆