Managed Ollama hosting

Pilae installs, patches, backs up and monitors Ollama for you, on your own servers or in any of 10+ Pilae Cloud regions, six of them in Switzerland and the EU.

From CHF 449EUR 479USD 559 a month on Starter, hosting and onboarding included.

Talk to us about OllamaSee what it runs on

Runs on
Your own hardware, or a Pilae Cloud region
Replaces
OpenAI API, Azure OpenAI
Licence
MIT
Your serversYour teamAssistantAI provider

Ollama among the AI and LLM apps

Models and the interfaces your team talks to, inside your perimeter. Prompts and documents stay on your side of the tunnel.

Ollama system requirements

Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.

Where it runs
Your hardwarebare metal, VMware, Proxmox, Hyper-V or Kubernetes, in your datacentrePilae Cloud regionzur1 fra1 fal1 gra1 ams1 hel1 …machines dedicated to you, in the region your contract names11434/tcp,private onlyprivate meshsign-inencrypted tunnelencrypted, offsiteOllamapinned, patched, watched01GPUNVIDIA, a supported driver03Model storageLocal NVMe, sized tomodelsYour teamthe people you allowYour identityproviderOIDC, in front ofOllama05Pilae Agentplans, asks, applies, recordsPilae consoleyou approve each changeYour backup targetstorage you own, at asecond sitea second datacentre,same jurisdictionYour hardwareyour servers, your networkPilae Cloud regionzur1 fra1 fal1 gra1 …private meshsign-intunnelencryptedOllamapinned, patched, watched01GPUNVIDIA, a supporteddriver03Model storageLocal NVMe, sized tomodelsYour teamthe people you allowYour sign-inOIDC, in front ofOllama05Pilae Agentplans, asks, applies, recordsPilae consoleyour approvalsYour backupsa second sitea second datacentre
On your hardware: Pilae installs Ollama and what it needs on the machines you choose, the Pilae Agent runs beside it, and encrypted backups go to storage you own at a second location you pick.In a Pilae Cloud region: the same setup on machines dedicated to you, in the region your contract names, with encrypted backups in a second datacentre inside the same jurisdiction.
All 5 requirements, and why each is there
  1. GPUNVIDIA, a supported driverUpstream lists the compute capability and the driver each card needs, and older cards can need a newer driver than recent ones. Supported AMD cards work through ROCm. GPU memory decides the model: one that does not fit is split onto the CPU and slows sharply.
  2. Container runtimeNVIDIA Container ToolkitHow Docker hands the GPU to the container. When discovery fails, Ollama falls back to the CPU instead of refusing to start, so the probe checks where each model is loaded.
  3. Model storageLocal NVMe, sized to modelsWeights are read from disk every time a model loads. Library models range from under a gigabyte to well over a hundred, and every pinned version is kept.
  4. API port11434/tcp, private onlyThe local API asks for no credentials, and the port that answers prompts also accepts pull and delete requests. It is never published to the internet.
  5. Sign-onOIDC, in front of OllamaThe Ollama server has no user accounts. Identity lives in the application or gateway in front of it, through Keycloak or your own IdP such as Microsoft Entra ID.

Running Ollama in production: what it takes

  1. Prepare the GPU host

    Driver and container toolkit installed and checked with nvidia-smi inside a container, then a pinned Ollama build we have run, bound to a private address.

  2. Pin the models

    Each model is pulled once, in a change window, and its digest recorded in the runbook. Context length and parameters live in Modelfiles in your repository. Cloud features are off.

  3. Size concurrency and memory

    Parallel requests, loaded models, keep-alive and context length are set so the models you serve stay in GPU memory. Probes every 60 seconds check each one answers and is still on the GPU, and alert an engineer when one has fallen back to the CPU.

  4. Back up the models and Modelfiles

    Ollama holds no conversations. The models directory, Modelfiles and compose files go offsite daily, encrypted. On Enterprise, once a month we restore them into a scratch environment, check the digests and ask a question.

  5. Upgrade with the driver checked

    A new Ollama build can need a newer GPU driver, and falls back to the CPU when it does not get one. The Pilae Agent tests each upgrade on a copy with your models, waits for your approval, applies it in your window and keeps the previous build ready.

