You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GLM5 - Running into Too Many Requests - Error 1302 #14535
Too Many Requests: {"error":{"code":"1302","message":"Rate limit reached for req... [retrying in 1s... and then it works after a few seconds, then again on the next tool call, same process repeats.
I have not used OpenCode in the past ~1.5hrs before starting a new thread and seeing this issue. Doesn't seem to be a valid 429, since it works on retry, then fails again after 10-15s, and then works again, continuing.
Plugins
None
OpenCode version
1.2.9
Steps to reproduce
Don't use OpenCode for a couple of hours.
Open OpenCode, set model to GLM-5.
In Build mode, give agent some Task X.
Agent tries to run, is successful for a few operations(~2mins).
Agent shows error highlighted in red - Too Many Requests: {"error":{"code":"1302","message":"Rate limit reached for req... [retrying in 1s attempt #1].
Agent automatically starts to work again once retry timer reaches 0, and is able to continue for a single pass.
Activity
github-actions commentedon Feb 21, 2026
This issue might be a duplicate of existing issues. Please check:
AI_RetryError: Failed after 4 attempts. Last error: Too Many Requests- same underlying errorThese issues describe the same pattern of hitting Z.ai/GLM rate limits during agent sessions, with the agent retrying and continuing intermittently.
github-actions commentedon Apr 23, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.