How to get the API of the model in cursor?

Can I get the API of the model provided by Cursor? Such as unlimited gpt-4o-mini or cursor-small.

Hey, at the moment, we do not provide an API for using Cursor models outside the platform.

Thank you, so does it mean that all the built-in models in Cursor can only be used within Cursor and cannot be accessed via an API?

Yes, exactly

Okay, thank you.

I’m sorry, I just want to confirm again. The API I mentioned refers to the model’s API Key. For example, I want to obtain the API Key of the o1 model provided in cursor and then use the API Key to access OpenAI’s o1 model. Is this operation possible?

Cursor doesn’t provide API keys for its models. These models can only be used within the Cursor program. To access OpenAI models, you need to sign up on the OpenAI platform and get an API key directly from them.