Application hosting

Hosting Ollama

Ollama runs language models locally or on your own server. Choose hardware for the specific model, precision and context you plan to use, then account for concurrent requests.

Requirements last checked against the project's documentation.

A sensible first server for Ollama is 4 vCPU, 8 GB RAM and 50 GB of storage. The cheapest listed plan that fits is OVHcloud VPS-2 (US) at $8.50/month.

Understand the setup

Find the software and services needed to run the application.

See requirements

Budget your resources

Plan memory, storage and CPU for the way you will use it.

Open resource planner

Build your shortlist

Compare plans for the starting size, then review the provider and billing terms.

See plans

Must have

Installation requirements

  • Keep model files on persistent storage sized for the exact artifacts you intend to retain.
  • For GPU acceleration, check the supported device and driver/backend combination; RAM alone is not a compatibility check.

Recommended

Planning guidance

  • For GPU acceleration, use an accelerator and driver/backend listed in the current Ollama hardware support documentation.GPU acceleration is optional; generic RAM or GPU memory alone cannot establish model compatibility.

Choosing a server for Ollama

The selected model, precision and context determine memory needs. Concurrent requests and runtime buffers add demand, with accelerator support checked separately.

Where to start

A sensible first server for Ollama

vCPU
4
RAM
8 GB
Disk
50 GB

Our estimated starting configuration for a small self-hosted setup. Adjust it after observing CPU, memory and storage use under your workload. A 7B to 8B model at four bits per parameter has roughly 4 to 5 GB of weights before runtime overhead and context memory. That weight estimate alone does not establish compatibility. Use the model hardware calculator for the exact model and configuration.

Ollama FAQ · Size it for your workload

Our shortlist

Cheapest plans that meet this size

  1. OVHcloud Lowest price

    OVHcloud VPS-2 (US)

    • 4 vCPU
    • 8 GB RAM
    • 75 GB NVMe SSD
    $8.50/mo list price
  2. Hivelocity

    Hivelocity pro.md.amd

    • 4 vCPU
    • 8 GB RAM
    • 80 GB NVMe SSD
    $20.00/mo list price
  3. InMotion Hosting

    VPS 4 vCPU

    • 4 vCPU
    • 8 GB RAM
    • 160 GB NVMe SSD
    $26.99/mo list price
  4. Hostinger

    Hostinger KVM 4 VPS

    • 4 vCPU
    • 16 GB RAM
    • 200 GB NVMe SSD
    $28.99/mo list price
  5. Namecheap

    Magnetar

    • 8 vCPU
    • 12 GB RAM
    • 240 GB SSD RAID 10
    $32.88/mo list price
  6. DreamHost

    Stack 16

    • 4 vCPU
    • 16 GB RAM
    • 250 GB NVMe SSD
    $34.99/mo list price
  7. RackNerd

    8 GB KVM VPS

    • 6 vCPU
    • 8 GB RAM
    • 220 GB RAID-10 SSD
    $36.59/mo list price
  8. Hostwinds

    Unmanaged Linux VPS 8 GB

    • 4 vCPU
    • 8 GB RAM
    • 150 GB SSD
    $38.99/mo list price

One cheapest plan per provider, based on each provider's standard list price. Check the plan page for introductory and renewal pricing before you buy.

Deploy with

Supported paths

  • Linux installer and system service
  • Official Docker image with supported GPU runtime
  • Local CPU inference where suitable for the chosen model

The host must provide

Runtime

Ollama runtime
Use the current supported release
GPU driver/backend
Only when using acceleration; requirements depend on the GPU vendor
Model files
Persistent storage sized to selected models and versions

Storage

Persistent data

Model files are stored separately from the application binary and can be relocated with OLLAMA_MODELS. Capacity depends on the exact model artifact, quantization, and number of retained models.

Step by step

Linux deployment outline

  1. Choose a supported runtime path

    Install the maintained Linux service or use the official container; confirm the selected GPU and driver/backend against Ollama hardware support.

    Official instructions
  2. Persist the model directory

    Choose a protected persistent path for model files and grant the Ollama service account only the access it needs.

    Official instructions
  3. Bind the API to a private interface

    Ollama binds to loopback by default. Keep the API private or place it behind an authenticated, TLS-terminating proxy before remote access.

    Official instructions
  4. Load one selected model and observe memory

    Set the intended context and concurrency, inspect the runtime process placement and logs, and increase capacity only after measuring the real workload.

    Official instructions

Security

Before you go public

  • Do not expose the unauthenticated local API directly to the public internet.
  • Keep model files and service configuration under a dedicated service account.
  • Use a private network or authenticated HTTPS reverse proxy for remote clients; protect API and proxy credentials.

Cost

Beyond the server price

  • Account for GPU or CPU compute, model download and persistent storage, backups, and data transfer.
  • The estimator shows calculated memory components only; it does not predict throughput, provider availability, or a compatible GPU.
  • Context length and concurrent requests increase memory demand; runtime overhead and exact quantization layout remain workload-specific.

Want the full monthly bill? Use the hosting cost calculator. Add storage, backups and other costs to your estimate.