Self-hosted promptfoo limits and when a team outgrows them
A team lead who wants one shared promptfoo server for several people should check the limits before anyone logs in. The self-hosted server is a single Express instance with a local SQLite database, with no RBAC, no built-in authentication or SSO, and no horizontal scaling, and the documentation does not recommend it for production use. Each limit affects a different part of the decision: who can reach the server, how many copies can run, and where the evaluation data is kept. Treat the server as a tool for a small group you trust, and put your own access controls around it before it holds results your organization depends on.
Several team situations expose these limits quickly. If reviewers need their own accounts, or you must show who ran or changed an eval, the server cannot attribute actions to people because it has no login. If different groups should see different projects, the lack of RBAC means access is all or nothing for everyone who can reach the URL. If you want a second replica for availability or load, the SQLite file cannot be shared across replicas, so a second copy would hold different data. Teams that need single sign-on from their identity provider, or that must answer access review questions, will also find that the self-hosted server gives them nothing to point to. Confirm with promptfoo's current documentation whether any of this has changed in the release you run.
The rest of this page covers what to place around the server: the network path in front of it, the identity and logging controls your organization already runs, and the signals that mean the setup should change. The Enterprise edition adds team sharing, teams-based access control, SSO, and custom roles and permissions, and the On-Premise option runs that functionality on your own infrastructure with complete data isolation and a dedicated deployment engineer. Pricing for both is custom, so ask the vendor for a written quote based on the scope you define. Check the promptfoo self-hosting documentation for the current limits before you commit to a design.
Which self-hosted promptfoo limits block a shared team setup
Each limit below changes who on a team can see, change or trust shared evaluation results. Together they make a self-hosted promptfoo server suitable for one operator or a small trusted group, but it needs controls around it before many people depend on it. Check each card against your own access and uptime requirements.
Single replica, no horizontal scaling
The self-hosted app runs as one Express server that serves both the web UI and the API. You cannot add replicas behind a load balancer to spread traffic or survive the loss of a host. For a team, one instance is a shared bottleneck: a heavy eval or large upload can slow everyone, and a failed instance blocks access until it is restarted. Size the host for your busiest team day, and name who responds when the server is down.
SQLite data cannot be shared
Evals, results and metadata are stored in a local SQLite database that cannot be shared across replicas. A second server would hold its own separate set of results, so two teams pointing their CLI at different servers would not see each other's runs (illustrative). Decide which server is the team's system of record, then back up its database file on a schedule you have tested by restoring it.
No role-based access control
The self-hosted server has no RBAC, so every user who can reach it has the same rights. Anyone with access can view, change or delete shared results, and nothing limits who can run evals against your provider keys. Decide who should be allowed to edit a shared eval or red team report, and enforce that outside the app if you keep the open-source server. Teams-based access control and custom roles are listed on the Enterprise tier.
Pricing pageNo built-in authentication or SSO
The server does not provide its own login or single sign-on. Anyone who can reach the URL can use the interface and API, so your network path becomes the access control. Place the server behind an identity-aware proxy or VPN that enforces SSO, keep the port closed to outside networks, and log requests at that layer. Confirm that the API cannot be reached by any route that skips the proxy.
Self-hosting docsNot recommended for production
The self-hosting documentation advises against using this setup for production. The combination of one replica, local SQLite storage, no RBAC and no built-in login carries the risks of an internal tool without the controls of a production service. Give the server a named owner and a documented purpose, and review the current documentation before you send regulated or customer data through it.
Job state on restart unconfirmed
The server keeps some job state in memory, and this guide does not confirm what happens to running jobs when the container restarts or is upgraded. Test this before a team relies on long runs. Start a test eval, restart the container, and record whether the run completes, resumes or is lost, and whether results already written remain visible. Tell users which runs must be repeated after maintenance.
Every request must pass the proxy before it reaches the server
The diagram starts on the left with CLI users and the CI runner, which send HTTPS requests to a reverse proxy that your organization owns. That proxy is the trust boundary: the promptfoo server behind it has no login, no roles and no SSO of its own, so whatever checks users must pass happen in the proxy or in an Enterprise SSO layer shown as optional. Requests then reach one promptfoo server pod, labeled as a single replica, which reads and writes a SQLite file on a persistent volume. Before you go further, confirm that every path to the server goes through the proxy, and that no second replica or ingress bypasses it.
Requests reach one server pod only through an organization-owned proxy.
Which setup fits each limit
This table compares the four setups a team can choose from when a self-hosted promptfoo server no longer fits its needs. Read each row for what the option covers, what it leaves to you, and the team size or control requirement where it fits. Enterprise and On-Premise are sold at custom pricing, so no price appears here, and you should ask promptfoo for a quote before you budget.
| Option | What it covers | What it does not cover | When it fits |
|---|---|---|---|
| Free CLI with local runs | Community edition: all evaluation features, all model providers, and red teaming with 10k probes per month, run on your machine | Shared results, team access, SSO, roles and a central server | Individual testers or CI jobs where each run can stay on one machine |
| Self-hosted single instance | A team-shared server in your infrastructure, deployed with Docker, Docker Compose or Helm | Built-in login, SSO, RBAC, horizontal scaling, or a database shared across replicas | Small teams that can enforce access at the network or proxy layer and accept one instance |
| promptfoo Enterprise | Team sharing, teams-based access control, SSO, custom roles, continuous monitoring and priority support with SLAs | Confirmation of where hosting and data handling sit, which you must check with promptfoo | Organizations that need SSO and role-based access, at custom pricing |
| promptfoo On-Premise | Enterprise functionality on your own infrastructure, with complete data isolation and a dedicated deployment engineer | The exact scope of the deployment engineer's support, which you should confirm in writing | Regulated teams that must keep all promptfoo data inside their own network, at custom pricing |
Why SQLite on one replica sets the ceiling
The self-hosted promptfoo server keeps its data in a local SQLite database, and that file sets the ceiling on the whole deployment. Each replica would open its own copy of the database on its own storage, so a second pod or container has no view of the evals, results and job records written by the first. The self-hosting documentation states that this SQLite store cannot be shared across replicas and that the app does not scale horizontally. More CPU or memory will not change that. The single instance is a property of the data layer, so the planning question is how far one instance and one volume can carry your team's workload.
This is why the Docker and Helm guidance centers on one instance. The Helm chart is experimental and deploys a single replica backed by a persistent volume claim, and the Docker and Docker Compose setups run one container with one data volume. Scaling out breaks shared work. Job records and results are written to that database, so a second replica works from a different store and cannot be relied on to show the same jobs. Putting a load balancer in front of two copies gives you two independent stores that look like one service. Keep the replica count in the chart values at one, and treat any change to it as a design decision that needs its own review.
Before a team relies on this instance, confirm with promptfoo, or test in your own environment, what happens to an in-flight eval or red team scan when the container restarts or the pod is rescheduled. Ask whether the job resumes, is marked failed or disappears, and whether partial results survive in the SQLite file. Then run a planned restart during a scan of known size and compare the job list, the stored results and the CLI exit status before and after. Repeat the test on the storage class you plan to use, since volume behavior affects whether writes are complete after a node failure. Record the answers in the runbook so the team knows which runs are safe to rerun. If the team later needs more than one instance, ask promptfoo whether its pricing page edition, On-Premise, meets that need, since it is described as Enterprise functionality on your own infrastructure.
How to place access controls around one promptfoo instance
Self-hosted promptfoo has no login, no roles and no replica sharing, so the controls around it must come from your own infrastructure. This sequence confirms the single-instance layout, places the server behind an access layer your organization already runs, limits network reach, pins the version and checks the backup location. It ends with a test that an unauthenticated request from outside the approved network is refused.
Confirm single replica and one data writer
Ask the team that runs the deployment to show the live configuration: one container or one Kubernetes replica, and one process with write access to the volume that holds promptfoo.db. The SQLite file cannot be shared across replicas, so a second writer, a scaled-out Deployment or a second Compose service mounting the same volume must be corrected before any other control is added. Review the promptfoo self-hosting documentation with the team to confirm the layout. Done when the replica count reads 1 in the deployment spec and only one container mounts the data volume read-write.
Place the server behind an existing access layer
Put the promptfoo web UI and API behind a reverse proxy, API gateway or identity-aware proxy that your organization already operates and logs, because the server has no built-in authentication. Choose the layer that enforces your single sign-on policy, and agree with its owner which paths and methods it forwards to promptfoo, with everything else denied by default. Decide how CI runners and CLI users authenticate through that layer, using a credential type it already supports. Done when a request through the layer without a session is answered with your sign-in prompt, not the promptfoo dashboard.
Restrict network reach to approved users and runners
Limit inbound traffic so that only the access layer and the networks where approved users and CI runners sit can reach the server. Use the controls your platform already provides, such as security groups, network policies, firewall rules or a private subnet, and write down each source range so its owner can review it. Confirm that no public load balancer, NodePort or host port mapping exposes promptfoo directly. Done when the rule set matches the written list and a connection attempt from a host outside those ranges times out or is refused.
Pin the image to a tested version
Set the image to one explicit release tag and avoid floating tags such as latest, so every restart runs the same build. Choose the version from the promptfoo releases page, and if you build your own image, confirm the Node.js version that release requires before you build. Treat each upgrade as a planned change: update the tag in the deployment file, restart the workload and rerun the access tests from the steps below. Done when the running workload reports the pinned tag and the change record names that tag and the date it was deployed.
Confirm the SQLite backup location and restore path
Find where promptfoo.db and the rest of the data directory are written inside the container, then confirm that the host or storage volume behind them is included in the backup schedule your team already runs. Ask the owner to name the restore location and the people allowed to run a restore. Agree with the owner whether the database must be copied while the container is stopped, and keep at least one copy outside the host or cluster. Done when a restored copy of promptfoo.db opens in a separate test container and lists the evals you expected.
Test that outside unauthenticated requests fail
From a host outside the approved network, with no session and no token, send requests to the public address and to any internal service address for the server. The request should fail at the network layer or at the access layer, and no promptfoo page or API response should come back. Repeat the test from an approved host with valid credentials and confirm that it succeeds, so you know the controls block the right traffic and nothing else. Record both results, the tested addresses and the timestamps in the change record. Done when the outside request is refused and the approved request with credentials returns the promptfoo dashboard.
Security risks of an unauthenticated shared server
A server with no login makes network position the main access control, and the records it holds can be sensitive. The cards below cover what an unauthenticated shared server exposes and which controls your team must place around it.
Open port reaches every result
The server has no login, so any client that can reach its port can open the web UI and API, read eval results or upload new ones. Put it behind a reverse proxy that enforces your own identity check, and allow inbound traffic only from the subnets where your CLI users and CI runners sit. Confirm with your network team that the port is not published on a load balancer or public address, and test reachability from outside the allowed range.
Self-hosting docsProvider keys in the container
Model provider API keys passed as environment variables can appear in container inspection output, host process listings, logs and support bundles. Inject them from your secrets store at start time, keep them out of Compose files committed to Git, and limit who can read container configuration on the host. Confirm which keys the server loads, which keys the CLI sends, and whether any error output echoes a key value.
Sensitive content in shared results
Eval results store the prompts and outputs each run used, and red team runs can hold attack payloads and sample customer text. Anyone who reaches the server can open those records, and copies of the SQLite file carry the same content. Set a retention rule for the data directory, limit which datasets go into shared evals, and confirm with your data owner whether the content needs masking before upload.
No per-user audit trail
The server does not record which person viewed, uploaded or changed a result, so it cannot tell you who did what. Record access at the layer in front of it: the proxy's access log with the authenticated user, and host audit logs for container changes. Confirm that those logs are kept long enough for your review cycle and that a named owner reads them on a set schedule.
Certificates, network policy and patching
Because the server does not handle sign-in, your team owns the certificate on the proxy, the network policy around the container and every image upgrade. Expired certificates, open ports after a firewall change and unpatched base packages all become your incidents. Confirm who renews the certificate, who reviews firewall rules, and how you will rebuild or pin the image when a fix ships.
What do teams ask before they move past these limits?
How much does it cost to move past promptfoo's self-hosting limits?
The Community edition is free under the MIT license, but it does not include SSO, team access control or the other Enterprise features, so moving past these limits usually means a paid tier or custom work. promptfoo sells Enterprise and On-Premise at custom pricing, so there is no list figure to plan against. Your total cost has three parts: the promptfoo subscription you choose, the implementation work to deploy and configure it in your environment, and the infrastructure you run it on. Subscription fees recur, while implementation is usually scoped as a project with optional support or upgrade retainers after it. DeployOpen does not publish prices either. A quote follows from written scope, so ask each vendor and partner to price the components separately and state what is excluded.
How long does a move off a single self-hosted promptfoo instance take?
The schedule depends on your environment, so ask for a written timeline before you plan around a date. The length depends mostly on which limit you address first. Putting an access gateway in front of the single instance is a smaller change than adding SSO, and both differ from changing how data is stored or running more than one replica. Ask for the timeline in phases: discovery of your identity provider and network, build, testing in a non-production environment, cutover and handover. Also ask which steps depend on your own approvals, change windows or access to your identity provider, since those often set the pace more than the build does. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the written plan is where the schedule should appear.
What does our team need to provide for SSO and access control?
Your team needs to provide three things before work starts. Ask for each one in writing so it appears in the plan:
- Network access to the hosts or cluster where the server runs, plus the load balancer or ingress in front of it.
- Identity provider details: the protocol it uses, the tenant or directory, the group or claim names you want mapped to roles, and a test account for each role.
- A named owner on your side who approves design choices, signs off test results and sets the cutover window.
Missing any of these usually stalls the schedule, so confirm access and owners in the first week of discovery.
Can our own team wrap a single promptfoo instance in its own access controls?
Yes, a basic proxy is a reasonable first step if your platform team already runs reverse proxies and load balancers. It limits who can reach the web UI and API, which matters because the instance has no login of its own. It does not give promptfoo per-user identity, so the application still cannot separate one user's actions from another's. SSO is harder. The gateway must complete the login flow with your identity provider, pass a verified identity to the application, handle session expiry and keep API and CLI traffic working. Test that the CLI can still upload results through the gateway, and check the promptfoo self-hosting documentation for any identity header or token support in the version you run. Plan SSO through a gateway as a design task with its own review.
What drives effort up or down when adding SSO or scaling promptfoo?
Effort rises with how many identity sources and roles you need, and it falls when your identity provider is standard and your access model is small. Factors that raise effort include several identity providers or protocols, group-to-role mapping that needs review, a network path with multiple proxies or segments, strict TLS or certificate rules, and any change to where data is stored or how many replicas run, since current storage is a local SQLite file. Factors that lower effort include one identity provider with clean groups, a small set of roles agreed in advance, an ingress you already operate and a non-production copy to test against. Testing effort also grows with each integration that calls the server, such as CI pipelines that upload results.
What should we ask for in a quote for this work?
Ask for a quote that matches the written scope line by line. Request these items:
- Deliverables for each phase, with acceptance criteria your team can check.
- Assumptions about your network, identity provider and number of users, and what changes if those assumptions change.
- Exclusions, including any promptfoo subscription or license and any cloud or hardware costs you buy directly.
- Named roles on both sides and the approval steps for changes during the work.
- Support, upgrade or testing retainers priced separately from the one-time build.
A quote with clear exclusions is much easier to compare across vendors and partners.
When On-Premise or another setup is the right call
The decision starts with the requirements you can write down, and the self-hosted server fits only when none of them need a feature it lacks. A small group that accepts one replica, one persistent volume and access limits at the network edge may find the open-source server sufficient, provided it understands that evaluation data lives in a local SQLite database, promptfoo.db, which cannot be shared across replicas. Write down who signs in, who may change configurations and results, how long data must persist, and which systems must stay inside your network. Those answers settle most of the choice before any vendor conversation begins.
Enterprise On-Premise is the path when the list includes team sharing, SSO, teams-based access control, custom roles and permissions, or priority support with SLAs. According to the promptfoo pricing page, On-Premise runs that Enterprise functionality on your own infrastructure, with complete data isolation and a dedicated deployment engineer. Pricing is custom, so the quote follows from the written scope. Before you sign, confirm which identity protocols and role model the edition supports, what the SLA terms cover, how upgrades reach your network, and what the deployment engineer operates compared with your own team. Those answers show whether the edition meets your controls or only resembles them.
A team that needs SSO or RBAC, or that cannot accept a single unauthenticated server, should compare Enterprise On-Premise with its own gateway or identity setup. An existing reverse proxy or API gateway can require sign-in before any request reaches the server, and an identity provider you already run can supply the groups. That combination protects the front door, but it does not give promptfoo its own roles, so a signed-in user can still change anything the server allows. Map each written requirement to the layer that will enforce it, and record any gap as a decision for the buyer. The choice depends on what that map shows, so compare both options against the same list.
What to confirm in your environment before you commit
Each card names an item that a vendor statement or a short test in your environment can settle. Assign an owner to each one before the first install, because the answers decide whether a single instance is acceptable for your team or whether the On-Premise route is needed.
Helm chart support status
The Helm chart in the promptfoo repository is marked experimental, so it is not yet a settled install path. Ask the vendor which Kubernetes versions it targets, how the chart changes between releases, and whether the single replica setting can be overridden. The platform team should install the chart in a non-production cluster before any team depends on it. Record the vendor's answers in the deployment decision file so the security team reviews the same status.
Job state on restart
Jobs run inside the server and keep their state in memory, so a container restart, node drain or failed health check can interrupt a run in progress. The platform team should start a long eval, restart the container during the run and check what the web UI and the data volume show afterward. Confirm with the vendor which job types write state to disk before a run completes, and decide whether teams must rerun interrupted work by hand. Interrupted runs may be lost without any clear record in the UI.
SQLite schema upgrade path
The server stores its data in a local SQLite database, and a new release may migrate that schema. Ask the vendor how schema migrations run, whether a downgrade is supported and what to back up before an upgrade. The platform team should copy the data volume, run the new pinned version against the copy and confirm that existing evals, shares and settings still open before changing production.
Self-hosting docsBackup and restore of the data volume
Everything the server keeps sits in the data volume, including the SQLite file and stored media, so the volume is the unit you back up. The platform team should set a backup schedule, copy the volume while the container is stopped or from a consistent snapshot, and run a restore test on a separate host. A backup that has never been restored proves little. The security team should review where the copies are stored and how long they are kept.
Vendor position on production use
The self-hosting documentation says the server is not recommended for production use, and the vendor sells an On-Premise edition for teams that need Enterprise controls. Ask the vendor in writing whether its position on production use of the self-hosted server has changed since the acquisition by OpenAI announced on 9 March 2026. Also ask which edition it expects a team with SSO and role requirements to run. Procurement or legal should keep the answer with the contract records.
Pricing and editionsTelemetry and outbound egress
A self-hosted server still makes outbound connections, including calls to model providers and, depending on settings, to vendor services. The security team should list every outbound destination that the running container and the CLI contact, then compare that list with the network policy. Ask the vendor which settings disable telemetry and remote features, and test them in a network that blocks all other egress. Store the result with the rest of the deployment evidence.
How DeployOpen scopes and supports a promptfoo deployment
DeployOpen starts from the limits of the self-hosted promptfoo server: one replica, a local SQLite database, no built-in authentication and no roles. We scope the controls you place around it, such as access control in front of the server, persistent storage and backups, and a decision on whether the vendor's On-Premise edition fits your requirements. Each engagement is fixed-scope, with the work agreed in writing before it starts.
How we scope
- The written scope names each limit and the control chosen to cover it.
- Scope also confirms the deployment target: your cloud account, data center or air-gapped network, and who operates it.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.
How we build
- We deploy the promptfoo server in your infrastructure, keeping data on storage you control.
- We configure a single instance with a persistent data volume, so the SQLite database is kept across container restarts.
- We place authentication, network restrictions and logging around the server, and document which user groups reach it.
How we hand over
- Handover includes runbooks for restart, upgrade, backup and restore of the data volume and the SQLite file.
- Each control is documented with its owner, so your security and compliance teams can review the setup.
- A written record states the single-replica limit and the conditions that would trigger a move to a different setup.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Upgrades follow the promptfoo release notes, with runtime requirements checked before each change, such as the Node.js version the release needs.
- Retests after each control change confirm that the controls still work as documented.

