[API Error: Model stream ended with empty response text.]
What happened?
[API Error: Model stream ended with empty response text.]
This is popping up constantly, Gemini applies one replace and hits this immediately, continuing results in the same, one fix then hits this error again, ad infinitum.
What did you expect to happen?
No error, agentic flow continues unhindered.
Client information
│ About Gemini CLI │ │ │ │ CLI Version 0.7.0 │ │ Git Commit f28ffaa3 │ │ Model gemini-2.5-pro │ │ Sandbox no sandbox │ │ OS win32 │ │ Auth Method OAuth │ │
Login information
No response
Anything else we need to know?
No response
Gemini CLI is completely unusable given that this completely breaks the agentic flow, one fix and then it hits the error. Asking it to continue or repasting the original prompt leads to the same, 1 fix and then immediate API error.
Am also experiencing the same issue. It tries to come up with the implementation plan .etc and when its time to implement, it just outputs that error
This is really a big problem, that message appear to many time breaking the workflow, leading to a file destruction and other resultant problems because AI tends to lose context or think that did something that wasn't done you end up losing all your 2.5 pro usage of the day with nothing because have to roll back the changes. Actually GEMINI CLI is a bad chore.
Using 0.8.1, after 0.6, where this was not happening. Is this a known issue?
Confirmed here as well, can't work with gemini cli because of it and we just got 10x enterprise licenses...
✕ [API Error: Model stream ended with empty response text.] Same here. Ubuntu 25.04.
@SandyTao520 Can you please give these API errors attention? How many times does this need to be reported for this to be prioritized?
Yep experiencing the same issue. Please fix, Completely unusable.
experiencing the same issue again and again
hmm https://github.com/google-gemini/gemini-cli/issues/7851 looks like it might not be specifically about the same error, I'm going to move this to a duplicate of issues that are focused on that error 🤔
@bobcatfish Can you guys please acknowledge the severity of this issue and commit to fixing it? It feels extremely dismissive to be not even have these acknowledged as critical issues.
same here ✕ [API Error: Model stream ended with empty response text.] ,
same here
@bobcatfish Also I like how you marked mine as the duplicate when my issue was opened earlier. Class act.
same here, on macOS 18.6 with Gemini CLI 0.8.1
Hello everyone, Yes, it's annoying. I feel like I'm playing the beta tester, but I'm also paying to do it. I signed up for a subscription, which will soon become paid, and frankly, I'm kicking myself. The CLI has been almost usable since signing up, compared to the first versions, which worked much better. I've done more with the versions from the opening in late June to mid-September than since then. So, Google, it's fine to use Gemini via CLI, but don't let us pay for a subscription without any tangible feedback, just to 'test' your betas.
Well I have confirmed what the problem was - it works well with API key, but if we try to use license limits it fails. Confirmed on multiple accounts. Way to go!
Sent via Superhuman ( @.*** )
On Fri, Oct 10, 2025 at 2:22 PM, Stéphane < @.*** > wrote:
stef-ladefense left a comment (google-gemini/ gemini-cli#10528) ( https://github.com/google-gemini/gemini-cli/issues/10528#issuecomment-3389800177 )
Hello everyone, Yes, it's annoying. I feel like I'm playing the beta tester, but I'm also paying to do it. I signed up for a subscription, which will soon become paid, and frankly, I'm kicking myself. The CLI has been almost usable since signing up, compared to the first versions, which worked much better. I've done more with the versions from the opening in late June to mid-September than since then. So, Google, it's fine to use Gemini via CLI, but don't let us pay for a subscription without any tangible feedback, just to 'test' your betas.
— Reply to this email directly, view it on GitHub ( https://github.com/google-gemini/gemini-cli/issues/10528#issuecomment-3389800177 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AA2O5SQP4X2MAN6LX6HJ7OL3W6QHXAVCNFSM6AAAAACIINJQZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGOBZHAYDAMJXG4 ). You are receiving this because you commented. Message ID: <google-gemini/gemini-cli/issues/10528/3389800177 @ github. com>
I've the same problem : ✕ [API Error: Model stream ended with empty response text.]
I've the same problem : ✕ [API Error: Model stream ended with empty response text.]
@bobcatfish Are we ever going to get any response on when this will be fixed?