Cline / Roo Code

Prerequisites

  1. Open VS Code and click the Cline icon in the sidebar
  2. Click the gear icon to open the settings panel
  3. In the API Provider dropdown, select Anthropic
  4. Enter the following:
    • API Key: ck-your-key-here
    • Base URL: https://api.chuizi.ai/anthropic
  5. Select your preferred Claude model from the dropdown, such as claude-sonnet-4-6

Option 2: OpenAI-Compatible Protocol

Use this when working with GPT, DeepSeek, or other non-Anthropic models.

  1. In the API Provider dropdown, select OpenAI Compatible
  2. Enter the following:
    • API Key: ck-your-key-here
    • Base URL: https://api.chuizi.ai/v1
  3. Manually enter the model name in the Model ID field using the provider/model format:
    • openai/gpt-4.1
    • deepseek/deepseek-chat
    • anthropic/claude-sonnet-4-6

Verify the Configuration

  1. Open the Cline panel
  2. Send a test message, such as "Hello, briefly introduce yourself"
  3. If Cline responds normally, the configuration is working
  4. Check the Chuizi.AI dashboard for request logs

Common Issues

Connection Failed

Verify the Base URL is correct. The Anthropic protocol uses https://api.chuizi.ai/anthropic, while the OpenAI protocol uses https://api.chuizi.ai/v1. Make sure there is no trailing /.

Empty or Error Responses

Check that your Chuizi.AI account balance is sufficient. Cline can consume a significant number of tokens, especially with Claude Opus. Keep your balance topped up.

File Editing Permission Issues

This is a Cline extension setting, unrelated to Chuizi.AI. Configure file access permissions in the Cline extension settings.

Next Steps