# Google BYOK 401 with new AI Studio AQ. auth keys (direct Gemini API works)

**URL:** <https://forum.cursor.com/t/google-byok-401-with-new-ai-studio-aq-auth-keys-direct-gemini-api-works/170447>\
**Category:** Bug Reports\
**Tags:** byok, gemini\
**Created:** [September 3, 2026, 11:07am UTC](https://forum.cursor.com/t/google-byok-401-with-new-ai-studio-aq-auth-keys-direct-gemini-api-works/170447 "2026-09-03T11:07:12Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [September 5, 2026, 1:53pm UTC](https://forum.cursor.com/t/google-byok-401-with-new-ai-studio-aq-auth-keys-direct-gemini-api-works/170447/11 "2026-09-05T13:53:21Z")

</div>

No status update yet. As soon as I have one, I’ll reply in this thread.

In the meantime, the options are the same:

1. Keep Google API Key enabled and pick a different Gemini model in the model selector, like Gemini 3.7 Flash. With your key it works as usual. This was confirmed in another thread: [BYOK Gemini Flash 3.8 Unauthorized User API key](https://forum.cursor.com/t/byok-gemini-flash-3-8-unauthorized-user-api-key/170464)
2. If you specifically need Gemini 3.8 Flash, turn off the Google API Key toggle in Cursor Settings \> Models, and the model will run on your Cursor plan.

Let me know if any of this doesn’t work.

---

_[View the full topic](https://forum.cursor.com/t/google-byok-401-with-new-ai-studio-aq-auth-keys-direct-gemini-api-works/170447)._
