Buyer’s GuideUpdated October 11, 2026

Practical VPS tutorial

AI VPS Requirements: CPU, RAM and Storage

Choose an AI VPS for API apps, Ollama or local LLMs. Work out CPU, RAM, SSD and GPU needs, then test a plan before committing to annual billing.

Before comparing VPS plans, answer one question: will the server run the model, or call a model API? That choice changes the hardware bill more than almost anything else.

For a light API-backed app, I'd start testing with 2 vCPU and 2-4 GB RAM. For one local 7B-8B model at roughly 4-bit quantization, 8-16 GB RAM is a more useful starting range, with enough CPU or GPU performance for the response time you need.

Those are planning estimates, not official minimums or benchmark results. This guide helps you shortlist a machine; your application test decides whether to keep it.

2-4 GBRAM to start testing for a light API-backed app
8-16 GBRAM for one local 7B-8B model at roughly 4-bit quantization

Start with the workload, not the “AI VPS” label

API-backed app

2 vCPU, 2-4 GB RAM, 25-40 GB SSD; inference happens at the model provider.

Small local model

2-4 vCPU, 4-8 GB RAM, 40-80 GB SSD for a suitable 1B-4B model.

One 7B-8B local model

4+ vCPU, 8-16 GB RAM, 60-100 GB SSD; measure CPU latency.

What you want to runWhere inference happensStarting point to test
A small chatbot or agent calling an APIAt the model provider.2 vCPU, 2-4 GB RAM, 25-40 GB SSD.
Ollama with a small quantized modelOn your VPS.2-4 vCPU, 4-8 GB RAM, 40-80 GB SSD for a suitable 1B-4B model.
One quantized 7B-8B local modelOn your VPS.4+ vCPU, 8-16 GB RAM, 60-100 GB SSD; measure CPU latency.
Shared local inference with fast responsesOn a suitable CPU/GPU runtime.Size model memory and GPU VRAM first, then test concurrency.

A browser worker, document parser or vector database needs its own budget. An “agent” isn't a fixed hardware category: an API worker can be light, while a browser-heavy agent can be demanding.

Browser connecting over HTTPS to a VPS with application services, storage and optional local inference.

*The same interface can call an external provider or a local model. Only local inference needs the model loaded on this server.*

How many vCPUs do you need for an AI VPS?

For an external-API app, CPU handles request processing, tools and other local work. More cores won't make a slow remote model generate tokens faster.

For CPU-only Ollama, I'd test four or more vCPUs with the intended model and prompts. Generation speed depends on memory bandwidth, instructions, runtime settings and host contention, not just clock speed. Adding threads can stop helping or even hurt performance; the llama.cpp performance notes explain why thread settings need testing.

Before buying, check three things:

  1. The actual CPU generation, not just “Ryzen” or “Xeon.”
  2. Whether CPU time is shared or dedicated.
  3. Whether the provider permits your sustained workload.

For an occasional summary, slow CPU inference may be acceptable. For a chat service people wait on, test time to first token and generation speed before paying for a long term.

How much RAM does Ollama need on a VPS?

Start with the exact model and quantization, then add context cache, runtime buffers and the other services. A typical quantized 7B-8B model can be a candidate for 8-16 GB host RAM, but long context and parallel requests can push it higher.

Use the AI VPS RAM guide for model-size examples and a worked memory budget.

How much SSD storage should you buy?

Count what will stay on disk: the OS, images, model files, application data and temporary backup/update space. Don't buy a large disk just because “AI” appears in the product name.

For example, Ollama lists qwen3:8b at about 5.2 GB. Three model files of that size take about 15.6 GB. If you budget another 25 GB for the OS and apps, plus 20 GB for working space, that's about 61 GB before future growth. These are illustrative allowances, not measurements of a deployed stack; an 80 GB disk would be one candidate to test.

I'd choose an SSD. NVMe helps loading and disk-heavy tasks, but a good SATA SSD can be sufficient. Once a model is resident, CPU/GPU compute and memory bandwidth matter more than disk interface for token generation. Check I/O limits and free space too.

Can you run a local LLM on a VPS without a GPU?

Yes, if the model fits in host RAM and CPU speed meets your needs. Small personal deployments and background jobs are reasonable places to try it.

GPUs also accelerate text inference. They aren't reserved for image generation. A shared chat service or a larger model may justify GPU cost even when every response is plain text.

WorkloadGPU decision
Remote API chatbotNo GPU needed for that remote inference.
Small local model for personal useTry CPU first if latency is flexible.
Several users waiting on local answersCompare GPU throughput, VRAM and total cost.
Image/video generation or trainingFollow the exact model and method's hardware requirements.

Check the runtime's hardware support for the actual GPU. Host RAM and GPU VRAM are different pools; partial offloading is not the same as fitting everything into VRAM.

Network: check the route and traffic allowance

For chat, provider latency and stable streaming often matter more than a headline 1 Gbps port. Place an API app sensibly relative to its users and dependencies, then test a complete request.

Large model downloads, documents and backups can use far more traffic than chat text. Check transfer allowances, egress charges and sustained-use rules. There is no universal requirement for every multi-user chatbot to have a 1 Gbps connection.

Test a monthly plan before committing annually

Use your real prompt length, uploaded files and expected busy-hour concurrency. On the server:

free -h
vmstat 1 10
df -h
# For containerized applications:
sudo docker stats --no-stream
# For a local Ollama model:
ollama ps

Then compare plans using the bottleneck you measured. I'd pay for the resource that fixes the problem rather than upgrading every specification at once.

FAQ

Is a 2 GB VPS enough for an AI chatbot?

It can be for a light external-API app. Local models, browser automation and databases can need considerably more.

Is 8 GB RAM enough for Ollama?

It can suit small quantized models and some 7B-8B deployments with limited context. Measure the chosen model alongside the rest of the stack; 16 GB leaves more room.

Should I choose NVMe or more RAM for local AI?

First make sure the working model and cache fit in suitable memory. Faster storage helps loading, but doesn't substitute for enough RAM or VRAM.

  1. Calculate model and context memory
  2. Run an API-backed agent continuously
  3. Deploy Open WebUI without a local model

Next step

Keep the deployment moving

Sources and further reading

Commands assume a fresh Ubuntu server. Replace domains, users, database names and provider-specific values before running them. VPS sizing is a practical starting point, not a guarantee: monitor the real workload and resize when CPU, memory, disk or network headroom becomes tight.

Where to run this

Affiliate links: you pay the same price as buying direct.