DeepSeek DeepSeek‑Coder — 在本地机器集群上运行 DeepSeek‑V3、DeepSeek‑R1、DeepSeek‑Coder。7 信号评分将每个请求路由到最优设备。
Run DeepSeek-V3, DeepSeek-R1, and DeepSeek-Coder on your own hardware. The fleet router picks the best device for every request — no cloud API needed, zero per-token costs, all data stays on your machines.
ModelParametersOllama nameBest forDeepSeek-V3671B MoE (37B active)deepseek-v3General — matches GPT-4o on most benchmarksDeepSeek-V3.1671B MoEdeepseek-v3.1Hybrid thinking/non-thinking modesDeepSeek-V3.2671B MoEdeepseek-v3.2Improved reasoning + agent performanceDeepSeek-R11.5B–671Bdeepseek-r1Reasoning — approaches O3 and Gemini 2.5 ProDeepSeek-Coder1.3B–33Bdeepseek-coderCode generation (87% code, 13% NL training)DeepSeek-Coder-V2236B MoE (21B active)deepseek-coder-v2Code — matches GPT-4 Turbo on code tasks
bash
pip install ollama-herd
herd # start the router (port 11435)
herd-node # run on each machine
Package: ollama-herd | Repo: github.com/geeks-accelerator/ollama-herd
Models are pulled on demand — the router auto-pulls when a request arrives for a model not yet on any node, or you can pull manually via the dashboard. No models are downloaded during installation.
python
from openai import OpenAI
client = OpenAI(base_url="http://localhost:11435/v1", api_key="not-needed")
# DeepSeek-R1 for reasoning
response = client.chat.completions.create(
model="deepseek-r1:70b",
messages=[{"role": "user", "content": "Prove that there are infinitely many primes"}],
stream=True,
)
for chunk in response:
print(chunk.choices[0].delta.content or "", end="")
python
response = client.chat.completions.create(
model="deepseek-coder-v2:16b",
messages=[{"role": "user", "content": "Write a Redis cache decorator in Python"}],
)
print(response.choices[0].message.content)
bash
# DeepSeek-V3 general chat
curl http://localhost:11435/api/chat -d '{
"model": "deepseek-v3",
"messages": [{"role": "user", "content": "Explain quantum computing"}],
"stream": false
}'
# DeepSeek-R1 reasoning
curl http://localhost:11435/api/chat -d '{
"model": "deepseek-r1:70b",
"messages": [{"role": "user", "content": "Solve this step by step: ..."}],
"stream": false
}'
Cross-platform: These are example configurations. Any device (Mac, Linux, Windows) with equivalent RAM works. The fleet router runs on all platforms.
DeepSeek offers models at every size. Pick the one that fits your available memory — smaller models work great for most tasks:
ModelMin RAMRecommended hardwaredeepseek-r1:1.5b4GBAny Macdeepseek-r1:7b8GBMac Mini M4 (16GB)deepseek-r1:14b12GBMac Mini M4 (24GB)deepseek-r1:32b24GBMac Mini M4 Pro (48GB)deepseek-r1:70b48GBMac Studio M4 Max (128GB)deepseek-coder-v2:16b12GBMac Mini M4 (24GB)deepseek-v3256GB+Mac Studio M3 Ultra (512GB)
The fleet router automatically sends requests to the machine where the model is loaded — no manual routing needed.
num_ctx changesLlama 3.3, Qwen 3.5, Phi 4, Mistral, Gemma 3 — any Ollama model routes through the same endpoint.
bash
curl -o image.png http://localhost:11435/api/generate-image \
-H "Content-Type: application/json" \
-d '{"model":"z-image-turbo","prompt":"a sunset","width":1024,"height":1024,"steps":4}'
bash
curl http://localhost:11435/api/transcribe -F "audio=@recording.wav"
bash
curl http://localhost:11435/api/embeddings -d '{"model":"nomic-embed-text","prompt":"query"}'
http://localhost:11435/dashboard — monitor DeepSeek requests alongside all other models. Per-model latency, token throughput, health checks.
~/.fleet-manager/.deepseek-r1:7b instead of :70b).auto_pull setting.