Repository navigation
Description
Summary
Free model usage that previously lasted for hours is now being exhausted in roughly 5 minutes, even for simple analysis tasks. This affects all free models, not just one provider/model. The limit is being hit mid-task, blocking continued work.
Environment
- opencode version: 2.2.5 (CLI not on PATH; value taken from runtime snapshot)
- OS: Windows_NT 10.0.26300 (win32 x64)
- Terminal: Unavailable: terminal environment variables are not set
- Shell: C:\WINDOWS\system32\cmd.exe (PowerShell used as the shell)
- Install/channel: latest
- Active plugins: None found in config (no opencode.json / opencode.jsonc found in ~/.config/opencode or project)
Reproduction
- Start an opencode session using a free model (e.g. DeepSeek V4 Pro free).
- Run a normal coding/analysis task (no unusually large context).
- Observe that the free usage limit is reached after ~5 minutes.
- Previously (days ago) the same workflow lasted for hours on the free tier.
Expected Behavior
Free tier usage should last a comparable amount of time to before (hours), or at least the limit/remaining quota should be transparent and not reset so quickly during a single short session.
Actual Behavior
Free usage is exhausted in ~5 minutes across multiple free models, blocking continued work mid-task. This is a regression compared to recent behavior.
Evidence
The opencode log (~/.local/share/opencode/log/opencode.log) shows repeated "Free usage limit reached" errors during this very session, including two spawned subagents that died with this error mid-task:
2026-11-05T09:23:23.686Z level=ERROR run=312b9fcd message="Failed to drain Session" cause="AI.Error: Free usage limit reached. Free models work in OpenCode (https://opencode.ai); subscribe to OpenCode Go to keep going: https://opencode.ai/go"
2026-11-06T08:02:38.039Z level=ERROR run=f6cdbbcd message="Failed to drain Session" cause="AI.Error: Free usage limit reached. Free models work in OpenCode (https://opencode.ai); subscribe to OpenCode Go to keep going: https://opencode.ai/go"
2026-11-06T08:02:38.407Z level=ERROR run=f6cdbbcd message="Failed to drain Session" cause="AI.Error: Free usage limit reached..."
2026-11-06T08:02:51.529Z level=ERROR run=f6cdbbcd message="Failed to drain Session" cause="AI.Error: Free usage limit reached..."
2026-11-06T08:02:51.874Z level=ERROR run=f6cdbbcd message="Failed to drain Session" cause="AI.Error: Free usage limit reached..."
Actual workload during the affected session (to show this is not heavy usage)
- 1 competitive analysis (Harbiz vs. an in-house app) — summarized from a prior session.
- ~12-15 shell commands (git, file counts, grep).
- Reading ~10 source files from the repo.
- 2 exploration subagents, both terminated by "Free usage limit reached".
This workload is modest and should not exhaust a free tier in ~5 minutes, especially given that the same workflow lasted hours days ago.
Additional Context
- Affected models: DeepSeek V4 Pro (free) and other free models (user reports all free models now exhaust in ~5 min).
- Not reproducible as a single model issue; appears to be a tier/quota/policy change or a rate-limit regression.
- Workaround tried: switching between free models does not help.
- No config changes or plugin installs by the user recently.
- Frequency: consistent since the change was noticed.
Activity
opencodejr commentedon Nov 6, 2026
Thanks for the detailed report, @jmortegabarrera, and sorry the free tier is running out so fast mid-task.
I think this is a duplicate of #59387, the pinned main thread for free tier problems, including
Free usage limit reachedand free usage being used up much faster than expected. Maintainers are collecting all free tier quota reports there.Possible duplicates and closely related issues, ordered from most to least likely:
The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
jmortegabarrera commentedon Nov 6, 2026
Thanks for the triage. After reading #59387 and its comments, I agree this is the same underlying issue — many reports there describe the exact same symptom (free tier exhausted in 5–25 minutes, mid-task, across multiple free models, with
Free usage limit reached/Failed to drain Session).I've moved my detailed report (with redacted log evidence and the modest workload context) into a comment on the main thread here: #59387 (comment)
Feel free to close this as a duplicate. Keeping it open only to avoid losing the evidence link above.
opencodejr commentedon Nov 6, 2026
Thanks, @jmortegabarrera, and thanks for adding your report and log evidence to #59387. Maintainers are tracking free tier quota problems there, so your comment is in the right place.
You won't lose the link: closing this as a duplicate keeps the issue and its comments visible and linked to #59387. The bot will close it as a duplicate as planned.
opencodejr commentedon Nov 7, 2026
Closing this as a duplicate of #59387, the main thread for free tier problems, as agreed above. Thanks, @jmortegabarrera, for moving your report and log evidence there (your comment).
This issue and its link stay visible after closing. If you have anything new about free usage running out quickly, please add it on #59387.