Configuration steps
Enable Override OpenAI Base URL
In the OpenAI API Key section:
- Check Override OpenAI Base URL.
- Base URL:
https://openp.ai/v1 - API Key: paste the
sk-key issued by OpenPAI
Enable the models you need
In the Models list, check the models you want (e.g.
gpt-5.5, gpt-5.4-mini, o3-mini).
To add a custom model ID, click + Add model and enter the ID shown in the OpenPAI console, e.g.:claude-opus-4-8gemini-3.1-pro-previewdeepseek-v3
Limitations
Features that keep working after Override:- ✅ Chat (
Cmd+L) - ✅ Inline Edit (
Cmd+K) - ✅ Custom Tools (MCP)
- ⚠️ Composer / Agent — partial fallback
- ❌ Cursor Tab — unavailable
Call OpenPAI from Composer / Agent
Even though the official Agent doesn’t support a custom base URL, you can let the Agent call OpenPAI via MCP tools:Notes
- The API key and Base URL are stored only locally; they are not uploaded to Cursor’s servers.
- After changing the config, restart Cursor to ensure the new base URL takes full effect.