Cherry Studio
Add CodaAPI as a provider in Cherry Studio, which endpoint to use, whether the API address is the root or includes /v1, and how to sync models and check the connection.
Cherry Studio is a desktop AI client for chat, image generation, knowledge bases and more. Add a custom provider under Model Provider with the address and key pointing at CodaAPI.
Not tested: this page follows the official Cherry Studio documentation and the source code of version 2.2.6 (checked on November 30, 2026), and hasn't been tested on CodaAPI yet. Cherry Studio updates often, so go by the interface of the version you have installed.
What to fill in
| Item | Value |
|---|---|
| Provider type | A custom provider, with the OpenAI field under Endpoint settings filled in; optionally Anthropic too |
| Address | https://codaapi.com (the root address; Cherry Studio adds /v1 itself) |
| Key | The sk-… you copied from API Keys in the console |
| Model | Fetched with Sync models, or added manually, for example gpt-5.4-mini |
Setup
- Open Settings → Model Provider and click Add Provider below the provider list. The Add Custom Provider dialog opens.
- Enter CodaAPI in Provider Name.
- Enter the key you copied from API Keys in the console (open it directly) in API Key.
- Under Endpoint settings, enter
https://codaapi.comin the OpenAI field. The dialog then shows the actual Request path, which should behttps://codaapi.com/v1/chat/completions. - Optional: enter
https://codaapi.comin the Anthropic field as well, so Claude models can use the native Claude format (see Using the Anthropic endpoint below). More options has further endpoints such as OpenAI Responses, Gemini and Image Generation Base URL, which you can usually leave empty. - Click Add.
- On the provider's page, click Sync models to fetch the models this key can use from CodaAPI, and in the Model management panel that opens, click + next to a model to add it. You can also click Add Model to enter a model name by hand. Only models added to the list appear in the chat model picker.
- Click Check and pick a model to test the connection.
- Turn on the switch at the top right of the provider's page. Until it's on, its models don't appear in the model picker.
For image generation, see the visual workshop.
How Cherry Studio builds the address
Based on the source code of Cherry Studio 2.2.6:
- If you enter a root address (such as
https://codaapi.com), it adds/v1, then appends/chat/completionsfor chat requests and/messagesfor the Anthropic endpoint. - If the address already contains a version segment such as
/v1(for examplehttps://codaapi.com/v1), it doesn't add another. Sohttps://codaapi.com/v1works as well. - An address ending in
#is used as entered, without a version segment. This is for providers with non-standard paths and isn't needed for CodaAPI. - A trailing
/is removed.
Using the Anthropic endpoint
Once the Anthropic field has an address, Claude models can use Claude's native Messages endpoint. Which endpoint a model uses is set by Endpoint Type in the model's settings: choose Anthropic for Claude models. You can also leave this field empty; Claude models can still be called through the OpenAI endpoint (see Calling Claude via the OpenAI format).
Or use the built-in New API provider
The CodaAPI console is built on the open-source project New API, and Cherry Studio's provider list includes a built-in New API provider. According to the official documentation, it connects the OpenAI, Anthropic and Gemini formats through one root address: choose New API in the list, enter https://codaapi.com as the API Host, then sync models, check and enable as in steps 7 to 9 above.
Which models to use
- The OpenAI endpoint can use any CodaAPI model served through the Chat Completions endpoint, including GPT, Claude and Gemini models, for example
gpt-5.4-miniandclaude-sonnet-5-5. - The model must be in your key's group. For the models in each group, see Groups; for prices, see Model Square.
- For the image models used to generate images, see the visual workshop.
FAQ
Too many or too few /v1 in the address
Both https://codaapi.com and https://codaapi.com/v1 work, because Cherry Studio fills in what's missing. Don't enter a full address such as https://codaapi.com/v1/chat/completions: Cherry Studio appends /chat/completions again and the request no longer reaches the endpoint. If in doubt, look at the Request path shown in the add dialog.
Sync models doesn't fetch any models
Check that the address and key are correct and that the switch at the top right of the provider is on. If the key has Model Limits set, only the models on that list are returned. You can still use the provider without syncing: click Add Model and enter the model name by hand.
Check fails
Look at the status code in the error first: 401 means the key is wrong; 404 mentioning that the model isn't configured in your groups means the model name is misspelled or the model isn't in your key's group. Cherry Studio's documentation also suggests checking the model list for mistyped or unsupported models. For each status code, see Error codes.
I added a model but can't pick it in a chat
The provider's switch at the top right isn't on, or the model wasn't added to the list (it only counts once you click + in Model management).