Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

Ollama

Run open LLMs behind a simple API - llama, mistral, qwen. The local-model server (GPU recommended).

4 GiB

1 service, 50 GB disk

$29/mo

flat resource

$0.050/h

Usage Billing

What is Ollama?

Ollama is the simplest way to run open large language models behind an HTTP API: pull a model (Llama, Mistral, Qwen, Gemma, Phi, and many more) and serve it with OpenAI-compatible endpoints, on infrastructure you own. OLLAMA_HOST puts the API on port 5000; there are no external dependencies.

Read the caveat first, because it is the whole story: real inference wants a GPU. This template runs on CPU, where you are limited to small models (~1-3B parameters) and responses are slow. Ollama still runs, and small models are genuinely useful for embeddings, classification, and lightweight chat - just size expectations to CPU. This template is marked experimental for exactly that reason.

It is best used as a building block: keep it private and front it with this catalogue’s litellm for keys, rate limits, and an OpenAI-compatible gateway, or add open-webui for a chat UI. Models are large, so the model volume is the thing to size.

What you get

  • Pull and serve open LLMs behind one HTTP API
  • OpenAI-compatible endpoints; no external dependencies
  • Pairs with litellm (gateway) and open-webui (chat UI)
  • OLLAMA_HOST=0.0.0.0:5000 - clean port fit, no wrapper
  • Private by default - no auth, so do not expose it raw
  • MIT-licensed; GPU strongly recommended

How it runs on Lyngbak

ServiceRolePublic
ollamamodel server / API (private, :5000)no (front with litellm)
models volumedownloaded model weights (large)no

Before you deploy

  • (none)

    OLLAMA_HOST is preset to 0.0.0.0:5000 by the template

Sizing and billing

RAM tracks the model: a 3B needs a few GiB, 7-8B more. The model volume is large (~2 GB for 3B, ~5 GB for 7-8B, ~40 GB for 70B) - size it or models re-download on restart. Without a GPU, stick to small models.

Hobby resource$29/mo2 vCPU, 4 GiB, 80 GiB disk, shared CPU
Pro resource$41/mo1 vCPU, 2 GiB + 2 GiB RAM add-on, 50 GiB disk incl. add-on, dedicated CPU
Usage Billing, shared CPU$0.050/h2 vCPU, 4 GiB reserved. $36/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.094/h2 vCPU, 4 GiB reserved. $68/mo for a full month, billed by the second.

A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 48.83 GiB of volumes cost $0.15 per GiB a month ($7.32/mo) for as long as they exist. One workspace can use both. See pricing

Compared with the managed service

ServicePlanPriceIncludes
OpenAI APIusage-basedUsage-basedper-token, per call - scales with usage

Ollama runs open models with no per-token bill; the trade is you provide the compute (a GPU is strongly recommended). Prices from each vendor's pricing page, June 2026.

Run it locally first

The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.

Questions

Is it usable without a GPU?

For small models, yes - 1-3B models run on CPU and are useful for embeddings, classification, and light chat, just slowly. For 7B+ at interactive speed you really want a GPU, and this one runs on CPU. That is why this template is experimental.

Should I expose it publicly?

No. Ollama has no authentication, so this template keeps it private. Reach it from your other apps over the internal network, or front it with litellm (in this catalogue) to add API keys, rate limits, and an OpenAI-compatible gateway.

How big is the model storage?

Models are large and live on a volume: roughly 2 GB for a 3B model, 5 GB for 7-8B, and 40 GB for 70B. Size the volume to what you pull, or models re-download after a restart.

Works well with

Open WebUI

The self-hosted AI chat workspace - any model behind one UI, RAG over your documents, no per-seat pricing.

Open the template →

LiteLLM

One OpenAI-compatible gateway for every LLM provider - virtual keys, budgets, spend tracking - with no percentage fee.

Open the template →

Flowise

Visual builder for LLM apps and agents - 100+ integrations, embeddable chat widgets, no prediction caps.

Open the template →
Ollama: run open LLMs behind an API | Lyngbak (formerly Miget)