Cherry Studio Configuration Guide

Use MaiToken as the API backend in Cherry Studio

Prerequisites

Before you begin, make sure that:

  1. Cherry Studio is installed

    Download and install the version for your operating system from the Cherry Studio official website

  2. You have obtained a MaiToken API key

    Sign in to the MaiToken Console to obtain your API key (starting with sk-)

Tip: If you do not have a MaiToken account yet, register at MaiToken and obtain an API key first.

Configuration Steps

Step 1: Open the Model Provider Settings

  1. Launch Cherry Studio
  2. Click the Settings icon (gear icon) in the lower-left corner
  3. On the settings page, select Model Services or Providers

Step 2: Add MaiToken as a Provider

  1. Click the + button in the upper-right corner of the provider list to add a new provider
  2. In the dialog box:
    • Name: Enter MaiToken (or any name you prefer)
    • Provider Type: Select New API (OpenAI-compatible format)
  3. Click Confirm to finish creating the provider

Step 3: Enter the API Configuration

On the MaiToken provider configuration page, enter the following information:

Configuration Item Value
API Key Your MaiToken API key (sk-xxxxxxxxxxxx)
API URL https://api.maitoken.net/v1/

Step 4: Add Models

  1. On the provider configuration page, click the Add Model button
  2. Enter the model information:
    • Model ID: Enter the ID of the model you want to use (see the recommended model list below)
    • Endpoint Type: Select OpenAI
  3. Click Save

Recommended Models:

Model Name Model ID Features
Claude Opus 4.6 claude-opus-4-6 Most powerful; suitable for complex tasks
Claude Sonnet 4.6 claude-sonnet-4-6 Balanced performance and speed; recommended for everyday use
Claude Haiku 4.5 claude-haiku-4-5-20251001 Fast responses; suitable for simple tasks
GPT-5 gpt-5 Latest OpenAI flagship model
GPT-4o gpt-4o High-quality conversations and multimodal capabilities
GPT-4o Mini gpt-4o-mini Fast and cost-effective
Gemini 2.5 Pro gemini-2.5-pro Google's flagship multimodal model

You can repeat the steps above to add multiple models as needed.

Step 5: Enable and Verify

  1. Make sure the toggle to the right of the provider is enabled
  2. Click the Check Connection or Test button to verify that the configuration is correct
  3. If a connection success message appears, the configuration is complete

Getting Started

After completing the configuration:

  1. Return to the Cherry Studio main interface
  2. In the model selector at the top of the chat window, select the MaiToken model you just added
  3. Start chatting

Frequently Asked Questions

Q1: What should I do if the connection test fails?

Solution:

  1. Check whether the API Key is correct and confirm that it starts with sk-
  2. Confirm that the API URL is set to https://api.maitoken.net/v1/ (note the trailing slash)
  3. In the MaiToken Console, confirm that the key has not expired and that your account has sufficient balance
  4. Check your network connection and ensure that you can access https://api.maitoken.net

Q2: Why can't I find my model in the model list?

Cherry Studio uses a manual model addition process. Enter the model ID directly when adding a model. You can view all available model IDs in the MaiToken Model List.

Q3: Common Error Codes

Error Message Cause Solution
401 Unauthorized API Key is invalid or expired Obtain a new API Key
429 Too Many Requests Request rate limit exceeded Wait a moment and retry
500 Internal Server Error Temporary server failure Wait a few minutes and retry
insufficient_quota Insufficient account balance Add funds in the console

Support and Help

If you encounter any issues while using the service:


Get Started with MaiToken — Register for MaiToken now, obtain your API Key, and begin an efficient AI journey in Cherry Studio!