Using Cursor
After reading this guide, you can use our models to write code in Cursor.
Prerequisites
- Cursor installed (download from the official website)
- An API Key created (see Quick Start)
Configuration Steps
- Open Cursor and go to Settings → Models.
- Enter your API Key (starts with
sk-) in OpenAI API Key. - Click Override OpenAI Base URL and enter:
https://api.tvtapi.com/v1 - Manually add model names to the model list (copy from the model marketplace).
- After saving, select the configured model in Chat or Cmd+K.
Note
Some Cursor features rely on its own model backend — the custom API only covers Chat and Inline generation.
Troubleshooting
- 401 error: wrong API Key or Base URL — check the
/v1suffix. - Cannot select a model: enter the name manually, save, then close and reopen settings.
- Other errors: see Error Code Reference.