Skip to content

Private GPU & Self-Hosted Team AI Workspace

~$18/mo total

Run an internal ChatGPT + RAG knowledge hub with virtual key budgets and zero third-party prompt leakage.

Target Audience
Engineering teams & enterprises replacing $20-$30/seat AI subscriptions with private GPU hosting
Recommended Host
GPU VPS or Dedicated Host (>= 24 GB RAM / VRAM) + Hetzner CX32 (~$8.50-$18/mo gateway control plane)
Total Minimum RAM
20.0 GB (20480 MB)

Stack Components

vLLM

Apache-2.0 PagedAttention OpenAI-compatible server delivering 5-20x concurrent GPU throughput.

Open WebUI

Team chat workspace with document RAG and RBAC (~1 GB RAM; mind 50-user branding clause).

LiteLLM Proxy

Unified MIT AI proxy (~512 MB RAM) managing virtual API keys, budgets, and fallback routes.

Qdrant

Private Apache-2.0 vector store keeping internal document embeddings inside your VPC.

Databases Self-Hosted

PostgreSQL (Self-Hosted Docker)

Persists LiteLLM spend logs, virtual keys, and Open WebUI workspace state (~512 MB RAM).

Authentication Self-Hosted

Authentik

Self-hosted OIDC/SSO identity provider gating internal access to Open WebUI and LiteLLM.

Starter Docker Compose Bundle

docker-compose.yml
services:
  postgres:
    image: postgres:17-alpine
    restart: unless-stopped
    environment:
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: litellm
    volumes:
      - ai_pg_data:/var/lib/postgresql/data

  qdrant:
    image: qdrant/qdrant:latest
    restart: unless-stopped
    ports:
      - "6333:6333"
    volumes:
      - qdrant_storage:/qdrant/storage

  litellm:
    image: ghcr.io/berriai/litellm:main-latest
    restart: unless-stopped
    ports:
      - "4000:4000"
    environment:
      LITELLM_MASTER_KEY: ${LITELLM_MASTER_KEY}
      DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/litellm
    depends_on:
      - postgres

  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    restart: unless-stopped
    ports:
      - "3000:8080"
    environment:
      OPENAI_API_BASE_URL: http://litellm:4000/v1
      OPENAI_API_KEY: ${LITELLM_MASTER_KEY}
    volumes:
      - open_webui:/app/backend/data
    depends_on:
      - litellm

volumes:
  ai_pg_data:
  qdrant_storage:
  open_webui:

Search StackTiers Infrastructure Index

↑↓ navigate · ↵ openFull Pagefind search →