I want to use my own OpenAI API key and model, but it doesn’t work.
When I put my key in Settings → Models → API Keys and set https://api.openai.com/v1/ as the base URL, nothing happens — no verify, no error.
My API key is valid (it works fine with curl), but Cursor doesn’t connect or confirm it.
Hey, thanks for the report. A couple of things to try:
You don’t need to override the base URL for official OpenAI API keys - Cursor uses https://api.openai.com/v1 by default. Try removing the base URL override completely and just enter your API key.
The verify button was intentionally removed in recent versions - you just need to enter your key and it should work automatically.
Yeah, I’m sure that my API key can access GPT-5 and other models — I can use them through Python scripts without any issues, and there’s no difference after adding my API key (I’ve already refreshed it and checked “view all models”)
NOTE: I also found that I can only use my own API’s gpt-t-nano and gpt-5-mini and gpt-4.1 models.
Thanks for the clarification. Unfortunately, this isn’t a bug. To use your own API keys, you need an active subscription (Pro or higher). The free plan limits which models you can access, even when using your API keys.
Thanks for the feedback. I agree that UI feedback would be helpful. The team should show a message like “This feature is available for Pro subscription only” instead of silently blocking it.