From our runbook

An Ollama server, configured in your repository

# compose.yaml -- acme-llm-01, one GPU machine
services:
  ollama:
    image: ollama/ollama:${OLLAMA_TAG} # pinned in .env, tested on a copy first
    restart: unless-stopped
    ports:
      - '10.20.4.11:11434:11434' # private address only
    volumes:
      - /srv/ollama:/root/.ollama # models/manifests and models/blobs
    environment:
      OLLAMA_NO_CLOUD: '1' # no hosted models, no web search
      OLLAMA_NOHISTORY: '1' # no CLI prompt history in the volume
      OLLAMA_CONTEXT_LENGTH: '16384'
      OLLAMA_NUM_PARALLEL: '4' # memory grows with parallel x context
      OLLAMA_MAX_LOADED_MODELS: '2'
      OLLAMA_MAX_QUEUE: '128' # beyond this, callers get a 503
      OLLAMA_KEEP_ALIVE: '12h' # resident through the working day
      OLLAMA_FLASH_ATTENTION: '1'
      OLLAMA_KV_CACHE_TYPE: 'q8_0' # about half the cache memory of f16
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]
An example compose file for one GPU machine at acme. Every setting that decides memory use, and who can reach the port, is written down and versioned instead of left to a default that changes with the GPU. The port is bound to a private address because Ollama asks callers for no credentials.

Migrating from OpenAI API to Ollama

In the code, moving off the OpenAI API is mostly a change of base URL. Ollama answers chat completions, embeddings and the stateless Responses API on its own /v1 path, so the OpenAI SDK in your applications stays. The Batch and Files APIs, stateful Responses, tool_choice, logprobs and image URLs do not come across. Neither do the embeddings you already have: vectors from one model mean nothing to another, so each document index is rebuilt. The time goes on the model, not the code. An open model that fits your GPUs will be weaker than the hosted one at some tasks and as good at others, and we find out which on your own prompts before anyone repoints an application.

  • AlternativesA ChatGPT Enterprise alternative you ownOne of 5 apps for teams leaving ChatGPT Enterprise.
  • ServiceSaaS migrationA fixed-scope migration off Google Workspace, Microsoft 365, Zapier, Airtable and ChatGPT to open-source apps, with a parallel run and a cutover plan.

Moving from OpenAI API to Ollama, step by step

  1. List the calls: Which applications call the API, with which models, and which features they rely on. Tools, JSON output and streaming carry over. Batches, stateful Responses and logprobs need rework, and we say where.
  2. Choose the model on your prompts: Candidate open models are run against a set of your real prompts, and their answers are graded. The smallest model that passes wins, and its digest goes into the runbook.
  3. Repoint the client: The OpenAI SDK stays and the base URL moves to the private endpoint. Context length is set in a Modelfile in your repository, because the OpenAI API has no field for it.
  4. Re-embed, then switch: Document indexes are rebuilt with the new embedding model. Each application then runs against both for a cycle, and moves across once its owners have compared the answers.

What Ollama is, and who runs it

A server that loads open-weight models on demand behind an OpenAI-compatible API, run on GPUs in Switzerland, the EU or your own datacentre so prompts never reach a model vendor.

Self-hosted Ollama: open models behind an OpenAI-compatible API

Ollama is a model server. It pulls open models from its library, keeps them on disk, loads them into GPU memory when a request arrives and answers over an HTTP API, including an OpenAI-compatible one under /v1. The library publishes models in quantised builds, so a useful model fits on one card. Open WebUI, LibreChat and Dify connect to it as a model provider, and so do scripts and internal tools that already speak the OpenAI API.

Because it loads and unloads models on demand, it suits one GPU machine serving a team, a prototype, or several models on modest hardware. Each loaded model answers a set number of requests at a time and queues the rest, so it is not the engine for hundreds of people on one model at once. For that we run vLLM.

