Cherry Studio
Cherry Studio is a popular cross-platform desktop AI workspace (Windows, macOS, Linux) supporting multi-provider chat, assistant presets, MCP tools, and local RAG knowledge bases. RKAPI works across Cherry Studio's OpenAI, Anthropic, and Gemini provider types.
1. Prepare Your API Key
- Sign in to the RKAPI Console.
- Create an API key on the API Keys page and pick the channel group matching the models you plan to use.
- Keep RKAPI Pricing handy so you can confirm exact model IDs.
2. Configure Providers in Cherry Studio
Open Cherry Studio, click the Settings (gear) icon in the bottom-left corner, and open Model Providers.
OpenAI-Compatible Provider
Select OpenAI (or click Add at the bottom of the provider list to create a dedicated RKAPI provider with provider type OpenAI).
Enable the provider toggle in the top-right corner.
Paste your
<YOUR_API_KEY>into API Key.Set API Host to:
texthttps://api.zwwbai.com
Anthropic Provider
Select Anthropic (or add a new custom provider with type Anthropic).
Enable the provider toggle.
Paste your
<YOUR_API_KEY>into API Key.Set API Host to:
texthttps://api.zwwbai.com
Gemini Provider
Select Gemini (or add a new custom provider with type Gemini).
Enable the provider toggle.
Paste your
<YOUR_API_KEY>into API Key.Set API Host to:
texthttps://api.zwwbai.com
3. Understanding Cherry Studio's /v1 Path Handling & # Override
Cherry Studio displays the live preview of the full request URL right beneath the API Host field. Always inspect that preview to avoid a doubled /v1/v1 path:
| What You Enter in API Host | Cherry Studio Behavior | Effective OpenAI Endpoint |
|---|---|---|
https://api.zwwbai.com | Automatically appends /v1/chat/completions | https://api.zwwbai.com/v1/chat/completions |
https://api.zwwbai.com/v1 | Recognizes /v1 and appends /chat/completions (on recent builds) | https://api.zwwbai.com/v1/chat/completions |
https://api.zwwbai.com/ (trailing /) | Skips auto-inserting /v1 in some versions | https://api.zwwbai.com/chat/completions (will 404!) |
https://api.zwwbai.com/v1/chat/completions# | # disables all path auto-completion and uses the literal URL | https://api.zwwbai.com/v1/chat/completions |
Recommended Rule
Enter https://api.zwwbai.com with no trailing slash for OpenAI, Anthropic, and Gemini providers. Only use the # suffix if you want to lock a specific full endpoint path verbatim.
4. Add Models & Test the Connection
- Click Manage under the Models section to fetch models automatically from
https://api.zwwbai.com/v1/models, and click + next to the models you want to enable. - If a newly released model does not appear in the list, click Add manually and enter the exact
<model-id>from https://s2pbxm0xv5y.adtyai-fz.top/pricing. - Click the model's settings icon to confirm capability tags (Vision, Tool Use / Function Calling, Reasoning, or Embedding) so Cherry Studio enables image uploads, MCP calls, or thinking panels appropriately.
- Click Check next to the API Key input box and select one of your enabled models. A green check confirms end-to-end connectivity.
5. Configure Knowledge Base Embedding Models
To build local RAG knowledge bases in Cherry Studio using RKAPI embeddings:
- In your RKAPI OpenAI-compatible provider settings, click Add and enter an enabled embedding model ID from https://s2pbxm0xv5y.adtyai-fz.top/pricing (for example
text-embedding-3-smallortext-embedding-3-large). - Open that model's capability settings and mark it as an Embedding model (ensure chat-only tags are off).
- Navigate to Knowledge Base in the left sidebar and click Add.
- Choose your RKAPI embedding model under Embedding Model, create the knowledge base, and import documents (PDF, Markdown, DOCX, or URLs).
- In any chat session, select the knowledge base icon in the composer toolbar to ground replies in your indexed files.
Troubleshooting
404 Not Foundwhen clicking Check: Inspect the URL preview under API Host. Remove any trailing/and avoid accidental/v1/v1duplication.- Model fetch returns empty or errors: Add the model ID manually using the exact string shown on RKAPI Pricing.
- Knowledge base indexing fails: Verify that the embedding model ID is included in your API key's group and is tagged as Embedding in Cherry Studio.
- Want one-click import? You can also export RKAPI settings straight into Cherry Studio via All API Hub.