Opencode Silent on Reaching Provider Quota #2055

Closed
opened 2026-02-16 17:33:57 -05:00 by yindo · 3 comments
Owner

Originally created by @kud on GitHub (Oct 11, 2025).

Description

When we reach the quota limit for the provider like Claude Code, Opencode does not alert the user about this situation. Instead, it continues to show a "generating" status without any indication of the issue. This leaves users unaware of the quota limit being reached.

Steps to Reproduce

  1. Use Opencode with Claude Code models until the provider quota is reached.
  2. Observe that there are no warnings or alerts indicating that the quota has been exceeded.
  3. Notice that the interface remains in a "generating" state without further action or information.

Expected Behavior

  • Opencode should provide a clear message or alert to inform users that the quota limit has been reached with the provider.
  • Users should understand the reason for the halted or incomplete operations.

Actual Behavior

  • Opencode continues to display a "generating" status with no information about the quota situation.
  • Users are left confused as there is no indication or explanation.

Suggested Solution

Implement a notification system that:

  1. Detects when provider quotas are reached.
  2. Displays clear messages or alerts to users to inform them of the situation.
  3. Provides guidance or alternative options if possible.
Originally created by @kud on GitHub (Oct 11, 2025). ## Description When we reach the quota limit for the provider like Claude Code, Opencode does not alert the user about this situation. Instead, it continues to show a "generating" status without any indication of the issue. This leaves users unaware of the quota limit being reached. ## Steps to Reproduce 1. Use Opencode with Claude Code models until the provider quota is reached. 2. Observe that there are no warnings or alerts indicating that the quota has been exceeded. 3. Notice that the interface remains in a "generating" state without further action or information. ## Expected Behavior - Opencode should provide a clear message or alert to inform users that the quota limit has been reached with the provider. - Users should understand the reason for the halted or incomplete operations. ## Actual Behavior - Opencode continues to display a "generating" status with no information about the quota situation. - Users are left confused as there is no indication or explanation. ## Suggested Solution Implement a notification system that: 1. Detects when provider quotas are reached. 2. Displays clear messages or alerts to users to inform them of the situation. 3. Provides guidance or alternative options if possible.
yindo closed this issue 2026-02-16 17:33:57 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 11, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #877: Feature Request: Show Error Message When Claude Usage Limit Is Reached - Very similar issue where OpenCode gets stuck at "working..." when Claude usage limit is reached with no error message shown to user
  • #777: No errors when usage limit is reached (Claude Pro) - Same core issue where the application freezes with no notification when usage limits are reached
  • #725: Claude token limit reached, but OpenCode continues "working" - Identical behavior where OpenCode continues "working" for extended periods when Claude token limits are hit
  • #2839: How does OpenCode Zen report rate limit errors to the user? - General question about how rate limits are reported, specifically mentions getting stuck in "Generating..." when limits are hit

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 11, 2025): This issue might be a duplicate of existing issues. Please check: - #877: Feature Request: Show Error Message When Claude Usage Limit Is Reached - Very similar issue where OpenCode gets stuck at "working..." when Claude usage limit is reached with no error message shown to user - #777: No errors when usage limit is reached (Claude Pro) - Same core issue where the application freezes with no notification when usage limits are reached - #725: Claude token limit reached, but OpenCode continues "working" - Identical behavior where OpenCode continues "working" for extended periods when Claude token limits are hit - #2839: How does OpenCode Zen report rate limit errors to the user? - General question about how rate limits are reported, specifically mentions getting stuck in "Generating..." when limits are hit Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 11, 2025):

yeah we really gotta fix this, also I just noticed how many duplicates of this issue there are so I will try to consolidate them.

@rekram1-node commented on GitHub (Oct 11, 2025): yeah we really gotta fix this, also I just noticed how many duplicates of this issue there are so I will try to consolidate them.
Author
Owner

@kud commented on GitHub (Oct 12, 2025):

Thank you 🙏 I should have checked if an issue already existed.

@kud commented on GitHub (Oct 12, 2025): Thank you 🙏 I should have checked if an issue already existed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2055