[BUG] Claude Code via Vertex AI is unbearably slow (4 minute delay before responding)
Status Closed — not planned
Maintainer reply ✓ Yes — ant-kurt
Activity 12 comments · opened Nov 11, 2025 · closed Feb 6, 2026
💡 Likely answer: A maintainer (ant-kurt, collaborator)
responded on this thread — see the highlighted reply below.
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?
When using Claude Code on Vertex AI, responses are very slow.
Since yesterday, I have to wait 3-4 minutes before the model responds each turn. Sometimes more. In this screenshot I wait 8 minutes and still no response.
<img width="841" height="94" alt="Image" src="https://github.com/user-attachments/assets/88f7cbf6-74d0-4be8-a9f3-fbb2888ccece" />
[!NOTE] - This does not happen when using the Claude Pro subscription, so it seems to be a connectivity problem between Vertex AI and Anthropic. - I tried switching from global region to different regions, to no avail.
What Should Happen?
Model should respond fast.
Error Messages/Logs
Steps to Reproduce
Use Claude Code with
export CLAUDE_CODE_USE_VERTEX=1
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.0.37
Platform
Google Vertex AI
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
12 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
it happened to me before something similar. the problem was the missing haiku model on vertex. i solved first by using
ANTHROPIC_SMALL_FAST_MODEL=claude-sonnet-4and later by enabling the required haiku model on vertex@asiletto Thank you for the comment. Unfortunately after trying it’s still slow.
I already enabled
claude-haiku-4-5a few weeks ago. I tried settingANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-4-5to no avail. (Note that from documentation,ANTHROPIC_SMALL_FAST_MODELis now deprecated.)Can you run with env var
ANTHROPIC_LOG=debugand flag--debug? Claude Code will display a file path that will contain request logs - this should identify if there are requests that are hanging / failing.@ant-kurt Thank you for the pointer.
From my test, this is the first request log.
Followed by 7 minutes of silence.
Hope it is useful in finding the root cause 🙏
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
It still happens intermittently. It happens 2 days out of 7 days past week.
I also encounter this issue. It's more permanent rather than intermittent in my case.
The issue is still not fixed, by today I tried with simple prompt and claude froze for 5 minutes without any tokens used
<img width="988" height="361" alt="Image" src="https://github.com/user-attachments/assets/e43f6a7f-332d-4dde-9d5d-2112443c6eef" />
While using the same Vertex AI token with opencode does not have any issues
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.