Skip to contentcloudvix
cloudvix

Every prompt sent to a third party? Run the model on your own server.

Run small language models with Ollama on a Cloud Server

Open language models on your own server, with no per-request fees. Small models run on the CPU. From €0.0134 an hour.

Topaz · €0.0134 / hour · at most €8.99 / month per server · excl. VAT

A small model answers

A small model answering on the CPU. Example output; replies and speed vary by model and plan.

ollama run llama3.2:1b "Name three German cities."
Berlin, Munich and Hamburg.
PlanRAM
Quartz2 GB
Topaz4 GB
Garnet8 GB
Sapphire16 GB

Which plan for Ollama

A model has to fit in memory: roughly its file size plus room for the system and the conversation. Topaz has 4 GB RAM, enough for models with one to three billion parameters, such as the llama3.2 1b and 3b models used here. Larger models need a larger plan and answer more slowly, because there is no GPU.

The plan for this task

Topaz

  • 2 vCPU
  • 4 GB RAM
  • 40 GB NVMe
  • 2 TB traffic

Topaz · €0.0134 / hour · at most €8.99 / month per server

All plans and prices

Install Ollama in five steps

You need the server's IP address and the root login from your dashboard. The commands follow the Ollama documentation; check its pages if something has changed.

  1. Step 1: Log in over SSH

    Replace SERVER_IP with the address from your dashboard and log in as root with your SSH key or the root password.

    Step 1: Log in over SSH
    ssh root@SERVER_IP

  2. Step 2: Install Ollama

    The installer of the Ollama project sets Ollama up as a service on Ubuntu 24.04. The first part makes sure curl and zstd are there.

    Step 2: Install Ollama
    apt-get update && apt-get install -y curl zstd && curl -fsSL https://ollama.com/install.sh | sh

  3. Step 3: Run a small model

    Downloads the 1B model of Llama 3.2 on first use and opens a chat in the terminal. Type /bye to leave.

    Step 3: Run a small model
    ollama run llama3.2:1b

  4. Step 4: Ask it over the API

    Ollama also answers over HTTP on port 11434 of the server itself. This asks the same model one question and returns JSON.

    Step 4: Ask it over the API
    curl http://localhost:11434/api/generate -d '{
      "model": "llama3.2:1b",
      "prompt": "Name three German cities.",
      "stream": false
    }'

  5. Step 5: Reach the API from your computer

    Run this on your own computer

    Forward the port over SSH. Ollama has no login of its own, so keep its port closed to the internet and use this tunnel instead.

    Step 5: Reach the API from your computer
    ssh -N -L 11434:localhost:11434 root@SERVER_IP

Ollama runs on your server and you look after it: installing, updating, backups and security of Ollama are yours. Cloudvix provides the Cloud Server with root access, not a managed Ollama service.

Create the server for Ollama

Choose Topaz and Ubuntu 24.04 in the order form. A new server is usually ready in a few minutes.

Plan
Topaz · 2 vCPU · 4 GB RAM · 40 GB NVMe
System
Ubuntu 24.04
Location
Frankfurt
Price
Topaz · €0.0134 / hour · at most €8.99 / month per server
Create a server for Ollama

The order form opens with the plan selected; pick the system from its list there. Prices exclude VAT.

Questions and answers

Does Cloudvix have GPUs?

No. Cloud Servers have no GPU, so Ollama runs on the CPU. That works for small models; it is not a replacement for a GPU server.

How fast will it be?

Slower than on a GPU, and it depends on the model, its size and the plan. Try the model you need before you build on it: a short test is billed by the hour.

Which models fit on Topaz?

Models whose file fits in 4 GB with room to spare, such as the small llama3.2 models. Larger models need a larger plan; check the size of a model in the Ollama library before you pull it.

Is my data private?

With local models, prompts and answers stay on your server. Do not open port 11434 to the internet: Ollama has no authentication. Use the SSH tunnel or a VPN.

Does Cloudvix manage Ollama for me?

No. You get a server with root access and install Ollama yourself. Updates, models and the security of the setup are yours.

Run small language models with Ollama on a Cloud Server

Topaz · €0.0134 / hour · at most €8.99 / month per server

Create a server for Ollama