Skip to main content
These examples use the website API host, which currently lists their recommended models. The direct API host can have a different catalog during rollouts. For larger requests or longer runtimes, use https://api.nano-gpt.com/api/v1 with a model from that host’s catalog. See API Hosts for limits and availability checks.

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
  2. In Cursor settings:
    • Override OpenAI Base URL with: 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-6.1-sol, anthropic/claude-opus-5.5, google/gemini-flash-latest, and many more. Want to explore available models? Visit our pricing page.