Skip to content

[Bug]: False 'API rate limit reached' on all models despite APIs being fully functional #32828

@f-liva

Description

@f-liva

Summary

OpenClaw displays ⚠️ API rate limit reached. Please try again later. for every configured model, even though the underlying APIs are fully functional and responding correctly when tested outside of OpenClaw.

I have verified that the same API keys work perfectly with Claude Code and Qwen Code — requests go through without any rate limit issue. The problem is exclusively within OpenClaw's gateway/cooldown mechanism.

Steps to reproduce

  1. Configure multiple models in OpenClaw (e.g., Claude, Qwen, or any other provider)
  2. Send a message in any chat
  3. All models return the "API rate limit reached" error
  4. Test the same API keys directly with Claude Code or Qwen Code → they work fine

Expected behavior

If the upstream API is responding normally and not returning 429 errors, OpenClaw should relay the response to the user without showing rate limit warnings.

Actual behavior

Every model configured in OpenClaw responds with:

⚠️ API rate limit reached. Please try again later.

No model is usable, despite the APIs being confirmed as functional through external clients.

Environment

  • Models affected: All configured models (Claude, Qwen, etc.)
  • Verified working with: Claude Code (CLI), Qwen Code — same API keys, no rate limit

Possibly related issues

This seems to be part of a broader pattern where OpenClaw's cooldown/rate-limit detection is overly aggressive or misclassifies non-rate-limit errors, effectively locking out all models even when the APIs are healthy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions