Configure DeepSeek API in Cherry Studio, Chatbox & NextChat
Connect DeepSeek API to desktop and self-hosted chat clients for multi-model switching, local document Q&A, and Docker web deployments.
On this page
OpenAI-compatible parameters
- Base URL:
https://api.deepseek.comorhttps://api.deepseek.com/v1 - Chat model:
deepseek-chat(DeepSeek-V3) - Reasoning model:
deepseek-reasoner(DeepSeek-R1) - API key: Generated in your DeepSeek Platform console.
CLIENT 1
Cherry Studio setup (Desktop UI)
Cherry Studio is a multi-provider desktop client with built-in knowledge base support:
- Open Cherry Studio and navigate to Settings ⚙️ → Model Providers.
- Select DeepSeek from the provider catalog.
- Enter your API Key (
sk-...). - Click Check Connection to verify that
deepseek-chatanddeepseek-reasonerare active, toggle the provider switch in the top right to enabled, and select the DeepSeek model at the top of your chat window.
Local knowledge base note: Official
api.deepseek.com only provides chat and reasoning endpoints, not embeddings. If you use Cherry Studio's local knowledge base, configure a separate embedding model (such as local Ollama or SiliconFlow Embedding).CLIENT 2
Chatbox setup (Cross-platform client)
- Launch Chatbox and click Settings in the bottom left.
- Under AI Model Provider, choose DeepSeek API (or OpenAI API Compatible).
- Paste your API Key.
- Set the API Host to
https://api.deepseek.comif using custom mode. - Select
deepseek-chatordeepseek-reasonerand save.
CLIENT 3
NextChat (ChatGPT-Next-Web) / LobeChat
For self-hosted web deployments using Docker:
# Docker run NextChat with DeepSeek
docker run -d -p 3000:3000 \
-e BASE_URL=https://api.deepseek.com \
-e OPENAI_API_KEY=sk-your_deepseek_api_key \
-e CUSTOM_MODELS="-all,+deepseek-chat,+deepseek-reasoner" \
yidadaa/chatgpt-next-webParameter tuning for deepseek-chat
Sampling sliders apply to deepseek-chat. Hosted deepseek-reasoner ignores temperature and top_p settings on the server.
Coding and structured extraction
Set Temperature to 0.0 ~ 0.2 on deepseek-chat for deterministic syntax and data output.
General chat and translation
Set Temperature to 0.6 ~ 1.0 on deepseek-chat for natural phrasing and translation.
Troubleshooting
401 Unauthorized
Verify that the key string starting with sk- has no extra spaces.
402 Insufficient Balance
Your API balance is exhausted. Top up your account in the DeepSeek Platform.