Skip to content

Constant 429 errors: Claude Code AnyRouter error

Quick fix

Confirm the model mapping is blank and set "model": "opus[1m]"; if 429 errors continue, the issue may be with AnyRouter upstream, so try another network.

Error output
一直是429
English translation

The 429 error keeps occurring

This issue describes persistent 429 errors when using Claude Code with AnyRouter. The maintainer said this symptom means the 1m context model setting was applied successfully, and that the 429 errors came from instability in the AnyRouter upstream service. However, the same thread reported that haiku worked while opus continued to return 429, so retrying on another network may not resolve the issue. Another user reported that adding "model": "opus[1m]" still did not work, so the available information cannot confirm that this configuration works in every case.

  1. Leave the model mapping blank in the JSON configuration and add the model setting recommended by the maintainer.

  2. If 429 errors continue, try another network and retry; the thread reports that this may not work.

ToolClaude Code
Version3.16.3
PlatformsUnknown
What should I do if adding "model": "opus[1m]" does not work?
A user in the thread reported that restarting Claude Code still did not help. The maintainer thought persistent 429 errors might be caused by instability in the AnyRouter upstream and recommended trying another network, but another user said the 429 errors continued.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.