โ† All articles
AI & Cloud VPS 9 min read

How to Run DeepSeek-R1 on a Linux Cloud VPS with Ollama (Zero GPU Needed)

The common assumption is that self-hosting cutting-edge reasoning LLMs like DeepSeek-R1 requires renting an \$800/month NVIDIA H100 GPU instance. In 2026, that assumption is completely obsolete. With 4-bit and 8-bit GGUF quantization and modern CPU AVX-512 vector execution, you can run DeepSeek-R1 on a standard high-RAM KVM Cloud VPS at 35 to 60+ tokens per second โ€” for a fraction of the cost.

In this walkthrough, we will configure an Ubuntu KVM VPS, install Ollama with systemd, deploy DeepSeek-R1 distilled reasoning models, set up an OpenAI-compatible API endpoint, and secure a multi-user Open WebUI dashboard.

Why Run DeepSeek-R1 on a Private Cloud VPS?

When you rely on commercial AI APIs like OpenAI or Claude, you face three chronic bottlenecks:

Running on our DeepSeek & AI VPS nodes provides 100% data sovereignty, flat monthly costs, and an air-gapped private inference endpoint.

Step 1: Choosing the Right VPS Sizing for DeepSeek-R1

DeepSeek-R1 models come in several distilled parameter sizes. Because quantized model weights reside entirely in RAM during inference, your server memory dictates which model size you can run:

Step 2: Installing Ollama on Ubuntu / Debian

Connect to your VPS via SSH and run the official automated installer script:

curl -fsSL https://ollama.com/install.sh | sh

Once installed, verify that the Ollama service daemon is active and running:

systemctl status ollama

By default, Ollama binds to 127.0.0.1:11434. If you intend to connect external microservices or web applications directly to this server, edit the systemd service file to bind across your private static IPv4:

systemctl edit ollama.service

Add the following environment override block:

[Service]
Environment="OLLAMA_HOST=0.0.0.0:11434"
Environment="OLLAMA_NUM_PARALLEL=4"

Save and reload the systemd configuration:

systemctl daemon-reload && systemctl restart ollama

Step 3: Pulling and Testing DeepSeek-R1

Now download and run your target DeepSeek-R1 model weight directly inside your terminal:

ollama run deepseek-r1:14b

Our high-speed 1 Gbps datacenter network in Frankfurt or Mumbai will pull the 9 GB model weights in under 30 seconds. You will be greeted by an interactive prompt where you can inspect DeepSeek's <think> step-by-step reasoning tokens live.

Step 4: Using the OpenAI-Compatible API Endpoint

One of Ollama's most powerful native features is its built-in OpenAI API wrapper. You can call your Hostinap AI VPS using standard cURL, Python, or TypeScript:

curl http://YOUR_SERVER_IP:11434/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-r1:14b",
    "messages": [
      {"role": "system", "content": "You are an expert Linux sysadmin assistant."},
      {"role": "user", "content": "Write a bash script to monitor MySQL query latency."}
    ],
    "temperature": 0.6
  }'

This allows you to point IDE extensions like Cursor, Continue.dev, Flowise, or LangChain straight to your own VPS IP address, giving your engineering team unlimited AI-assisted coding with zero per-seat subscription fees.

Step 5: Deploying Open WebUI via Docker Compose

If you want a modern ChatGPT-style web workspace for your team with document upload RAG, user permissions, and chat history, install Open WebUI using Docker Compose:

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

Navigate to http://YOUR_SERVER_IP:3000 in your browser to create your admin account. The dashboard automatically syncs with your local Ollama models.

Summary & Hardware Recommendations

Self-hosting DeepSeek-R1 puts complete control of your AI pipeline back into your hands. For production deployments with continuous multi-agent traffic, we recommend pairing high-frequency AMD EPYC dedicated cores with pure PCIe 4.0 NVMe storage to prevent model memory thrashing.

Explore our pre-configured DeepSeek & AI VPS Hosting plans starting at \$25/mo, where our senior DevOps team handles the complete Docker, Ollama, and SSL reverse proxy configuration for free.

Ready to Deploy Your Own Private DeepSeek AI Cloud?

Get high-RAM KVM VPS instances with free Docker, Ollama, and Open WebUI installation by our DevOps team.

View hosting plans
HIGH PERFORMANCE VPS KVM Virtualization • Full Root Access

Dedicated Cores & NVMe Cloud VPS โ€” Zero Hardware Compromises

Instant provisioning with pure NVMe storage arrays, 1 Gbps port speeds, Windows/Linux OS options, and low-latency global datacenters.

  • 100% Dedicated Cores & Guaranteed RAM
  • Instant RDP / SSH Access with 99.99% Uptime SLA
  • USA, Germany & Singapore Datacenter Locations
Starting From
$5/month
No Setup Fees • DDoS Protected
Configure VPS → Custom Specs Quote
Registered LLPHostinap Software Solutions
cPanel PartnerLicensed control panel
LiteSpeedLicensed web server
Since 201510+ years hosting