{"id":22590,"date":"2026-11-28T12:03:08","date_gmt":"2026-11-28T09:03:08","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/run-ai-models-on-vps-ollama\/"},"modified":"2026-11-28T12:03:12","modified_gmt":"2026-11-28T09:03:12","password":"","slug":"run-ai-models-on-vps-ollama","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/run-ai-models-on-vps-ollama\/","title":{"rendered":"Run AI Models on a VPS with Ollama: What Works Without a GPU"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>In short<\/b>Ollama runs open language models on your own server, so your data stays with you. Our VPS servers have no <b>GPU<\/b>, so models run on the CPU: <b>small models<\/b> (up to about 3 billion parameters) are practical on an 8GB plan, and <b>mid-size models<\/b> need 16GB and are slower. Never expose the Ollama port to the internet.<\/div>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-vu-hero-vu-ollama-en.webp\" alt=\"Running Ollama on a VPS\" width=\"1200\" height=\"630\" loading=\"lazy\" \/><\/figure>\n<p>Many businesses want an assistant that summarises documents or answers internal questions without sending data to an outside service. Ollama makes running open models a one-command job. It is important to know the limits first: these servers run on CPU only, so speed is much lower than large cloud services.<\/p>\n<h2>What to expect on CPU without a GPU<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Model size<\/th>\n<th>Approx. memory<\/th>\n<th>Plan<\/th>\n<th>Good for<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Small (1 to 3 billion parameters)<\/td>\n<td>2 to 4 GB<\/td>\n<td>VPS 8GB<\/td>\n<td>Summaries, classification, short replies<\/td>\n<\/tr>\n<tr>\n<td>Medium (7 to 8 billion parameters)<\/td>\n<td>5 to 8 GB<\/td>\n<td>VPS 16GB<\/td>\n<td>Better answers, noticeably slower<\/td>\n<\/tr>\n<tr>\n<td>Large (over 13 billion)<\/td>\n<td>Over 10 GB<\/td>\n<td>Not practical without a GPU<\/td>\n<td>Use a cloud service or a GPU server<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Figures are approximate for the quantised models Ollama uses by default, and vary with the model and text length.<\/p>\n<h2>1. Install Ollama<\/h2>\n<pre class=\"hkb-code\">curl -fsSL https:\/\/ollama.com\/install.sh | sh\nsystemctl status ollama<\/pre>\n<h2>2. Try a small model<\/h2>\n<pre class=\"hkb-code\">ollama pull qwen2.5:3b\nollama run qwen2.5:3b &quot;Summarise this paragraph in two lines: ...&quot;<\/pre>\n<p>The Qwen family handles Arabic well compared with other small models. Test several models on your real texts before choosing.<\/p>\n<h2>3. A team interface (optional)<\/h2>\n<p>Open WebUI is a chat-style interface that works with Ollama. Run it with Docker and keep it behind HTTPS with a login:<\/p>\n<pre class=\"hkb-code\">docker run -d --name open-webui --restart unless-stopped \\\n  --add-host=host.docker.internal:host-gateway \\\n  -e OLLAMA_BASE_URL=http:\/\/host.docker.internal:11434 \\\n  -v open-webui:\/app\/backend\/data -p 127.0.0.1:3000:8080 \\\n  ghcr.io\/open-webui\/open-webui:main<\/pre>\n<p>Then point a subdomain at port 3000 through Caddy, as in the n8n guide, and create the admin account straight away.<\/p>\n<div class=\"hkb-note warn\"><b>A mistake to avoid:<\/b> Opening the Ollama port (11434) to the internet. It has no password, so anyone could use your server and its resources. Keep it on 127.0.0.1 and give access through a protected interface.<\/div>\n<div class=\"hkb-note\"><b>At Hyyat Host:<\/b> VPS servers with up to 16GB of memory to test open models on your own data: <a href=\"https:\/\/www.hyyat.com\/en\/vps-hosting\/\">VPS plans<\/a>, with our own control panel for power, console and snapshots, and Arabic and English support.<\/div>\n<h2>Frequently asked questions<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>Do I need a GPU to run AI models?<\/summary>\n<p>Not for small models, which run on the CPU at an acceptable speed. For large models or heavy use, a GPU becomes necessary.<\/p>\n<\/details>\n<details>\n<summary>Does my data leave the server?<\/summary>\n<p>No. Ollama runs the model on your server, and your text is not sent to any outside service.<\/p>\n<\/details>\n<details>\n<summary>Is it suitable for high-volume customer chat?<\/summary>\n<p>On CPU only, it suits internal use or a limited number of concurrent requests. Heavy load needs more resources or a specialised service.<\/p>\n<\/details>\n<\/div>\n<div class=\"hkb-rel\"><b>Related guides<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/vps-setup-script\/\">New VPS Setup Commands, Step by Step<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/docker-compose-generator\/\">Docker Compose Generator for WordPress and Apps<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/vps-firewall-manage-open-ports\/\">Firewall: Control the Open Ports on Your VPS<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/when-to-move-from-shared-hosting-to-vps\/\">When Should You Move from Shared Hosting to a VPS? 7 Clear Signs<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/kb\/servers-without-control-panel\/\">All guides for servers without a panel \u2192<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In shortOllama runs open language models on your own server, so your data stays with you. Our VPS servers have no GPU, so models run on the CPU: small models (up to about 3 billion parameters) are practical on an 8GB plan, and mid-size models need 16GB and are slower. Never expose the Ollama port [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":22579,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2733],"doc_tag":[],"class_list":["post-22590","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-servers-without-control-panel"],"year_month":"2026-11","word_count":493,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.hyyat.com\/en\/author\/admin\/"},"doc_category_info":[{"term_name":"Servers Without a Control Panel","term_url":"https:\/\/www.hyyat.com\/en\/kb\/servers-without-control-panel\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/22590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=22590"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/22590\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/22579"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=22590"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=22590"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=22590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}