# After overriding OpenAI api Composer does not work

**URL:** <https://forum.cursor.com/t/after-overriding-openai-api-composer-does-not-work/157533>\
**Category:** Bug Reports\
**Tags:** byok, composer\
**Created:** [April 13, 2026, 12:47pm UTC](https://forum.cursor.com/t/after-overriding-openai-api-composer-does-not-work/157533 "2026-04-13T12:47:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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 13, 2026, 1:51pm UTC](https://forum.cursor.com/t/after-overriding-openai-api-composer-does-not-work/157533/5 "2026-04-13T13:51:53Z")

</div>

Hey, this is a known issue. When a custom OpenAI API Key is enabled (or Override OpenAI Base URL), those credentials are mistakenly applied to all models, including Composer 2, which should always run through Cursor servers.

Workaround: turn off the OpenAI API Key before using Composer 2, then turn it back on for your custom model. You can toggle it quickly with `Ctrl+Shift+0`.

More details: [Composer 2 broken when custom OpenAI API Key is enabled](https://forum.cursor.com/t/composer-2-broken-when-custom-openai-api-key-is-enabled/156190)

The team is aware, but there’s no ETA yet. Your report helps with prioritization.

---

_[View the full topic](https://forum.cursor.com/t/after-overriding-openai-api-composer-does-not-work/157533)._
