SabaKore

Run a local LLM on a VPS: choosing a plan and getting started

How to run a ChatGPT-like AI inside your own VPS, from choosing a plan to installing it. Your data stays on your server, there are no per-use charges, and you choose the model. The VPSs in our table have no GPU, so this covers what runs on CPU and memory alone (small to medium models).

New to this? You can try it on a monthly VPS without buying a powerful PC. Read the beginner's guide →

Model size and memory needed

The whole model is loaded into memory. We estimate the memory needed as the file size plus headroom for the OS, Ollama and the conversation. Without enough, it will not run, or the OS will kill it partway. Larger models tend to be smarter but cost more memory and money, so start small and move up if needed. The "8B" in a model name is its number of parameters: 8B is about 8 billion.

ModelFile sizeMemory needed (est.)Command
Llama 3.2 3B2 GB3.5 GB+ollama run llama3.2:3b
Llama 3.1 8B4.9 GB6.4 GB+ollama run llama3.1:8b
Qwen2.5 14B9 GB10.5 GB+ollama run qwen2.5:14b

File sizes are copied from the official Ollama library (checked October 1, 2026). The memory headroom (1536 MB) and disk allowance (10 GB) are provisional values we have not measured. For other models, use the plan finder.

Memory grows further with longer conversations: the model keeps context in a KV cache, which grows with context length and the number of simultaneous requests. Short chats by one person usually fit in the headroom, but long documents or several users can need more than the table shows. To leave room, choose one plan size up.

Cheapest plan per provider that fits each model

For each provider, the cheapest monthly plan with enough memory and disk. "—" means no plan from that provider fits. This compares fit and monthly price only, not speed. The same model responds at different speeds on different CPUs, and we do not measure it.

ProviderLlama 3.2 3B3.5 GB+Llama 3.1 8B6.4 GB+Qwen2.5 14B10.5 GB+
ABLENET VPS¥2,167/mo4 GB · 3 vCPU¥2,936/mo8 GB · 4 vCPU¥5,872/mo16 GB · 8 vCPU
KAGOYA CLOUD VPS¥1,760/mo4 GB · 4 vCPU¥3,410/mo8 GB · 6 vCPU¥7,810/mo16 GB · 8 vCPU
ConoHa VPS¥2,189/mo4 GB · 4 vCPU¥4,389/mo12 GB · 6 vCPU¥4,389/mo12 GB · 6 vCPU
XServer VPS¥2,640/mo4 GB · 4 vCPU¥5,280/mo8 GB · 6 vCPU¥11,770/mo16 GB · 8 vCPU
Vultr¥3,100/mo (converted)4 GB · 2 vCPU¥6,200/mo (converted)8 GB · 4 vCPU¥12,400/mo (converted)16 GB · 6 vCPU
Amazon Lightsail¥3,718/mo (converted)4 GB · 2 vCPU¥6,818/mo (converted)8 GB · 2 vCPU¥13,020/mo (converted)16 GB · 4 vCPU
DigitalOcean¥3,720/mo (converted)4 GB · 2 vCPU¥7,440/mo (converted)8 GB · 4 vCPU¥14,880/mo (converted)16 GB · 8 vCPU
Linode (Akamai Connected Cloud)¥3,720/mo (converted)4 GB · 2 vCPU¥7,440/mo (converted)8 GB · 4 vCPU¥14,880/mo (converted)16 GB · 6 vCPU
Sakura VPS¥3,960/mo4 GB · 4 vCPU¥7,920/mo8 GB · 6 vCPU¥15,400/mo16 GB · 8 vCPU
Onamae.com VPS¥4,065/mo4 GB · 4 vCPU¥8,255/mo8 GB · 6 vCPU¥16,636/mo16 GB · 10 vCPU
Cloud VPS by GMO¥3,548/mo4 GB · 4 vCPU¥8,360/mo8 GB · 6 vCPU¥13,310/mo12 GB · 7 vCPU
Shin VPS¥4,970/mo4 GB · 4 vCPU¥9,940/mo8 GB · 6 vCPU¥19,870/mo16 GB · 8 vCPU

USD plans are converted at a reference rate (1 USD = ¥155). Check each provider's site for the amount you will actually be charged.

Not sure? A starting point for each model

The cheapest plan that fits. For long conversations or several users, choose the next plan up with more memory. Affiliate programs have no effect on what we list here.

Llama 3.2 3B

3.5 GB+ suggested

Start with KAGOYA CLOUD VPS: 4 GB, ¥1,760/mo.

For more headroom, the same provider's 8 GB plan at ¥3,410/mo.

See KAGOYA CLOUD VPS's plans →

Llama 3.1 8B

6.4 GB+ suggested

Start with ABLENET VPS: 8 GB, ¥2,936/mo.

For more headroom, the same provider's 10 GB plan at ¥3,670/mo.

See ABLENET VPS's plans →

Qwen2.5 14B

10.5 GB+ suggested

Start with ConoHa VPS: 12 GB, ¥4,389/mo.

For more headroom, the same provider's 24 GB plan at ¥9,746/mo.

See ConoHa VPS's plans →

Your own VPS or an API?

A local LLM is not always the better deal. Four points mostly decide it:

  • How you pay: a VPS costs the same each month whether you use it or not; an API charges per use. For occasional use an API is cheaper; for heavy daily use a fixed-price VPS can win. The cheapest plan that fits an 8B-class model starts at ¥2,936/mo (ABLENET VPS).
  • Data: everything stays on your server, so internal documents and personal data are not sent to an outside service. This is often the main reason to run locally.
  • Capability: the small to medium models that run on CPU and memory handle a narrower range than large API models. They are practical for focused tasks such as summarizing, classifying and rewriting, but may fall short on hard reasoning or long writing.
  • Effort: an API works as soon as you sign up. With a VPS, setup, updates and security are your job.

Sign up and install Ollama

The flow is the same with any provider. Only the control panel steps differ (creating the server, choosing the OS, where the firewall is). Once you are inside the server, the commands are the same.

  1. Create a VPS in the provider's control panel with Ubuntu 24.04 or 22.04 and at least the memory chosen above.
  2. Connect over SSH and set up key authentication and a firewall.
  3. Install Ollama, then download and run a model.
  4. From your PC, connect through an SSH tunnel (do not expose it to the internet).
See the steps with commands →

Once it is running

  • Try it on the server: chat directly with ollama run MODEL to see whether it is useful.
  • Call it from your apps: Ollama offers an OpenAI-compatible endpoint, so programs written for OpenAI often work by changing the base URL. Steps
  • Use a chat UI in the browser: Open WebUI gives you a chat screen with login. Steps
  • Ask questions about your documents: Open WebUI can answer from PDFs and other files (RAG). Steps
  • Coding assistant in your editor: call your VPS model from the Continue extension. Steps

What not to expose

Ollama has no authentication. If its port (11434) is open to the internet, anyone can run models on your server's CPU and memory, slowing it down or using it for things that break your provider's terms.

  • If only you use it, keep 11434 closed and reach it through an SSH tunnel (recommended).
  • If you must connect directly, allow only your own IP address.
  • For several users, put a UI with login or a reverse proxy with authentication in front.

See the configuration steps →

Prices and specs are updated regularly from each provider's published information. Check each provider's official site for current terms.