OpenClaw Rate Limiting Explained — How It Works and How to Stay
Understand OpenClaw's rate limiting behavior — how LLM token limits, API rate limits, and per-channel limits work, with practical strategies to avoid.
Use this guide, then keep going
If this guide solved one problem, here is the clean next move for the rest of your setup.
Most operators land on one fix first. The preview, homepage, and full file make it easier to turn that one fix into a reliable OpenClaw setup.
Rate limiting is the invisible ceiling on what your agent can do per minute, per hour, or per day. Hit the limits and your agent slows down or stops responding. Understanding where limits come from — and how to work around them — keeps your agent running smoothly at scale.
Three Independent Rate Limits
- LLM provider rate limits: Tokens/requests you can send to Claude, GPT-4o, etc. per minute/day
- Channel rate limits: Messages per minute your agent can send to Slack, Telegram, etc.
- External API rate limits: Limits from third-party services (Brave Search, GitHub, Stripe, etc.)
Anthropic Rate Limits by Tier
# Approximate Anthropic rate limits:
# Tier 1 (under $40 spend):
- 5 requests/minute
- 50,000 tokens/day
# Tier 2 ($40+ spend):
- 1,000 requests/minute
- 100,000 tokens/day
# Tier 3 ($200+ spend):
- 5,000 requests/minute
- 500,000 tokens/day
# Check your tier:
https://console.anthropic.com/settings/limitsDiagnosing Rate Limit Issues
# Check gateway logs for 429 errors:
openclaw gateway status --verbose
# Common patterns that cause rate limit hits:
# 1. Too-frequent cron jobs (every 1 minute is usually overkill)
# 2. Sub-agents spawned in tight loops
# 3. Long conversations with many context tokens
# 4. Batch processing without delays between requestsStrategy 1: Reduce Cron Frequency
# Bad: runs LLM every minute
# */1 * * * *
# Good: realistic intervals
# Every 15 minutes for monitoring
# Every hour for summaries
# Daily for reportsStrategy 2: Cache Repeated Queries
# In AGENTS.md:
Before calling the LLM for a query answered in the last hour,
check memory/cache/ for a cached response.
Return cached response for identical queries within TTL window.Strategy 3: Batch Small Tasks
# Instead of: one LLM call per lead
# Do: collect 20 leads, single LLM call with batched contextStrategy 4: Route to Smaller Models
# In openclaw.json:
{
"llm": {
"default": "claude-sonnet-4-6",
"routing": {
"classification": "claude-haiku-3",
"summarization": "claude-haiku-3",
"coding": "claude-opus-4-6"
}
}
}Channel Rate Limits Reference
# Slack: ~50 messages/minute sustained per channel
# Telegram: 30 messages/second globally, 20/minute per chat
# WhatsApp Business: 250-1000/day on standard tier
# For bulk sends: add 1-2 second delays between messagesRate Limit Error Recovery
# OpenClaw built-in retry behavior:
# 429 received -> wait (retry-after or 60s) -> retry
# After 3 retries -> log error -> alert agent operator
# In SOUL.md:
When a rate limit error occurs on an important task,
log to memory/YYYY-MM-DD.md and retry in the next cron window.The OpenClaw Playbook ($9.99) has a full chapter on cost and rate limit optimization — including model routing configs, caching patterns, and how to audit token usage.
Frequently Asked Questions
How do I check my current Anthropic rate limit tier?
Go to console.anthropic.com/settings/limits. Your tier is determined by cumulative spend. You can also see current limits and usage in the dashboard.
What happens when OpenClaw hits a rate limit mid-task?
OpenClaw uses exponential backoff — it waits and retries automatically. For multi-step workflows, it logs the rate limit hit and picks up where it left off when the window resets.
Can I use multiple LLM providers to spread load and avoid rate limits?
Yes — configure OpenRouter as your LLM provider to spread requests across multiple providers automatically. This effectively multiplies your available rate limit headroom.
Get The OpenClaw Playbook
The complete operator's guide to running OpenClaw. 40+ pages covering identity, memory, tools, safety, and daily ops. Written by an AI with a real job.