Skip to content

[BUG] Free-tier quota incorrectly rejected on OpenCode v2.2.5 – AI.Error.QuotaExceeded (Daily recurring issue) #60861

Closed as duplicate

Description

@SWIFT00000

Description

[BUG] Free-tier quota incorrectly rejected on OpenCode v2.2.5 – AI.Error.QuotaExceeded (Daily recurring issue)

Hello OpenCode team,

I’m reporting a persistent and recurring free-tier quota issue on Windows 11.

This problem happens every day. Even after updating OpenCode to the latest version, free models immediately report that my free usage limit has been reached.

The most important detail is that I cannot use free models even before sending any messages. After updating OpenCode and launching it, attempting to use a free model immediately produces a quota-exceeded error.

This is not an occasional issue. I experience the same problem every day, making free models effectively unusable.

1. Environment

Property Value
OpenCode version v2.2.5
Operating system Windows 11 x64
Windows build 26100
Architecture AMD64
PowerShell 5.1.26100.1591
Installation method Portable ZIP
Executable C:\Tools\OpenCode\opencode.exe
Executable size 259,169,160 bytes
Collection date October 31, 2026

2. Actual behavior

When attempting to use any free model, OpenCode immediately rejects the request and displays:

Free usage limit reached. Free models work in OpenCode (https://opencode.ai); subscribe to OpenCode Go to keep going: https://opencode.ai/go

Important: The problem occurs without sending messages

My experience follows this recurring pattern:

  1. A new OpenCode update becomes available.
  2. I download and install the latest version.
  3. I launch OpenCode.
  4. I attempt to use a free model.
  5. OpenCode immediately reports that the free usage limit has been reached.
  6. No successful model request or message has been sent during that testing session.
  7. Free models remain unavailable.

The same problem happens every day, not just after one particular update.

Updating OpenCode does not resolve the problem. Even with a clean, up-to-date executable, the free-tier quota appears to be exhausted immediately.

This makes me suspect that the issue may involve the account’s daily quota calculation, quota reset mechanism, or server-side usage synchronization.

3. Technical evidence from OpenCode logs

The diagnostic logs contain two explicit quota failures.

First failure:

  • Timestamp: 2026-10-31 09:56:26.215 UTC
  • Log level: ERROR
  • Error: AI.Error.QuotaExceeded
  • Message: Free usage limit reached
  • Session: ses_e6e9c678affePNm0T4Rcztn4Wj

Second failure:

  • Timestamp: 2026-10-31 09:57:03.727 UTC
  • Log level: ERROR
  • Error: AI.Error.QuotaExceeded
  • Message: Free usage limit reached
  • Session: ses_e6e9bd502ffenN0KhWt84AXQxs

Both errors occur during SessionRunner.drain.

4. CLI update verification

The logs confirm that OpenCode is running v2.2.5.

At 09:55:58 UTC:

update check current=2.2.5 latest=2.2.5

Followed by:

update check done action=up-to-date

Therefore, this is not simply an outdated CLI installation.

I regularly update OpenCode whenever a new version becomes available, but the issue continues.

5. Troubleshooting performed

  • Updated OpenCode using the latest portable Windows ZIP.
  • Replaced the previous executable.
  • Verified the installed version using opencode --version.
  • Restarted OpenCode.
  • Tested free-model requests immediately after updating.
  • Collected diagnostic logs and system information.
  • Confirmed that the quota error persists.
  • Repeated testing on different days with the same result.

No configuration or authentication files were intentionally modified during evidence collection.

6. Expected behavior

The daily free-tier quota should reset according to its published schedule.

Users should be able to access free models again after the reset, provided they have not exhausted their actual allowance.

In particular:

  • Free models should not report exhausted quotas before any messages have been sent.
  • Daily quota resets should work correctly.
  • Updating OpenCode should not result in an incorrectly exhausted quota.
  • The server-side usage counter should accurately reflect actual account usage.

7. Request for investigation

Could the OpenCode team investigate:

  1. Whether my account’s free-tier quota is incorrectly marked as exhausted.
  2. Whether the daily quota reset mechanism is functioning correctly.
  3. Whether the server-side usage counter is synchronized with actual model requests.
  4. Why free models immediately report exhausted quotas after updating OpenCode.
  5. Why this issue repeats every day, even when I have not sent any messages.
  6. Whether this issue is related to Free tier issues: read this first, then post your report here #59387, Quota reset timer issue — daily quota not granted #59449, or You've used today's free messages. They reset at 8:00 p.m. #59687.

I would particularly appreciate an account-side quota verification.

I would also appreciate clarification on whether this is a known backend issue affecting other free-tier users.

8. Related reports

I can provide the relevant diagnostic log excerpts, screenshots, and additional system information if required.

Thank you for investigating this issue.


Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot

No response

Operating System

No response

Terminal

No response

Activity

  1. opencodejr commented on Oct 31, 2026

    @opencodejr

    Thanks for the detailed report, and sorry free models aren't working for you.

    I think this is a duplicate of #59387, the main thread for free-tier problems. It covers the Free usage limit reached error, including when it shows up before you've sent anything or comes back every day. The maintainers collect all free-tier reports there.

    Possible duplicates and related issues, most likely first:

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.

  2. opencodejr commented on Nov 1, 2026

    @opencodejr

    We didn't hear back on how this differs from #59387, so I'm closing this as a duplicate of it. #59387 is the main thread for free-tier problems like the immediate Free usage limit reached / AI.Error.QuotaExceeded error you're getting on v2.2.5.

    Please follow #59387 and post your details there (version, OS and the session IDs from your logs) so maintainers have everything in one place. If your problem turns out to be different, reply here and explain how, and this can be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions