# Provider Error after 10–20 seconds when using OpenRouter in Cursor

**URL:** <https://forum.cursor.com/t/provider-error-after-10-20-seconds-when-using-openrouter-in-cursor/150113>\
**Category:** Bug Reports\
**Tags:** byok, chat\
**Created:** [January 27, 2026, 6:47pm UTC](https://forum.cursor.com/t/provider-error-after-10-20-seconds-when-using-openrouter-in-cursor/150113 "2026-01-27T18:47:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheKoswog](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/thekoswog/32/96170_2.png) [@TheKoswog](https://forum.cursor.com/u/TheKoswog)\
**Post date:** [January 27, 2026, 6:47pm UTC](https://forum.cursor.com/t/provider-error-after-10-20-seconds-when-using-openrouter-in-cursor/150113/1 "2026-01-27T18:47:52Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

When I use OpenRouter as the provider in Cursor, requests start normally and the model responds for about 10–20 seconds. Then Cursor shows a “Provider Error” message and stops responding. This happens repeatedly, so I cannot complete longer prompts or multi-step tasks.

### Steps to Reproduce

1. Open Cursor IDE
2. Configure AI provider to OpenRouter
3. Start an AI Chat/Agent request (any prompt)
4. Wait 10–20 seconds while it is generating a response
5. Cursor shows “Provider Error” and the response stops

### Expected Behavior

The response should continue until completion without disconnecting or failing mid-generation.

### Screenshots / Screen Recordings

 ![Screenshot_8.png](https://us1.discourse-cdn.com/cursor1/original/3X/5/4/541f3d3179ba914d417151ecfee62dc04075d9b7.png)

### Operating System

Windows 10/11

### Version Information

Version: 2.4.21 (system setup)  
VSCode Version: 1.105.1  
Commit: dc8361355d709f306d5159635a677a571b277bc0  
Date: 2026-01-22T16:57:59.675Z  
Build Type: Stable  
Release Track: Default  
Electron: 39.2.7  
Chromium: 142.0.7444.235  
Node.js: 22.21.1  
V8: 14.2.231.21-electron.0  
OS: Windows\_NT x64 10.0.26100

### For AI issues: which model did you use?

moonshotai/kimi-k2.5  
z-ai/glm-4.7

### For AI issues: add Request ID with privacy disabled

Request ID: 8e9b9bc0-a944-4645-a5a6-d7127689ab5f  
[resource\_exhausted] Error  
LTe: [resource\_exhausted] Error  
at kmf (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9095:38337)  
at Cmf (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9095:37240)  
at $mf (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9096:4395)  
at ova.run (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9096:8170)  
at async qyt.resume (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34190:60450)  
at async Wpc.streamFromAgentBackend (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34239:7695)  
at async Wpc.getAgentStreamResponse (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34239:8436)  
at async FTe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9170:14575)

### Additional Information

- Issue is consistent and reproducible.
- Happens across different prompts.
- If there are logs I can provide (Cursor logs / console), tell me where to export them and I will attach them.

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 28, 2026, 5:47am UTC](https://forum.cursor.com/t/provider-error-after-10-20-seconds-when-using-openrouter-in-cursor/150113/3 "2026-01-28T05:47:53Z")

</div>

Hey, thanks for the report.

OpenRouter is not officially supported by Cursor. We only support OpenAI, Anthropic, Google AI, Azure OpenAI, and AWS Bedrock.

When you use Override Base URL for OpenRouter, it can be unstable and affect all models, including the built-in ones.

Try switching to one of the officially supported providers - they will work more reliably.

---

<div class="post-metadata">

**Author:** ![JelloElks](https://avatars.discourse-cdn.com/v4/letter/j/da6949/32.png) [@JelloElks](https://forum.cursor.com/u/JelloElks)\
**Post date:** [January 28, 2026, 7:15am UTC](https://forum.cursor.com/t/provider-error-after-10-20-seconds-when-using-openrouter-in-cursor/150113/4 "2026-01-28T07:15:41Z")

</div>

I’m having the exact same problem. And im not using “OpenRouter”, im using claude 4.5 that comes with cursor.

I cant send a single message…

The 2.4.21 version worked better than 2.4.22 update.

Provider Error  
Request ID: a0141157-2bd5-4cb6-a472-633712489902  
{“error”:57,“details”:{“title”:“Provider Error”,“detail”:“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”,“isRetryable”:true,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}  
[resource\_exhausted] Error  
LTe: [resource\_exhausted] Error  
at Gmf (vscode-file://vscode-app/c:/Users/jello/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9095:38348)  
at Hmf (vscode-file://vscode-app/c:/Users/jello/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9095:37251)  
at rpf (vscode-file://vscode-app/c:/Users/jello/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9096:4395)  
at fva.run (vscode-file://vscode-app/c:/Users/jello/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9096:8170)  
at async Hyt.runAgentLoop (vscode-file://vscode-app/c:/Users/jello/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34196:57047)  
at async Zpc.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/jello/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34245:7695)  
at async Zpc.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/jello/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34245:8436)  
at async FTe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/jello/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9170:14575)

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/d/a/daf6dc08cbab8ae0bed9c95d67b2ffa2aba26aef.png)

Version: 2.4.22 (user setup)  
VSCode Version: 1.105.1  
Commit: 618c607a249dd7fd2ffc662c6531143833bebd40  
Date: 2026-01-26T22:51:47.692Z  
Build Type: Stable  
Release Track: Default  
Electron: 39.2.7  
Chromium: 142.0.7444.235  
Node.js: 22.21.1  
V8: 14.2.231.21-electron.0  
OS: Windows\_NT x64 10.0.26200

---

<div class="post-metadata">

**Author:** ![TheKoswog](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/thekoswog/32/96170_2.png) [@TheKoswog](https://forum.cursor.com/u/TheKoswog)\
**Post date:** [January 28, 2026, 7:45pm UTC](https://forum.cursor.com/t/provider-error-after-10-20-seconds-when-using-openrouter-in-cursor/150113/5 "2026-01-28T19:45:50Z")

</div>

When do you plan to support openrouter?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 29, 2026, 8:25am UTC](https://forum.cursor.com/t/provider-error-after-10-20-seconds-when-using-openrouter-in-cursor/150113/6 "2026-01-29T08:25:23Z")

</div>

We don’t have a public timeline for OpenRouter support. The team is aware of the requests, but for now we’re focused on official providers like OpenAI, Anthropic, Google AI, Azure OpenAI, and AWS Bedrock.

---

<div class="post-metadata">

**Author:** ![TheKoswog](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/thekoswog/32/96170_2.png) [@TheKoswog](https://forum.cursor.com/u/TheKoswog)\
**Post date:** [January 29, 2026, 6:35pm UTC](https://forum.cursor.com/t/provider-error-after-10-20-seconds-when-using-openrouter-in-cursor/150113/7 "2026-01-29T18:35:12Z")

</div>

With respect, this is not a convincing position for a product positioned as a “next-generation AI IDE.”

OpenRouter is not a fringe or experimental service. It is a production-grade routing layer that provides immediate access to _thousands_ of models, including the most up-to-date versions from OpenAI, Anthropic, Google, Meta, and others. Many developers already rely on it precisely because it abstracts provider volatility and accelerates adoption of new models.

Saying “just use official providers” fundamentally limits Cursor’s flexibility and future-proofing. The AI ecosystem is changing extremely fast. Today’s official provider list may be outdated in months, not years.

I am paying $20/month for Cursor because I expect **choice** , **control** , and **speed of adaptation**. Allowing a stable, officially supported custom Base URL or OpenRouter-style integration is not a risky experiment, it is a strategic necessity.

If Cursor does not move in this direction, another IDE will. And the one that enables broad model access first will gain mindshare very quickly.

I’m not asking for special treatment, only for a clear commitment:  
**official support for external API routers or a public roadmap toward it.**

Please consider this feedback seriously. Many paying users depend on this flexibility.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [February 20, 2026, 6:35pm UTC](https://forum.cursor.com/t/provider-error-after-10-20-seconds-when-using-openrouter-in-cursor/150113/8 "2026-02-20T18:35:24Z")

</div>

Closed on February 20, 2026, 6:35pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
