[BUG] /batch command "API Error: Request rejected (429) · Rate limited" - Max 20x

Resolved 💬 8 comments Opened Apr 3, 2026 by thecosmicskye Closed May 28, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

As of today, /batch command (up to 30 subagents simultaneously) results in rate limit Agent fails. This was working fine two days ago.

Not out of usage - though this ONE CALL used 87% current session usage during non-peak hours!! Maybe don't allow 30 agent batch calls?

1M context is disabled.

Claude Code is up to date (2.1.91)

<img width="416" height="481" alt="Image" src="https://github.com/user-attachments/assets/d08a6460-c60c-4395-9833-223884ed6d40" />

<img width="817" height="407" alt="Image" src="https://github.com/user-attachments/assets/10c8d20a-4cdc-4b67-8ced-d77e8d5c9e89" />

What Should Happen?

Claude Code should only support /batch up to the rate limit - not beyond. Or rate limits should be set to that the command does not fail. Or - Claude Code should safely retry after rate limit

Error Messages/Logs

API Error: Request rejected (429) · Rate limited

Steps to Reproduce

  1. Call a /batch command - request the max amount of supported agents (30) on a complex task that will take at least 30 minutes per sub agent.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.91

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