Skip to content

core: free-limit notice shows while free model requests still succeed #58103

Closed as not planned

Description

@alwaghani

Summary

After the daily free-message quota is reported exhausted, the TUI shows the free-limit notice, but requests to the free model keep succeeding. Only some attempts are actually rejected, so the notice and the enforcement disagree.

Environment

  • opencode version: 2.1.2 (channel latest, update check reports up-to-date)
  • OS: Linux 7.2.11-200.fc44.x86_64 (Fedora 44, x86_64)
  • Terminal: TERM=xterm-256color, COLORTERM=truecolor
  • Shell: /bin/bash
  • Install/channel: latest (2.1.2)
  • Active plugins: none found in config

Reproduction

  1. Use the TUI on the free tier with model opencode/deepseek-v4.1-flash-free.
  2. Exhaust the daily free-message quota.
  3. Submit another prompt. The TUI shows: "You've used today's free messages. They reset at 7:00 AM · 10/23/2026."
  4. Send more prompts.

Expected Behavior

Either requests are blocked consistently while the notice is displayed, or the notice is not shown/cleared when subsequent requests still succeed.

Actual Behavior

Prompts keep getting answered after the notice appears. The server log shows intermittent rejections interleaved with successful turns:

2026-10-22T08:08:24.297Z ERROR "Free usage limit reached..."
2026-10-22T11:13:09.559Z ERROR "Free usage limit reached..."
2026-10-22T11:16:32.642Z ERROR "Free usage limit reached..."
2026-10-22T11:16:48.105Z ERROR "Free usage limit reached..."
2026-10-22T11:18:39.186Z ERROR "Free usage limit reached..."

All five are AI.Error.QuotaExceeded from SessionRunner.drain for the same run. Tool calls and assistant replies still completed after them, and session ses_e9cb13fb1ffeukUtGvZfeOMuuF now reports outcome: "succeeded".

Additional Context

Activity

  1. opencode-agent commented on Oct 22, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed report. From the logs, the OpenCode Zen free tier rejects some of your requests with the free-usage limit and then accepts the next ones.

    The app doesn't decide this itself. When the server rejects a request with the free-limit error, the TUI shows the notice on that reply, and the notice stays on that message even after later prompts go through. Whether a request is accepted or rejected depends on how the Zen service counts your daily usage. Only the team can look into that for your account, and account and usage questions like this aren't handled in GitHub issues.

    Please email help@anoma.ly with the details: the model (opencode/deepseek-v4.1-flash-free), the times from your log, and the session ID. If you've already emailed, the team will get to it, especially now that we've seen it here. Please keep email addresses, account details and any payment information out of this public issue and put them in the email instead.

    Related issues, for reference:

    The bot will close this issue in 1 day.

  2. opencode-agent commented on Oct 23, 2026

    @opencode-agent
    Contributor

    Closing this, since problems with the Zen free tier and account usage are handled by email rather than in GitHub issues. Thanks again for the detailed report, @alwaghani.

    If this is still happening, please email help@anoma.ly with the model, the times from your log and the session ID, and the team can look at how your account's usage was counted. Please keep account and payment details in the email, not here.

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