macrostack

Layer 4 · self-hosting reality check

What it actually takes to self-host Langfuse

The docs say 2 GB. In practice you want 4 GB. Here is the honest version — real requirements, real monthly cost, what you will be maintaining, and the one thing that catches people out.

Usually reached from LangSmith alternatives, where Langfuse is one of the picks.

Wondering whether you need to at all? Is LangSmith free? — what the free tier actually allows, and where the wall is.

RAM — documented minimum2 GB
RAM — what it really needs4 GB
CPU2 vCPU
DiskTrace volume × retention — LLM traces are large because they contain full prompts
Monthly cost$24–40/mo plus Postgres and ClickHouse, against per-trace observability pricing
Setup time2 hours
How you install itdocker compose — web, worker, PostgreSQL, ClickHouse, Redis, and S3-compatible storage
Ongoing maintenanceModerate. Five components, and trace volume grows faster than teams expect.
Where it stops scalingHigh trace volume once ClickHouse is doing the storage. Postgres-only mode is for evaluation, not production.

The thing that catches people out

Traces contain your full prompts and completions, which means your observability database now holds every piece of customer data that ever passed through a model. That is a data-retention and compliance question, not just a disk one. Set retention deliberately and decide what to redact before you instrument production, not after a subject-access request.

When not to self-host Langfuse

You need one dashboard covering both application and LLM observability. Langfuse is LLM-specific by design.

Every guide here carries this section. A site that only ever tells you to self-host is selling something — the useful answer is sometimes no.

Other Layer 4 self-hosting guides

Common questions

How much RAM does Langfuse actually need?
4 GB in practice. The documented minimum is 2 GB, which is the figure at which the process starts rather than the figure at which it works under real use. 2 vCPU alongside it.
What does self-hosting Langfuse cost per month?
$24–40/mo plus Postgres and ClickHouse, against per-trace observability pricing This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for moderate. Five components, and trace volume grows faster than teams expect.
How long does it take to set up Langfuse?
2 hours, via docker compose — web, worker, PostgreSQL, ClickHouse, Redis, and S3-compatible storage.
When should I NOT self-host Langfuse?
You need one dashboard covering both application and LLM observability. Langfuse is LLM-specific by design.
What is the most common mistake when self-hosting Langfuse?
Traces contain your full prompts and completions, which means your observability database now holds every piece of customer data that ever passed through a model. That is a data-retention and compliance question, not just a disk one. Set retention deliberately and decide what to redact before you instrument production, not after a subject-access request.
The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.