Integrations
Configure your favorite AI coding tools â from CLI agents to IDE plugins â to use WisGate models in minutes.
Cursor
Configure WisGate as the API backend for Cursor AI-powered code editor.
Cursor
Connect WisGate models to Cursor through the OpenAI-compatible protocol for AI chat, code generation, debugging, refactoring, and project analysis.
Due to Cursor's limitations, only users with a Cursor Pro subscription or above can configure custom models. Non-Pro users will encounter errors after configuration.
1. Install Cursor
Visit the Cursor website to download and install the version for your operating system.
2. Create New Provider/Model
In Cursor, open the "Models" section and click the "Add Custom Model" button.
- Select OpenAI protocol
- Configure OpenAI API Key (obtained from the WisGate dashboard)
- In Override OpenAI Base URL, replace the default URL with:
https://api.wisgate.cn/v1 - Enter the model you want to use, such as
GPT-5.5,GPT-4.7, orGPT-4.5 - Note: In Cursor, you must use uppercase model names, e.g.,
GPT-5.5
3. Save and Switch Model
After configuration, save your settings and select the newly created Provider on the main page.
4. Start Using
With this setup, you can start using WisGate models for code generation, debugging, task analysis, and more.
5. Use Cases
- Code completion and generation: Generate code in Cursor based on the current file or project context.
- Error fixing: Paste errors or select problematic code and ask the model to identify the cause.
- Refactoring suggestions: Analyze functions, components, or modules and get refactoring guidance.
- Project Q&A: Ask questions about the existing codebase to understand business logic and dependencies faster.
FAQ
The custom model is not available after saving
Confirm that your Cursor plan supports custom models, and check that the API key, model name, and https://api.wisgate.cn/v1 are correct.
The model name is not recognized
Cursor can be sensitive to model name casing. Use the model name from the dashboard or model list, and use uppercase names when required.