macrostack

Layer 4 · self-hosting reality check

What it actually takes to self-host Promptfoo

The docs say 512 MB. In practice you want 2 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 Braintrust alternatives, where Promptfoo is one of the picks.

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

RAM — documented minimum512 MB
RAM — what it really needs2 GB
CPU2 vCPU
DiskSmall — results are files
Monthly cost$0. It runs in CI on hardware you already pay for.
Setup time1 hour for the first ten test cases
How you install itnpm install -g promptfoo; tests are YAML in your repository
Ongoing maintenanceLow. The suite grows with your prompts.
Where it stops scalingThousands of test cases. Your model bill is the constraint, not the tool.

The thing that catches people out

LLM-as-judge assertions call a model on every test case, so a large suite running on every commit costs real money — occasionally more than the platform you left. Split it: cheap deterministic assertions on every pull request, the judged suite nightly. Pointing the judge at a locally served model takes that cost to near zero.

When not to self-host Promptfoo

You need a hosted dashboard a product manager will open. Promptfoo's reporting is local and developer-shaped.

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 Promptfoo actually need?
2 GB in practice. The documented minimum is 512 MB, 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 Promptfoo cost per month?
$0. It runs in CI on hardware you already pay for. This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for low. The suite grows with your prompts.
How long does it take to set up Promptfoo?
1 hour for the first ten test cases, via npm install -g promptfoo; tests are YAML in your repository.
When should I NOT self-host Promptfoo?
You need a hosted dashboard a product manager will open. Promptfoo's reporting is local and developer-shaped.
What is the most common mistake when self-hosting Promptfoo?
LLM-as-judge assertions call a model on every test case, so a large suite running on every commit costs real money — occasionally more than the platform you left. Split it: cheap deterministic assertions on every pull request, the judged suite nightly. Pointing the judge at a locally served model takes that cost to near zero.
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.