Using Cursor

Using Cursor

After reading this guide, you can use our models to write code in Cursor.

Prerequisites

Configuration Steps

  1. Open Cursor and go to Settings → Models.
  2. Enter your API Key (starts with sk-) in OpenAI API Key.
  3. Click Override OpenAI Base URL and enter:
    https://api.tvtapi.com/v1
  4. Manually add model names to the model list (copy from the model marketplace).
  5. 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 /v1 suffix.
  • Cannot select a model: enter the name manually, save, then close and reopen settings.
  • Other errors: see Error Code Reference.