> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nano-gpt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Using NanoGPT with Cursor AI-powered code editor

# Using Cursor with NanoGPT

A quick guide to setting up Cursor with NanoGPT's API.

## Setup Instructions

1. Get your API key from [nano-gpt.com/api](https://nano-gpt.com/api)
2. In Cursor settings:
   * Override OpenAI Base URL with: [https://nano-gpt.com/api/v1/](https://nano-gpt.com/api/v1/)
   * Set the API Key to your NanoGPT API key
   * Click "+ Add Model" to add any of our models you want to use

That's it! You can now use any of our models in Cursor. Available models include openai/gpt-5.2, anthropic/claude-opus-4.5, google/gemini-3-flash-preview, and many more.

Want to explore available models? Visit our [pricing page](https://nano-gpt.com/pricing).
