Skip to content

GLM5 - Running into Too Many Requests - Error 1302 #14535

Closed

Description

@avishj

Description

While using GLM-5, I get:

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

  1. Don't use OpenCode for a couple of hours.
  2. Open OpenCode, set model to GLM-5.
  3. In Build mode, give agent some Task X.
  4. Agent tries to run, is successful for a few operations(~2mins).
  5. Agent shows error highlighted in red - Too Many Requests: {"error":{"code":"1302","message":"Rate limit reached for req... [retrying in 1s attempt #1].
  6. Agent automatically starts to work again once retry timer reaches 0, and is able to continue for a single pass.
  7. Agent again shows same error as Step 5.
  8. Agent repeats Step 6.

Screenshot and/or share link

https://opncd.ai/share/CfbwpOLI

Operating System

macOS Sequoia 15.7.3

Terminal

Term Program vscode running Shell zsh

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 21, 2026
  2. github-actions commented on Feb 21, 2026

    @github-actions
    Contributor

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

    These issues describe the same pattern of hitting Z.ai/GLM rate limits during agent sessions, with the agent retrying and continuing intermittently.

  3. github-actions commented on Apr 23, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions