r/opencode • • 27d ago

Opencode free tier works normally in desktop but not in VPS

As you guys know the opencode free tier has problems, I had that problem as well. so I have two opencodes one is I run locally in my personal computer another I have a VPS, the local computer's opencode free tier works normally now since many days, it doesn't say limit hit, but the opencode that I have on VPS free tier limit gets hit in 2 prompts, I'm not sure if it's because of the internet connection or something.

anybody experienced the same thing?

0 Upvotes

7 comments sorted by

2

u/Oli_Luck 26d ago

Do you have a unique IP on your VPS ?

3

u/lincolnthalles 27d ago

All agent sessions are tracked by a UID, mainly to make the cache work correctly, and it's possible to track datacenter IP blocks, so there's a chance OpenCode is cross-referencing information to prevent abuse.

1

u/LaliPublications 24d ago

I don't think it's your connection specifically, or at least I can't prove it is. I tried this from a cloud box (v2.2.5, no account, glm-5.3-flash-free). I got 4 replies, and the 5th came back as an HTTP 429 FreeUsageLimitError. A brand-new session worked once after that and then failed again, and switching to big-pickle hit the same limit. One caveat: my box isn't set up like yours (it doesn't have its own IP), and OpenCode hasn't said how the free limit is counted, so I can't tell you why the VPS gets cut off sooner.

What I'd check:

  • Run opencode --version on both machines and make sure the VPS is on the same v2 as your desktop. Builds older than 1.18 fail on free models with a different error ("OpenCode 1.18.0 or newer is required to use the free tier").
  • Note the exact message and reset time. "You've used today's free messages" means you hit the hosted limit, not a network error.
  • If the VPS has to be reliable, connect a provider key there with /connect and keep the free models for the desktop.

Maintainers are collecting these reports in the pinned free-tier issue: https://github.com/anomalyco/opencode/issues/59387. If you post there, include the version, OS and model, and that desktop and VPS behave differently on the same day. That's a useful data point.

1

u/Fuzzy-Composer-7175 19d ago

always gives free usage limit error :-(