Replace LangSmith / Helicone Cloud with Self-Hosted Langfuse
Open-source LLM engineering platform: traces, evals, prompt management, and token cost analytics Stop paying Plus ($39/seat/mo + $0.50 per 1k LLM traces) ($429/mo for a 10-person team) and run Langfuse on a $4.50/mo Linux VPS with full data sovereignty.
1-to-100 Seat Total Cost of Ownership (TCO) Table
Comparing LangSmith / Helicone Cloud (Plus ($39/seat/mo + $0.50 per 1k LLM traces)) vs Langfuse on Hetzner CX22 (4GB RAM / 2 vCPU).
| Team Size | LangSmith / Helicone Cloud Cost | Langfuse VPS | Net Annual Savings |
|---|---|---|---|
| 1 Seat (Solo) | $78.00/mo ($936/yr) | $4.50/mo (CX22) | +$882 / year |
| 5 Seats | $234.00/mo ($2,808/yr) | $4.50/mo (CX22) | +$2,754 / year |
| 10 Seats | $429.00/mo ($5,148/yr) | $4.50/mo (CX22) | +$5,094 / year |
| 25 Seats | $1,014.00/mo ($12,168/yr) | $4.50/mo (CX22) | +$12,114 / year |
| 50 Seats | $1,989.00/mo ($23,868/yr) | $4.50/mo (CX22) | +$23,814 / year |
| 100 Seats | $3,939.00/mo ($47,268/yr) | $4.50/mo (CX22) | +$47,214 / year |
Production Docker Compose + Caddy Auto-SSL
Copy and run docker compose up -d on any Ubuntu 24.04 server.
# Production Docker Compose: Langfuse (Replaces LangSmith / Helicone Cloud)
services:
caddy:
image: caddy:2-alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
networks:
- stack_net
langfuse:
image: langfuse/langfuse:2
container_name: stack-langfuse
restart: unless-stopped
environment:
- "DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD:-strongpassword}@postgres:5432/langfuse"
- "NEXTAUTH_URL=https://llm.${DOMAIN:-yourdomain.com}"
- "NEXTAUTH_SECRET=${LANGFUSE_SECRET:-random_secret_32_chars}"
- "SALT=${LANGFUSE_SALT:-random_salt_32_chars}"
volumes:
- langfuse_data:/data
networks:
- stack_net
postgres:
image: pgvector/pgvector:pg16
container_name: stack-postgres
restart: unless-stopped
environment:
- "POSTGRES_USER=postgres"
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-strongpassword}"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- stack_net
networks:
stack_net:
driver: bridge
volumes:
caddy_data:
langfuse_data:
postgres_data:
# Automatic Let's Encrypt HTTPS for Langfuse
langfuse.{$DOMAIN:yourdomain.com} {
encode zstd gzip
reverse_proxy langfuse:3000
}
Why Teams Switch to Langfuse
- ✓Track exact USD cost per user, model & prompt version
- ✓Version-control prompts outside your codebase
- ✓100% sovereign prompt/completion logs
langfuse/langfuse:2
Deploy Langfuse in 60 Seconds
Sized automatically for Langfuse (1024MB container RAM + OS overhead).
Get All 16 Pre-Built Production Stacks + Encrypted S3 Backups
Includes pre-tuned docker-compose.yml, Caddy Auto-SSL, AES-256 encrypted nightly S3/R2 Postgres backups, and Ubuntu 24.04 UFW/Fail2ban hardening scripts.