Skip to content

Cursor Configuration Tutorial

Cursor Introduction

Cursor is the world's most popular AI-native code editor developed by Anysphere. Built on the VSCode kernel, it fully inherits all extensions, themes, and keyboard shortcuts from VSCode, allowing developers to migrate seamlessly at zero cost. It integrates core capabilities such as full project-level code understanding, cross-file refactoring, and natural language programming.

Cursor Model Configuration

  1. Open Cursor and click the settings icon in the upper right corner of the interface Cursor Model Configuration

  2. Select Models to enter model configuration Cursor Model Configuration

  3. Scroll down the page and enable both API Key and Base URL switches
    Enter your configured token key (API Key) and Base URL
    Base URL address:
    Override OpenAI Base URL: https://api.n1n.ai/v1
    Cursor Model Configuration

  4. Click View All Models Cursor Model Configuration

  5. Click Add Custom Model Cursor Model Configuration

  6. Enter the accurate model name and click add Cursor Model Configuration

  7. Disable the Auto function, select the configured model, and you can start using it Cursor Model Configuration