# (solved) Unable to Connect to Gemini-2.5 Models in Agent Mode

**URL:** <https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301>\
**Category:** Bug Reports\
**Created:** [March 29, 2025, 5:48pm UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301 "2025-03-29T17:48:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![vandocorreia](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/vandocorreia/32/29054_2.png) [@vandocorreia](https://forum.cursor.com/u/vandocorreia)\
**Post date:** [March 29, 2025, 5:48pm UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/1 "2025-03-29T17:48:37Z")

</div>

In Agent mode, the Gemini-2.5-pro-exp-03-25 and Gemini-2.5-pro MAX models do not work. I always get the following error message:  
_“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”_

This issue has been occurring since yesterday, and I have not been able to use Agent mode at all. It is affecting my use of Cursor and impacting my work.

**Steps to reproduce the issue:**

1. Select Agent mode.
2. Choose one of the Gemini 2.5 models (either Gemini-2.5-pro-exp-03-25 or Gemini-2.5-pro MAX).

The error happens immediately.

**macOS Information** :

- **Version** : macOS Sequoia 15.3.2
- **Computer Model** : Mac Pro 2019
- **Processor** : 3.6 GHz Intel Core i7 with 8 cores
- **Graphics Card** : AMD Radeon RX 5700 XT 8 GB
- **Memory** : 32 GB 2666 MHz DDR4
- **PCI Cards** : 8 PCI card connectors

**Cursor Information** :

- **Version** : 0.48.3
- **VSCode Version** : 1.96.2
- **Commit** : d0f26e6e7e022d8e024f7eb7d085-cadf3f1d4f20
- **Date** : 2025-03-29T03:36:17.887Z (13 hours ago)
- **Electron** : 34.3.4
- **Chromium** : 132.0.6834.210
- **Node.js** : 20.18.3
- **V8** : 13.2.152.41-electron.0
- **OS** : Darwin x64 24.3.0

 ![1](https://us1.discourse-cdn.com/cursor1/original/3X/6/a/6a73cd1f51983580e69bea20e87311521c475490.jpeg)  
 ![3](https://us1.discourse-cdn.com/cursor1/original/3X/1/8/18ce6e0e260ad450d45546ea4ac49d46660fd277.jpeg)

---

<div class="post-metadata">

**Author:** ![fpdy](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/fpdy/32/69217_2.png) [@fpdy](https://forum.cursor.com/u/fpdy)\
**Post date:** [March 31, 2025, 3:57am UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/2 "2025-03-31T03:57:41Z")

</div>

+1 same here@v0.48.5

---

<div class="post-metadata">

**Author:** ![CharlesIXofFrance](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/charlesixoffrance/32/43342_2.png) [@CharlesIXofFrance](https://forum.cursor.com/u/CharlesIXofFrance)\
**Post date:** [April 2, 2025, 3:08am UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/3 "2025-04-02T03:08:03Z")

</div>

same!

---

<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:** [April 2, 2025, 10:35am UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/4 "2025-04-02T10:35:18Z")

</div>

Hey, try disabling your MCP servers and see if that resolves the issue.

---

<div class="post-metadata">

**Author:** ![VirtualTrashMan](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/virtualtrashman/32/45132_2.png) [@VirtualTrashMan](https://forum.cursor.com/u/VirtualTrashMan)\
**Post date:** [April 9, 2025, 12:10am UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/5 "2025-04-09T00:10:46Z")

</div>

Hey deanrie, would you mind confirming how one does this on 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:** [April 9, 2025, 4:10am UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/6 "2025-04-09T04:10:27Z")

</div>

Hey, do you mean disabling MCP servers? If you haven’t added them, I don’t think you should have them.

---

<div class="post-metadata">

**Author:** ![VirtualTrashMan](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/virtualtrashman/32/45132_2.png) [@VirtualTrashMan](https://forum.cursor.com/u/VirtualTrashMan)\
**Post date:** [April 10, 2025, 4:44pm UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/7 "2025-04-10T16:44:58Z")

</div>

Thank you for confirming, that is indeed what I was referring to.

Im curious why I might be having the issue then. I haven’t been able to use the Gemini 2.3 Pro max model. I have a Pro plan and have only used 37 of my monthly requests. Extremely frustrating to say the least, its driving me crazy lol. I tried reinstalling the application, all other models seem to work except for this one.

---

<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:** [April 10, 2025, 4:47pm UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/8 "2025-04-10T16:47:58Z")

</div>

To use Max models, you need to enable the usage-based pricing option in your account settings.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/9/6/96fbd04ef46deb2cf85d31888d80b91b429b193a.png)

---

<div class="post-metadata">

**Author:** ![VirtualTrashMan](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/virtualtrashman/32/45132_2.png) [@VirtualTrashMan](https://forum.cursor.com/u/VirtualTrashMan)\
**Post date:** [April 10, 2025, 4:59pm UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/9 "2025-04-10T16:59:56Z")

</div>

I do have that setting enabled:

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

---

<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:** [April 10, 2025, 5:02pm UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/10 "2025-04-10T17:02:35Z")

</div>

Do you have MCP servers enabled? If so, try disabling them, as this might be causing the error. I just checked, and it works for me. Also, try starting a new chat.

---

<div class="post-metadata">

**Author:** ![VirtualTrashMan](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/virtualtrashman/32/45132_2.png) [@VirtualTrashMan](https://forum.cursor.com/u/VirtualTrashMan)\
**Post date:** [April 10, 2025, 5:04pm UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/11 "2025-04-10T17:04:00Z")

</div>

I did check this before as I saw this was a recommended solution in the past but found I currently have none enabled. I did create a new chat for this so I will see what comes from that. Thanks for this input

---

<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:** [May 10, 2025, 5:04pm UTC](https://forum.cursor.com/t/solved-unable-to-connect-to-gemini-2-5-models-in-agent-mode/72301/12 "2025-05-10T17:04:01Z")

</div>

Closed on May 10, 2025, 5:04pm UTC

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