# Issue: Inability to Use Both OpenAI and Openrouter API Keys

**URL:** <https://forum.cursor.com/t/issue-inability-to-use-both-openai-and-openrouter-api-keys/5015>\
**Category:** Feature Requests\
**Created:** [May 15, 2024, 11:18am UTC](https://forum.cursor.com/t/issue-inability-to-use-both-openai-and-openrouter-api-keys/5015 "2024-05-15T11:18:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellis](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ellis/32/593_2.png) [@ellis](https://forum.cursor.com/u/ellis)\
**Post date:** [May 15, 2024, 11:18am UTC](https://forum.cursor.com/t/issue-inability-to-use-both-openai-and-openrouter-api-keys/5015/1 "2024-05-15T11:18:49Z")

</div>

My company pay for my OpenAI API usage but I need to use Openrouter models.

**Pain points:**

- Switching requires:
  - Deactivation/activation of models.
  - Changing the base URL.

- These steps are tedious each time, involving numerous clicks as the settings are in a tab, and the base URL is inside a disclosure container.

**Implementation of a solution:**

- A simple UI change.
- From my understanding, a simple revision of the request implementation.

This issue is such a challenge for me that it’s making me reconsider using Cursor as my primary IDE and it would provide a vast UX improvement, particularly when weighed against the cost of implementation.

Thank you, and great work guys.

---

<div class="post-metadata">

**Author:** ![robo\_coder](https://avatars.discourse-cdn.com/v4/letter/r/e68b1a/32.png) [@robo\_coder](https://forum.cursor.com/u/robo_coder)\
**Post date:** [January 6, 2025, 9:49am UTC](https://forum.cursor.com/t/issue-inability-to-use-both-openai-and-openrouter-api-keys/5015/2 "2025-01-06T09:49:22Z")

</div>

Did you find a solution for this?

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [January 7, 2025, 12:08pm UTC](https://forum.cursor.com/t/issue-inability-to-use-both-openai-and-openrouter-api-keys/5015/3 "2025-01-07T12:08:57Z")

</div>

Hey, don’t think we have a good solution for having both an OpenAI API key, and a custom LLM provider working at the same time right now, but I’m adding this to an internal log to see if it’s something we can add in the future.

---

<div class="post-metadata">

**Author:** ![robo\_coder](https://avatars.discourse-cdn.com/v4/letter/r/e68b1a/32.png) [@robo\_coder](https://forum.cursor.com/u/robo_coder)\
**Post date:** [January 7, 2025, 3:22pm UTC](https://forum.cursor.com/t/issue-inability-to-use-both-openai-and-openrouter-api-keys/5015/4 "2025-01-07T15:22:01Z")

</div>

Thanks for your answer, it will be also very cool to have a way to use APIs from other companies, for example DeepSeek and maybe even local endpoints liek with Ollama or LmStudio
