# Add Gemini 2.5 Flash to cursor

**URL:** <https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729>\
**Category:** Feature Requests\
**Created:** [April 17, 2025, 10:49pm UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729 "2025-04-17T22:49:28Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![qwert](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/qwert/32/48940_2.png) [@qwert](https://forum.cursor.com/u/qwert)\
**Post date:** [April 17, 2025, 10:49pm UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/1 "2025-04-17T22:49:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![qwert](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/qwert/32/48940_2.png) [@qwert](https://forum.cursor.com/u/qwert)\
**Post date:** [April 17, 2025, 10:52pm UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/2 "2025-04-17T22:52:25Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/f/0/f08ebece27a0c0485b7866b2f729181c2dca9f8b.png)  
 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/3/0/3032b40e501e262b3c09d02a8d1aac823844b9fd.png)

---

<div class="post-metadata">

**Author:** ![qwert](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/qwert/32/48940_2.png) [@qwert](https://forum.cursor.com/u/qwert)\
**Post date:** [April 17, 2025, 10:53pm UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/3 "2025-04-17T22:53:49Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/7/d/7dd7235a13e96f3c64b9408ddab9cc3143a91732.jpeg)

---

<div class="post-metadata">

**Author:** ![qwert](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/qwert/32/48940_2.png) [@qwert](https://forum.cursor.com/u/qwert)\
**Post date:** [April 18, 2025, 1:30am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/4 "2025-04-18T01:30:12Z")

</div>

He is very cheap, even 1/4 of a quick request, and can be used as a small model.

---

<div class="post-metadata">

**Author:** ![qwert](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/qwert/32/48940_2.png) [@qwert](https://forum.cursor.com/u/qwert)\
**Post date:** [April 18, 2025, 1:31am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/5 "2025-04-18T01:31:11Z")

</div>

Google’s model has excellent context capabilities. I once sent it a 5,000-line code file and asked it to make a copy for me, then add a line of numbers at the bottom. It replicated everything perfectly without a single error.

---

<div class="post-metadata">

**Author:** ![MasRama](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/masrama/32/48036_2.png) [@MasRama](https://forum.cursor.com/u/MasRama)\
**Post date:** [April 18, 2025, 4:00am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/6 "2025-04-18T04:00:44Z")

</div>

+1 yup must be very good in cursor

---

<div class="post-metadata">

**Author:** ![ste.fan](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ste.fan/32/37954_2.png) [@ste.fan](https://forum.cursor.com/u/ste.fan)\
**Post date:** [April 18, 2025, 4:14am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/7 "2025-04-18T04:14:21Z")

</div>

This model is now available, enjoy! You can enable it via Settings \> Models.

---

<div class="post-metadata">

**Author:** ![jiun](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jiun/32/25940_2.png) [@jiun](https://forum.cursor.com/u/jiun)\
**Post date:** [April 18, 2025, 5:06am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/8 "2025-04-18T05:06:47Z")

</div>

Is it a thinking or non-thinking model?

---

<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 18, 2025, 5:43am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/9 "2025-04-18T05:43:18Z")

</div>

Gemini 2.5 Flash Preview is a thinking model.

---

<div class="post-metadata">

**Author:** ![qwert](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/qwert/32/48940_2.png) [@qwert](https://forum.cursor.com/u/qwert)\
**Post date:** [April 18, 2025, 7:31am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/10 "2025-04-18T07:31:07Z")

</div>

We’ve hit a rate limit with gemini-openai. Please switch to the ‘auto-select’ model, another model, or try again in a few moment

---

<div class="post-metadata">

**Author:** ![SamRF](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@SamRF](https://forum.cursor.com/u/SamRF)\
**Post date:** [April 18, 2025, 10:51am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/11 "2025-04-18T10:51:12Z")

</div>

Since it’s labeled as preview, does that mean that prompts will be used by Google to train their models etc or does Cursor demand it to be private?

---

<div class="post-metadata">

**Author:** ![MasRama](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/masrama/32/48036_2.png) [@MasRama](https://forum.cursor.com/u/MasRama)\
**Post date:** [April 18, 2025, 4:10pm UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/12 "2025-04-18T16:10:16Z")

</div>

i cant activate thinking mode in 49.1

---

<div class="post-metadata">

**Author:** ![ericzakariasson](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ericzakariasson/32/11130_2.png) [@ericzakariasson](https://forum.cursor.com/u/ericzakariasson)\
**Post date:** [April 18, 2025, 7:05pm UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/13 "2025-04-18T19:05:36Z")

</div>

We’re using the OAI compatible API for this model integration which doesn’t yet support thinking. We’ll add it as soon as it becomes available

---

<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 19, 2025, 11:12am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/14 "2025-04-19T11:12:20Z")

</div>

I apologize for the inaccurate information in my previous response. The Gemini 2.5 Preview model now has two modes and allows enabling and disabling thinking. In Cursor, only one mode is currently available, but we will add this support soon.

---

<div class="post-metadata">

**Author:** ![yeahyeahyeah](https://avatars.discourse-cdn.com/v4/letter/y/3be4f8/32.png) [@yeahyeahyeah](https://forum.cursor.com/u/yeahyeahyeah)\
**Post date:** [April 22, 2025, 6:26am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/15 "2025-04-22T06:26:06Z")

</div>

I’m using an API key from Gemini in Cursor (free plan from Gemini) I’m a Cursor Pro user, however it says the API key is Unauthorized User API key: (Request ID: f979262f-1473-4c3e-8c37-61f335e13c8b). Gemini 2.5 pro does work correctly.

In the regular Vscode app it does work correctly with 2.5 Flash using the same key though.

---

<div class="post-metadata">

**Author:** ![samy](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/samy/32/49000_2.png) [@samy](https://forum.cursor.com/u/samy)\
**Post date:** [April 22, 2025, 8:11am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/16 "2025-04-22T08:11:20Z")

</div>

Getting the exact same issue as you, same API key works fine on cline for the flash model

---

<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 22, 2025, 3:05pm UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/17 "2025-04-22T15:05:41Z")

</div>

This model via API is not working in Cursor yet.

---

<div class="post-metadata">

**Author:** ![superjavi](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@superjavi](https://forum.cursor.com/u/superjavi)\
**Post date:** [April 22, 2025, 7:29pm UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/18 "2025-04-22T19:29:23Z")

</div>

How can I use this model on cursor? my Google API key is not working!! Unauthorized User API key  
(Request ID: 64ef2978-4de9-476f-bf89-921c8961f6dc)

and without the key configuration:

We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.

(Request ID: 71c676cc-1f36-43d1-9dce-12ef80d1b842)

---

<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 23, 2025, 7:42am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/19 "2025-04-23T07:42:20Z")

</div>

I think we’ve fixed it, now this model should work with your API key.

---

<div class="post-metadata">

**Author:** ![yeahyeahyeah](https://avatars.discourse-cdn.com/v4/letter/y/3be4f8/32.png) [@yeahyeahyeah](https://forum.cursor.com/u/yeahyeahyeah)\
**Post date:** [April 23, 2025, 9:43am UTC](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729/20 "2025-04-23T09:43:39Z")

</div>

Great, yes works.

[Next page](https://forum.cursor.com/t/add-gemini-2-5-flash-to-cursor/80729.md?page=2)
