cocodot
← Back to guides
Local card declined for overseas AI? cocodot: one card + one key
IntegrationUpdated 2026-08

Cherry Studio With Claude / GPT: Step-by-Step Setup and Error Guide (2026)

Add one custom provider in Cherry Studio and call Claude / GPT / Gemini with CNY top-up. Step-by-step config, one-click model fetch, and a failure checklist.

TL;DR: Cherry Studio is a desktop chat client that ships no models of its own — you connect an API to it. It supports 'OpenAI-compatible' custom providers, so you can connect a relay with CNY top-up and call Claude, GPT, Gemini and Chinese models from one balance in one client. Only two fields must be right: API address (must end in `/v1`; omitting it is the most frequent failure) and API key. Then do not type model codes by hand — the client fetches the available model list from the server in one click, avoiding typos and retired models. Know its role: a chat client, not a coding tool — good for daily writing, questions and organizing material; for API calls in code or coding assistance, an SDK or a coding tool is the better fit.

1. What Cherry Studio is

Setting this straight avoids disappointment: Cherry Studio provides no models; it is a shell — a desktop chat client handling the interface, sessions and prompt management, while model capability comes from an API you connect. So 'how do I use Claude in Cherry Studio' really means 'where do I get an API that reaches Claude, and how do I enter it'. Its strengths: conversations stored on your own machine, a pleasant interface, several providers side by side with instant switching. Its role is chat, not coding — daily writing, Q&A, organizing material. For code completion or API calls inside a project, use a coding tool or the SDK; do not expect it to replace those.

2. Get a working API (the route from China)

The API must meet two conditions: OpenAI-compatible (Cherry Studio integrates on that standard) and fundable from China. The official route usually sticks at card binding — an overseas card that passes risk controls, and Chinese-issued cards are often declined. The easier path is a compatible relay with CNY top-up: with cocodot, sign up, small Alipay top-up (no free allowance; balance must exceed 0 to call), accept the terms in the AI API console and create a key — minutes to obtain the two things you need: the endpoint and the key. Start tiny, prove the whole pipeline, then add — far safer than a large first top-up.

3. Step-by-step (just two fields)

Open Cherry Studio, go to Settings → Model Providers, add a provider of the OpenAI-compatible type, and fill two fields: ① API address: `https://cocodot.co/api/ai/v1` — the trailing `/v1` is mandatory; omitting it is the most frequent failure; ② API key: the key from your console. Save. A common misconception: some enter the full `/chat/completions` path — do not; the client appends the specific path after `/v1`, so supply only the `/v1` level. After saving, do not chat yet — fetch the model list first.

4. Do not type models; let it fetch them

This step saves effort and errors. Once the provider is configured, the panel usually has a 'Fetch models' / 'Get model list' button; click it and the client requests the server's standard model-list endpoint and pulls in every available model for you to tick. Two advantages over typing IDs: no typos (codes are short, meaningless strings that are easy to mistype), and you only see currently listed models, never retired ones. To preview the catalog, the list endpoint is public and needs no key — check it in a browser or terminal: ```bash curl https://cocodot.co/api/ai/v1/models ``` If fetching fails, it is usually the address or key — recheck those two fields.

5. When it will not connect, check in this order

Do not guess; check four items in order. ① Does the address end in `/v1`? — this alone fixes most 'cannot connect' and 404 cases; ② is the key right? — 401 / authentication failure almost always means the key; re-copy from the console and watch for stray spaces; ③ is the balance 0? — no free allowance, so a zero balance fails outright regardless of config; ④ is the model code right? — on 'model does not exist', refetch the list per the previous section instead of using a typed code. Slow responses or timeouts are a separate case: models are slower than ordinary web requests, especially on long answers; extend the client timeout if there is a setting.

6. One balance, switch models at will

Once connected, a very practical habit: several models under one provider, switched mid-conversation. They share one interface, one key and one balance, so you need not open accounts at each vendor. A typical rhythm: a comfortable mid-tier model for daily Q&A and writing, a flagship when a question needs careful reasoning or long documents, and a cheap small model for formatting, translation and classification. Switching model by task is the most direct saving — much spend comes from using the priciest model for every question. Switching costs nothing; make it a habit.

7. A few usage reminders

① Local conversation storage is a strength but means you migrate it yourself when changing machines — export important sessions. ② The key equals your balance; never post a settings screenshot with the key in a group or forum — redact first. ③ Separate keys for separate uses, so revoking one does not affect the others. ④ Prove the pipeline small before adding funds: after the first successful call, confirm normal billing in the console. ⑤ For API calls in code or coding assistance, do not route through a chat client — use the OpenAI SDK with `base_url` and `api_key`; same address, same key.

Fields and what to check first when it fails

FieldValueSymptom if wrong
Provider typeThe OpenAI-compatible typeWrong type → request format mismatch
API addresshttps://cocodot.co/api/ai/v1Missing /v1 → cannot connect / 404
API keyThe key created in the consoleWrong → 401 authentication failure
Model listClick 'Fetch models' to pull automaticallyHand-typed codes get misspelled or retired
BalanceSmall Alipay top-up firstBalance 0 → calls fail outright (no free allowance)

FAQ

Does Cherry Studio ship with models? Why configure an API?

No. It is a local chat client handling interface and sessions; model capability comes from an OpenAI-compatible API you connect. 'Using Claude in it' means finding an API that reaches Claude and entering it.

What API address, and why can't I connect?

Down to the /v1 level, e.g. https://cocodot.co/api/ai/v1 — a missing /v1 is the most frequent failure. Do not enter the full /chat/completions path; the client appends it. If /v1 is right, check the key (401), a zero balance, and the model code, in that order.

Do I type model IDs one by one?

No. After configuring the provider, click 'Fetch models' and the client pulls every current model for you to tick — no typos, no retired models. To preview, curl https://cocodot.co/api/ai/v1/models; the endpoint is public and needs no key.

How do I fund the API from China?

Use an OpenAI-compatible relay with CNY top-up: small Alipay top-up, create a key in the console. No free allowance — balance must exceed 0. Prove the pipeline with a tiny top-up, confirm calls and billing, then add.

Can I use Claude, GPT and Gemini in one client?

Yes — the most practical part: several models under one provider, switched mid-chat, one key and one balance, no per-vendor accounts. Switch by task: mid-tier daily, flagship for hard reasoning, cheap small model for simple formatting — the most direct saving.

Cherry Studio or code?

By purpose. Daily writing, questions and organizing material suit Cherry Studio, with conversations stored locally. But it is a chat tool, not a coding tool — for API calls in a project or coding assistance, use the OpenAI SDK with base_url and api_key; same address, same key.

About cocodot

cocodot is a payment and AI access service for developers and cross-border teams in mainland China. It provides US-BIN virtual cards issued by a licensed institution — used to pay for overseas subscriptions and ad accounts — and an OpenAI-compatible AI API gateway for calling Claude, GPT and Gemini from within mainland China. Both share one wallet, funded by Alipay and accounted in USD. Card: $9.9 to open, 3% to load, $1 per active card per month; spending: $0.60 settlement fee on purchases under $20; a corresponding fee applies when the issuer charges one.

Service scope, pricing and limits →
Cherry Studio With Claude and GPT: Setup and Errors