Which openai model is being used cursors or my own key

Thanks for reporting a bug you have found in Cursor!
Please add the following info to help us diagnose your issue:

Issue Description

When I use my own OpenAI API key, I expect to invoke the API successfully using my key. However, I encountered an error stating, “usage-based pricing is required.”

Additionally, it would be beneficial to have an aliasing feature where a model can be assigned a custom name, distinct from the default cursor. Furthermore, support for multiple OpenAI-like models would significantly enhance flexibility and usability.odel would have been great.

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already
:lady_beetle: Provide a clear description of the bug
:arrows_counterclockwise: Explain how to reproduce the bug (if known)
:camera: Attach screenshots or recordings (e.g., .jpg, .png, .mp4).
:computer: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).
:no_entry_sign: Tell us if the issue stops you from using Cursor.

Hey, which model are you trying to use?

I have been trying to use o1-preview o1-mini.( it seems like this problem has been resolved) it started to using my own key again.

I wish there is an indicator(model alias) of which model is being used from which API

1 Like

Yes! This needs to be implemented ASAP

We’ve made some changes behind the scenes to ensure that when an API key is added, that is always used over the usage billing.

To change between one and the other, you will have to enable or disable the API key or the usage billing depending on which one you want to use.