Home › Articles › AI and computing power

AI computing requirements: how much hardware do you need?

Published October 27, 2026 · 9 min read

Read in: Português · English · Español

Artificial intelligence has become the world's biggest consumer of computing power. Tech companies are building data centers the size of neighborhoods to train and run models. But what about you, if you just want to use AI in a project, a bot or an automation? Do you need a graphics card that costs thousands, or will a regular VPS do? This guide explains where all that hardware demand comes from and how many resources each kind of use really needs.

Why does AI need so much computing power?

A language model like the ones behind today's chatbots is, at its core, a huge collection of numbers called parameters (or weights). Small models have a few billion of them; the largest have hundreds of billions. To generate each word of an answer, the computer has to do math with practically all of those numbers.

That creates two main requirements:

This is why GPUs (graphics cards) dominate AI: they run thousands of calculations in parallel and use memory that is much faster than a server's regular RAM.

Training an AI vs. using an AI

A model goes through two very different stages, and their costs are not even in the same league.

TrainingInference (use)
What it isTeaching the model from huge amounts of text, images or codeUsing the finished model to answer questions and generate content
HardwareThousands of data center GPUs working together for weeks or monthsAnything from a regular processor to one or a few GPUs, depending on model size
Who does itLarge companies and research labsAnyone, through an API or by running an open model

The good news: almost nobody needs to train a model from scratch. What you will do is inference, either by calling the API of a service such as ChatGPT, Claude or Gemini, or by running an open model (Llama, Qwen, Gemma, Mistral, DeepSeek and others) on your own server. There is also fine-tuning, which adapts an existing model to your data and sits in between: it needs a GPU, but far less than full training.

How much memory does an AI model need?

You can estimate it with a simple formula: number of parameters × bytes per parameter, plus some headroom for the conversation context. Bytes per parameter depend on quantization, a technique that stores the numbers with less precision to save memory:

In practice, for models quantized to 4 bits:

Model sizeApproximate memory (4-bit)Where it runs well
1 to 4 billion parameters1 to 3 GBRegular CPU-only VPS, laptop
7 to 9 billion5 to 6 GBVPS with 8 GB+ RAM (slow) or an 8 GB GPU
12 to 14 billion8 to 10 GB12 to 16 GB GPU
27 to 32 billion16 to 20 GB24 GB GPU
70 billion40 GB or moreTwo large GPUs or one data center GPU

Rule of thumb: add about 20% to the model's file size to get the memory you need. Long conversations and large documents (context) use even more memory, and the operating system and your other programs need room too.

CPU or GPU: what changes in practice

An AI model can run on a processor alone, with no graphics card. The difference is how fast the words come out:

Some AI workloads are light and run fine on a CPU: embeddings (turning text into vectors for search and RAG), text classification, OCR and audio transcription with the smaller Whisper models.

Three ways to use AI in your project

1. An AI provider's API

You send the text and get the answer back, paying per use (per token). The most capable models on the market are only available this way. It requires no hardware beyond the server making the calls.

2. An open model on a CPU-only VPS

A VPS with plenty of RAM runs small models for a fixed monthly cost, with your data under your control. It works well for summarizing text, classifying messages, extracting data from forms and answering simple questions in automated workflows.

3. A GPU server

Needed for medium and large models at good speed, image generation and fine-tuning. GPU servers cost much more than a regular VPS and are usually rented by the hour from cloud providers that specialize in AI.

The most common setup in 2026: a cheap VPS running the project's "brain" (n8n, an agent, a WhatsApp bot, the database) and calling the API of a large model when it needs real intelligence. Simple, repetitive tasks can go to a small model running on the VPS itself, saving on API calls.

Which VPS to choose for each AI use

UsevCPURAMNotes
Agent or automation that only calls an API1–22–4 GBThe heavy processing happens at the AI provider
n8n + AI via API + vector database24–8 GBRoom for Postgres/pgvector or Qdrant
Small local model (1–4B) with Ollama48 GBGood for classifying and summarizing in the background
Local 7–8B model on CPU only6–816 GB+Works, but slow for live chat
Fast chat, large models, imagesGPU serverA regular VPS won't handle it well

Hostinger KVM — easy to start, data centers in several regions

For projects that call AI APIs and run n8n, bots and agents, Hostinger is the most practical option: a simple control panel, ready-made application templates and data centers in several regions, so you can pick the one closest to your users. Plans with more vCPU and RAM can also handle small models with Ollama.

Contabo — lots of RAM for the lowest price

If you plan to run local models on a CPU, memory is what matters most, and Contabo gives you more GB of RAM per dollar than most providers. Ideal for background AI tasks.

Hetzner — dedicated CPUs

Hetzner's dedicated vCPU plans avoid the performance swings of shared CPUs, which helps when the model runs on the processor all the time. Hourly billing is also handy for testing without commitment.

Starting an AI project? Hostinger VPS for your agents, bots and automations.
See Hostinger plans →

How to test an AI model on your VPS with Ollama

Ollama is the simplest way to run open models on a Linux server. On an Ubuntu server that is already secured:

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

# download and chat with a small model
ollama run llama3.2:3b

# see how much memory the model is using
ollama ps

Ollama also provides a local API on port 11434, which you can call from n8n, a bot or your own code. Start with a small model, measure the speed, and only then try larger ones.

Don't expose port 11434 to the internet. The Ollama API has no password: anyone could use your server to run models. Keep it local only, or behind a reverse proxy with authentication.

Tips to avoid wasting resources

Summary

AI needs a lot of computing power mainly because of memory: the whole model has to fit in it, and the faster it is, the faster the answers come out. Training models is data center work, but using AI is within reach of any project. For most people, a 4 to 8 GB VPS calling an AI API is the best value. Small models run fine on a CPU alone; large models, real-time chat and image generation call for a GPU.