CherryStudio

Use Case:

Suitable for users who do not write code and mainly use AI for chatting, translation, content generation, or knowledge-base Q&A.

Configuration Steps

  1. Open Model Providers: Launch Cherry Studio, click "Settings" in the bottom-left corner, and go to "Model Providers".

  2. Add a Provider: Click "+ Add" at the bottom of the provider list.

  3. Select Provider Type: Enter MaiToken as the name, select OpenAI as the type, and click "Add".

  4. Enable the Provider: Turn on the toggle switch to the right of the newly created MaiToken provider.

  5. Enter API Key: Paste your own MaiToken Key into the API Key field.

  6. Enter API Host: Enter https://api.maitoken.net/v1 . This is the Base URL—do not append /chat/completions.

  7. Check Connection: Click "Check" next to the API Key field. If the check fails, verify your API Key and API Host first instead of clicking repeatedly.

  8. Add a Model: Go to "Model Management", click "+ Add", enter <Model ID> as the Model ID; we recommend setting the display name to MaiToken - Model ID.

  9. Start Using: Return to the chat page, start a new conversation, and select a model under the MaiToken provider from the model selector.

Field Value
Provider Name MaiToken
Provider Type OpenAI
API Key <Your MaiToken Key>
API Host https://api.maitoken.net/v1
Model ID <Model ID>

How to Test After Setup

  1. Test Basic Chat: Enter "Reply OK only" in the chat box. Receiving a normal reply confirms that your API Key, API Host, and Model ID are basically correct.

  2. Test Context Understanding: Enter "Summarize the three configuration parameters I provided in the current conversation without making anything up."

  3. Test Agent: Ask the model to create a new file named test-maitoken.txt containing hello, then verify the file was created. Do not run initial tests on a real production project.

Troubleshooting

Issue Suggested Fix
The Check button fails Run the API self-check first using the curl or PowerShell commands in the guide, then confirm that /v1 is not duplicated in the API Host.
Model can be added but does not reply The Model ID may not be within the API Key's allowed model restriction list; check the model restriction list in the console.
Failed to fetch model list You can skip automatic fetching and manually add the exact Model ID on the Model Management page.