Read the full briefFold the brief

Ollama in production: GPU memory, keep-alive and access control

Ollama fails quietly. If the GPU driver or the container toolkit is wrong, it starts anyway and runs on the CPU at a fraction of the speed, so our probes check every 60 seconds that each model answers and is still on the GPU. At the default keep-alive a model unloads after five minutes idle, and the next person waits while it loads again. Every parallel request adds its own context to GPU memory. We set keep-alive, parallel requests and context length in the compose file in your repository instead of leaving them to defaults. The local API asks for no credentials, so Ollama answers only on your private network and people reach it through an application with sign-on.

Ollama gets a GPU machine of its own, either yours or one of ours in a Pilae Cloud region, where six of the 10+ regions are in Switzerland and the EU. We pin the models as well as the server. Each model is pulled in a change window with its digest recorded, and Ollama’s cloud features are switched off. A daily, encrypted copy of the models directory, Modelfiles and compose files goes to an offsite location in the country your contract names, and on Enterprise a restore test every month, recorded in the console, brings it back into a scratch environment. Once the models are staged, Ollama answers without internet access, which is how it runs air-gapped. The Pilae Agent tries each upgrade on a copy with your models loaded, then applies it in your window once you approve it and records it in the console.

Ollama licence and model licences

Nothing in the software licence limits how you run Ollama inside your organisation. The conditions that matter come with the models. Our operation follows the published plans. Talk to us about the models you want to run and the GPUs you have.

What Pilae is responsible for

The same commitments on every app we run, Ollama included, and what stays yours. How the platform does it.

Ours

  • A pinned version: A version we have run, not whatever latest resolves to that day.
  • A runbook: What it depends on, how it fails, what to do about it. In your repository.
  • Daily backups: Encrypted and offsite, and on Enterprise restored every month. A backup nobody has restored is a file.
  • A patch window: Security updates in a window you agreed, with a rollback ready.
  • Someone watching: Every endpoint probed on the minute. An alert reaches a person, not a dashboard nobody opens.

Yours

  • The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
  • The approval: We ask before anything changes outside an agreed window.
  • The exit: The machine, the data, the compose files and the runbook are already yours. Nothing stops when our access does.

Who runs it

Ollama runs on Starter from CHF 449EUR 479USD 559 a month in Pilae Cloud, or on Business with up to three apps on your own servers.

Compare the plans

Ollama: common questions

Is Ollama open source?

Yes. The server is MIT-licensed and has no paid edition. Ollama sells plans for its hosted cloud models, which we switch off. The models you run carry their own licences, set by their publishers, and we record each one before it is pinned.

Where do prompts and models live?

On the GPU machine and nowhere else: your own hardware, or a dedicated machine in a Pilae region such as Zurich or Frankfurt, in ISO 27001-certified datacentres. The Ollama server keeps no conversation history and we leave its request logging off. With cloud features off, a request cannot be forwarded to hosted models.

Should we run Ollama or vLLM?

Ollama for one GPU machine serving a team, a prototype, or several models on modest hardware, since it loads and unloads them on demand. vLLM for many people using one model at once, where throughput decides. Both speak the OpenAI API, so moving a busy model to vLLM changes the base URL, key and model name in each application, not its code.

Can people sign in to Ollama?

No. The Ollama server has no user accounts and its local API asks for no credentials. People reach it through an application with sign-on, such as Open WebUI or LibreChat, and services through a gateway that checks a token. The port itself answers only on the private network.

Will an open model answer as well as the OpenAI API?

At some tasks, yes, and at others it is weaker. The gap depends on the model your GPUs can hold. We measure it on your own prompts before any application is repointed, and we tell you when a task should stay where it is.

Ask the engineers who would run your Ollama

Thirty minutes on the deployment you already have, or the one you are about to start.

Talk to us about Ollama

Plan your Ollama deployment

Product comparisons