Custom model is not working

Hey, thanks for the report.

The issue is that BYOK is only available for Pro users. In your screenshot I can see “Free Plan”, so custom models won’t work.

To use your OpenAI API key with a custom base URL:

  • Upgrade to the Pro plan at cursor.com/settings
  • After that, you’ll be able to add your API key and base URL

About SambaNova specifically: there’s an official integration here Build with Cursor - SambaNova Integration Guide, but it also requires Pro.

One more thing: even on Pro, custom models like Meta-Llama may currently have issues because of client-side validation in recent Cursor versions. Similar reports are here: Custom Model problems

Let me know if you still have issues after upgrading to Pro, and I’ll ask the team to take a look at your specific SambaNova case.