Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
I am tier 3 at GCP. Currently trying to use gemini-3-pro-preview and I’m getting the error below in spite of using gemini-3-pro-preview outside cursor. Gemini-3-pro-preview works and my rate-limiting with GCP isn’t affecting the requests. We are processing close 100K requests per day with Gemini models and our plan and account allows for even more. Cursor however hits errors when using my private API key for Gemini models. This used to work last week. I’m on MacOS using:
Version: 2.2.36 (Universal)
VSCode Version: 1.105.1
Commit: 55c9bc11e99cedd1fb93fbb7996abf779c583150
Date: 2025-12-18T06:25:21.733Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin x64 25.2.0
Request ID: 04bfecf6-a059-44e4-8086-2748907129e2
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Streaming error\n\nAPI Error:\n\n\n{"error":{"type":"provider","reason":"provider_error","message":"Provider returned 429","retryable":true,"provider":{"status":429,"body":"[{\n \"error\": {\n \"code\": 429,\n \"message\": \"Resource has been exhausted (e.g. check quota).\",\n \"status\": \"RESOURCE_EXHAUSTED\"\n }\n}\n]"}}}\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
Steps to Reproduce
I’m on a paid Pro plan with Cursor. I’m trying to use my Gemini API Key instead of using plan’s included requests.
Expected Behavior
I want to be able to work with Cursor using my Gemini/Vertext/Google AI Studio API key . This used to work until recently.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.36 (Universal)
VSCode Version: 1.105.1
Commit: 55c9bc11e99cedd1fb93fbb7996abf779c583150
Date: 2025-12-18T06:25:21.733Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin x64 25.2.0
For AI issues: which model did you use?
Gemini-3-pro-preview in Agent mode
For AI issues: add Request ID with privacy disabled
Request ID: 04bfecf6-a059-44e4-8086-2748907129e2
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Streaming error\n\nAPI Error:\n\n\n{\"error\":{\"type\":\"provider\",\"reason\":\"provider_error\",\"message\":\"Provider returned 429\",\"retryable\":true,\"provider\":{\"status\":429,\"body\":\"[{\\n \\\"error\\\": {\\n \\\"code\\\": 429,\\n \\\"message\\\": \\\"Resource has been exhausted (e.g. check quota).\\\",\\n \\\"status\\\": \\\"RESOURCE_EXHAUSTED\\\"\\n }\\n}\\n]\"}}}\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor