Skip to content

Cursor Integration

Cursor is an AI-native code editor that understands your codebase and helps you code faster through natural language. This guide shows you how to connect Cursor to LLMCloud.

  1. Open Cursor and go to Settings (Cmd/Ctrl + ,)
  2. Navigate to Cursor Settings > Models
  3. Scroll to OpenAI API Key and configure:
SettingValue
Override OpenAI Base URL✓ Enabled
Base URLhttps://llmcloud.studio/v1
API KeyYour LLMCloud API key

Cursor Configuration

  1. In Model Names, click View All Models > Add Custom Model
  2. Enter the model ID (e.g., anthropic/claude-sonnet-4.5)
  3. Click Add

Add Custom Model

ModelModel ID
Claude Opus 4.6anthropic/claude-opus-4.6
Claude Opus 4.5 Thinkinganthropic/claude-opus-4.5-thinking
Claude Sonnet 4.6anthropic/claude-sonnet-4.6
Claude Sonnet 4.5anthropic/claude-sonnet-4.5
Claude Sonnet 4.5 Thinkinganthropic/claude-sonnet-4.5-thinking
Claude Haiku 4.5anthropic/claude-haiku-4.5
Gemini 3 Flash Previewgoogle/gemini-3-flash-preview
Gemini 3 Pro Previewgoogle/gemini-3-pro-preview
  1. Disable Auto mode in Model Names
  2. Select your added LLMCloud model
  3. Start coding with AI assistance

Disable Auto Mode

Cursor Usage

Problem: “API Key invalid or unauthorized” error

Solutions:

  • Verify your API key is correct
  • Check your account has sufficient balance at LLMCloud Dashboard

Problem: Unable to connect to API

Solutions:

  • Confirm Base URL is exactly https://llmcloud.studio/v1
  • Check your internet connection
  • Test with curl:
    Terminal window
    curl https://llmcloud.studio/v1/models \
    -H "Authorization: Bearer YOUR_API_KEY"

Problem: “Model not found” or “Invalid model” error

Solutions:

  • Use the exact model ID format (e.g., anthropic/claude-sonnet-4.5)
  • Verify the model is available in your subscription