Cursor
Connect Cursor to Chuizi.AI for access to 221 models via both OpenAI and Anthropic protocols in a single editor.
Prerequisites
- Cursor editor installed
- A Chuizi.AI account with an API key (starts with
ck-)
Configure OpenAI-Compatible Models
Use this for GPT, DeepSeek, Qwen, and other models available through the OpenAI protocol.
- Open Cursor and go to Settings > Models
- Enter your Chuizi.AI API key in the OpenAI API Key field:
ck-your-key-here
- Click Override OpenAI Base URL and enter:
https://api.chuizi.ai/v1
- Add models to the model list using the
provider/modelformat:openai/gpt-4.1deepseek/deepseek-chatanthropic/claude-sonnet-4-6
Configure Anthropic Native Protocol (Recommended for Claude)
If you primarily use Claude models, the Anthropic native protocol provides the best compatibility.
- Open Cursor and go to Settings > Models
- Find the Anthropic section
- Enter your API key in the Anthropic API Key field:
ck-your-key-here
- Click Override Anthropic Base URL and enter:
https://api.chuizi.ai/anthropic
- Select your preferred Claude model, such as
claude-sonnet-4-6orclaude-opus-4-6
Verify the Configuration
- Open the Cursor AI chat panel (
Cmd+L/Ctrl+L) - Send a test message, such as "Hello"
- If you receive a reply, the configuration is working
- Check the Chuizi.AI dashboard request logs to confirm
Common Issues
Model Not Found
Make sure you use the provider/model format (e.g., openai/gpt-4.1). Check the models page for available model names.
Slow Responses
Response times vary across models. Lightweight models like deepseek/deepseek-chat and anthropic/claude-haiku-4-5 are typically the fastest. If latency is unusually high, check your network connection and model selection.
Cursor Reports Invalid API Key
Confirm your API key starts with ck- and is enabled in the Chuizi.AI dashboard. Also verify the Base URL is correct with no trailing slash.
Next Steps
- Choose a Model — find the best model for your coding tasks
- Prompt Caching — reduce costs with automatic caching
- Choosing a Protocol — OpenAI vs Anthropic protocol trade-offs