Quick Answer
OpenCode, Cline, and Cherry Studio differ in form, but connecting them to DeepSeek V4 Pro is the same move: add an OpenAI-compatible provider with a base URL, key, and model ID.
Shared config:
Base URL : https://api.moyi-api.com/v1
API Key : sk-your-key
Model ID: deepseek-v4-pro
New accounts start with a $0 balance — top up before your first request. Top up from $5. If a request returns 402 (400 on the OpenAI format) with "wallet balance is insufficient", your balance is empty — your base URL and key are fine. Top up and retry.
Per-tool steps below.
OpenCode: Config-File Setup
OpenCode is the open-source, minimal terminal agent. Point it at the provider in its config (opencode.json or env vars):
{
"provider": {
"moyiapi": {
"options": {
"baseURL": "https://api.moyi-api.com/v1",
"apiKey": "sk-your-key"
},
"models": {
"deepseek-v4-pro": { "name": "DeepSeek V4 Pro" }
}
}
}
}
Restart OpenCode and switch to deepseek-v4-pro in the model picker. Field names may drift slightly by version, but the core is constant: baseURL → Moyi API, apiKey → your key, models → V4 Pro.
Cline: Pick "OpenAI Compatible"
Cline is the VS Code agent extension. Setup path:
- Open Cline settings (gear icon) → API Provider → OpenAI Compatible;
- Base URL →
https://api.moyi-api.com/v1; - API Key →
sk-your-key; - Model ID →
deepseek-v4-pro.
Save, and Cline sends requests to Moyi API. V4 Pro's reasoning works in Cline too, fitting the read-code → edit → run-tests loop.
Cherry Studio: GUI Provider Setup
Cherry Studio is a desktop multi-model client — fully GUI:
- Settings → Model Services → Add an OpenAI-compatible provider;
- API address / Base URL →
https://api.moyi-api.com/v1; - API Key →
sk-your-key; - In the model list, pick
deepseek-v4-pro.
Cherry Studio suits mixed daily use — Claude, GPT, and DeepSeek in one window, switched on demand.
Which Tool to Pick
| Tool | Form | Fits |
|---|---|---|
| OpenCode | Terminal agent | Minimal, customizable, scriptable |
| Cline | VS Code extension | Agent code edits inside the editor |
| Cherry Studio | Desktop client | Multi-model daily use + light coding |
FAQ
Does the base URL include /v1?
These three are all OpenAI-compatible, so yes: https://api.moyi-api.com/v1.
Why can't I find V4 Pro in Cline?
Confirm the provider type is OpenAI Compatible and the model ID is all lowercase with - separators. You can also GET /v1/models for the live list.
Can all three share one key?
Yes. One sk- key works across OpenCode, Cline, and Cherry Studio — one account, one bill.
Does V4 Pro's reasoning work in these tools?
Yes. Reasoning passes through the OpenAI-compatible interface; no special tool-side config.
Get a key at Moyi API and wire it into your tool of choice to run DeepSeek V4 Pro. V4 Pro is billed per token; current prices are on the pricing page.