cloudhubglobal

How to Deploy DeepSeek via SiliconFlow and Open WebUI

jtti

With the rapid development of AI, DeepSeek has gained significant attention as a powerful inference model. Due to API recharge limitations and occasional congestion in official apps, many users are turning to alternative solutions. One practical approach is using the DeepSeek inference service provided by SiliconFlow (in collaboration with Huawei Cloud Ascend). In this guide, we’ll walk through how to deploy and use DeepSeek via Open WebUI for a smooth experience.

How to Deploy DeepSeek via SiliconFlow and Open WebUI

1. Register and Obtain SiliconFlow API Key

First, register an account on SiliconFlow: https://cloud.siliconflow.cn/i/CyIQa0sA After registration, you will receive 20 million tokens (approximately ¥14 balance). Then:
  • Log in to your account
  • Go to API Keys
  • Create and save your API key (this will be used later)
SiliconFlow offers a wide range of AI models, including both paid and free options. You can explore available models in the model marketplace. 如何通过硅基流动与Open WebUI部署DeepSeek

2. Install Open WebUI (via Docker)

Open WebUI supports multiple installation methods. Here we use Docker for quick deployment (recommended for Debian 12 users).
  1. Install Docker If Docker is not installed, refer to your previous setup guide.
  2. Run Open WebUI container Execute the following command:
docker run -d -p 3000:8080 \ --add-host=host.docker.internal:host-gateway \ -v open-webui:/app/backend/data \ --name open-webui \ --restart always \ ghcr.io/open-webui/open-webui:main
  1. Check container status:
docker ps
  1. Access Open WebUI in your browser: http://<your-server-ip>:3000

3. Deploy DeepSeek in Open WebUI

On your first visit:
  • Create an admin account (username, password, email)
  • Log in to Open WebUI
  1. Go to Settings → Admin Panel
  2. Find External Connections
  3. Add SiliconFlow API:
    • Paste your API key
    • Set model ID (optional)
  4. If model ID is left blank, all available models will be loaded by default
  5. Return to the chat interface and select a model to start using DeepSeek
For long-term usage, it is recommended to configure Nginx reverse proxy with a domain name for easier and more stable access. Q&A
  1. How to register for SiliconFlow API? Visit the official website, register an account, receive free tokens, and generate your API key in the dashboard.
  2. Why use Docker for Open WebUI? Docker simplifies deployment, avoids dependency issues, and makes management easier.
  3. How to set model ID? In the admin panel under “External Connections,” you can specify a model ID. Leaving it blank loads all available models.
  4. How to improve long-term access stability? Set up Nginx with a domain and reverse proxy to provide stable and convenient access.
标签: