Skip to main content
These examples use the direct API host, https://api.nano-gpt.com. It has no IPv6 address, so clients with only IPv6 should use https://nano-gpt.com with the same paths. See API Hosts.

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://api.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.