[BUG] Claude code returns 504 response from Claude Code

Resolved 💬 6 comments Opened Sep 24, 2025 by hardradio1 Closed Jan 9, 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?

Claude code returns 504 gateway time-out for Sonnet-4.1 model (2:22 am Cyprus time)

⎿ API Error (api.anthropic.com | 504: Gateway time-out) · Retrying in 33 seconds… (attempt 8/10)
⎿ API Error: Operation aborted
⎿ Interrupted · What should Claude do instead?

What Should Happen?

Model should respond correctly

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code,
  2. select Sonnet-4.1 model,
  3. Reqest any coding task and observe output

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

1.0.123 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

<img width="728" height="66" alt="Image" src="https://github.com/user-attachments/assets/2e726a36-1707-414a-a603-3594133ab7ff" />

View original on GitHub ↗

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