Learn how to integrate your Novita AI API keys with Cursor to unlock powerful AI models for programming. Get step-by-step instructions for seamless setup.
This guide will walk you through the steps needed to integrate Novita AI’s models with Cursor. Using your own API keys, you can leverage Novita AI’s large language models (LLMs) for custom AI messages in Cursor. This integration ensures that you can run AI-powered conversations and interactions while keeping full control over your API usage and cost.
Cursor is a code editor built for programming with AI. It integrates with multiple large language models (LLMs) and allows you to input your own API keys, giving you full control over AI usage and costs. Whether you’re coding or interacting with AI, Cursor streamlines the experience with features like smart autocomplete, auto-suggestions, and multi-model support, all within your development environment.
Generate your API Key: After logging in, navigate to the Key Management page to generate your API key. This key is essential to connect Novita AI’s models to Cursor.
Select a Model Name: You’ll need to copy the model name you want to use from Novita AI’s Model Library. Some available models include:
Uncheck all the other models that are pre-configured in Cursor.
In the Model Name field, paste the model name you copied from the Novita AI Model Library (e.g., deepseek/deepseek-r1).
Enter your Novita AI API key in the designated field.
Click the Verify button to ensure your API key is correct. Once validated, the API key will be activated.
In the Open AI Base URL field, override the default URL with the Novita AI endpoint:https://api.novita.ai/openai
By following these steps, you’ll link your Novita AI API key with the Cursor app, enabling you to use Novita AI’s models through CursorStart a Chat with AI in Cursor.
Tab Completion, Apply from Chat, and Composer: These features require specialized models and will not work with custom API keys. If you wish to use these specific features, consider switching to the default models provided by Cursor.