promptfoo implementation plan and cost

What a promptfoo rollout for evals and red teaming involves, what drives its cost and duration, and what your team and a partner each need to provide.

On this page

Scoping a promptfoo implementation plan and cost before the first eval runs

The promptfoo software is free and MIT licensed, so the cost of a rollout is mostly people, model API spend and the work of writing assertions that catch real failures. The Community edition includes all LLM evaluation features, all model providers and integrations, and red teaming with 10k probes per month, so the licence is rarely the deciding line item. Budget for the engineers who write and maintain test suites, the model calls each run makes against your providers, and the time your security group spends reviewing red team output. Whether you later need Enterprise or On-Premise is a separate decision that should follow a clear need for team sharing, SSO or vendor support.

The usual triggers are a first release of an LLM feature, pressure from an audit or customer security review that asks how the system was tested, and prompt or model changes frequent enough that manual checks no longer keep up. Most teams run the first phase in-house, with one or two engineers who already know the application, and bring in a partner when they need a second opinion on scope, a red team exercise or help wiring evals into CI/CD. Before the first run, confirm which providers and models you will call, who holds the API keys, which data may leave your environment for each provider, and whether the results will be shared beyond a single laptop. Those answers decide whether a local CLI setup is enough or whether a shared, self-hosted instance is needed first.

What a promptfoo implementation includes and what you receive

A promptfoo rollout usually breaks into a small set of parallel work packages. Each one ends in a file, runbook or policy that your team keeps and can run without us. Read the list against your own models, pipelines and risk frameworks to see which packages you already cover internally.

Test suite design and assertions

We turn your prompts, expected behaviors and existing spot checks into promptfoo test cases with assertions that return pass or fail. The work depends on how many use cases you have and how hard each expected output is to judge. Deliverable: versioned promptfooconfig.yaml files, a test case inventory, and notes on which assertions are deterministic and which call a model as a grader. Check who owns the golden answers.

promptfoo introduction

Provider configuration across models

We configure each model provider in use, including API endpoints, model names, parameters and how keys are supplied at runtime. Provider count and the number of comparisons drive model API spend more than the configuration effort itself. Deliverable: provider definitions, an environment variable reference, and a short table of which models run in which pipeline stage. Confirm which providers your contracts allow.

Minimum runtime
Node.js 22.22.0

CI/CD integration

We wire evals into the pipelines that change prompts, models or application code, so a failing assertion can block a merge or release. The main decisions are which suites run on every commit, which run nightly, and how long runs may take before they are cut back. Deliverable: pipeline job definitions, a pinned promptfoo version, and cached results settings. Ask who maintains the runner image.

promptfoo introduction

Red teaming scope mapping

We define which red team plugins and strategies run against your application and map each category to the OWASP LLM Top 10, the NIST AI Risk Management Framework and EU AI Act references your governance team uses. The scope should match the use case, data sensitivity and deployment context rather than a generic list. Deliverable: a scope matrix linking each test category to its framework reference and an owner. Confirm the framework mapping with your compliance team.

promptfoo red teaming

Pass or fail policy

Assertion results mean little until someone decides what blocks a release, what raises a warning, and who can accept a known failure. We draft this policy with your product and security owners and record the exceptions process. Deliverable: a written pass or fail policy with thresholds, severity levels, and an approval path for overrides. Ask who signs off on risk acceptance.

Community monthly limit
10k probes

Handover and runbook

Your team needs to run the suites, read the results and update the configuration after we leave. We walk your engineers through the setup and document routine tasks, failure triage and version upgrades. Deliverable: a runbook, architecture notes for any self-hosted instance, and a list of open decisions with owners. Ask whether the handover includes a recorded session and a retest of the final pipeline.

Which factors raise promptfoo rollout cost and duration

This table lists the main drivers of promptfoo rollout effort, why each one moves cost or duration, and how to keep it under control. Read it before you scope a partner engagement, because the drivers that matter most depend on how many people share results and whether red teaming runs at volume.

DriverWhy it changes effort or costHow to keep it down
Users and teams sharing resultsShared results need a shared instance. Self-hosted promptfoo has no built-in authentication, RBAC or SSO, so sharing across teams pushes you toward Enterprise or On-Premise and adds access control work.Start with a small set of named users on one shared instance, and confirm early whether Enterprise team sharing and SSO fit your identity setup.
Number of applications and promptsEach application adds its own test cases, prompts, variables and expected outputs. Effort grows with the number of distinct configurations to maintain, not just the number of files.Group related prompts into shared configuration files and reuse variables, so one change does not need edits in many places.
Number of providers and modelsEach provider needs its own credentials, endpoint settings and output handling. Comparing several models multiplies run time and model API spend for every eval.Limit each eval to the models that matter for the decision, and run broad comparisons only on a scheduled basis.
Custom assertions and gradersBuilt-in checks cover common cases, but domain-specific rules need custom code or model-graded checks. Writing and validating these is usually the largest source of skilled effort.Begin with built-in assertions, add custom graders only where a failure would matter, and have domain experts review the expected outputs.
CI/CD pipeline countEach pipeline needs its own trigger, secrets handling, pass or fail thresholds and pinned version. Every additional pipeline repeats this setup and its troubleshooting.Use one reusable pipeline template with per-application settings, and pin the promptfoo version across all pipelines.
Red teaming probe volumeThe Community edition includes red teaming with 10k probes per month (promptfoo pricing page). Higher volumes need Enterprise or a plan change, and every probe consumes model API calls.Scope red teaming to the frameworks and applications that need it, such as the OWASP LLM Top 10, and estimate probe counts before the first full run.
Hosting choice: local, self-hosted, Enterprise or On-PremiseLocal runs need little setup but do not share results. Self-hosting requires container or Kubernetes work and a database approach, since the default SQLite store cannot be shared across replicas and is not recommended for production (promptfoo self-hosting docs). Enterprise and On-Premise add vendor-supplied features and a dedicated deployment engineer for On-Premise.Confirm the hosting model with the vendor before design, and avoid building a production shared instance on the default SQLite setup.
Compliance evidence needsAssessors may ask for test records, retention rules, access logs and proof that red teaming covered the NIST AI RMF, OWASP LLM Top 10 or EU AI Act expectations. Collecting and storing this evidence adds documentation and control work.Decide early which evidence the assessor needs, define where eval outputs are stored, and set retention and access rules before the first audit cycle.

The phases of a promptfoo rollout and the output of each

A promptfoo rollout moves from scoping and a local baseline to shared evals, automated checks and red team remediation, and each phase closes with a named artifact the client keeps. The sequence is designed so that evidence builds up before anything becomes a release gate.

  1. Scope the systems and decision points

    DeployOpen and the client agree which LLM applications, prompts, providers and risk areas the rollout covers, who owns the eval results and which release decisions the evals will inform. The client's security, engineering and compliance contacts sign off on the written scope, which also states the timeline and fixed deliverables. The phase is complete when the scope document names each application, its owner and the frameworks, such as the OWASP LLM Top 10 or the NIST AI Risk Management Framework, the red team work should map to.

  2. Build a local baseline eval

    Using the Community edition, which is free and runs on the engineer's machine, DeployOpen converts a representative set of existing prompts and test cases into a first promptfoo configuration and runs it against the chosen models. Evals run locally and call the model APIs directly, so this phase needs no shared infrastructure. The output is a working configuration file, a recorded baseline of pass and fail results and a list of failures that show where assertions are missing or unclear.

  3. Configure providers and secret handling

    The team sets up each model provider in the configuration, decides which API keys each environment may use and how those keys are injected at run time, and confirms that eval outputs containing prompts or customer-like data are stored only where policy allows. Your engineers should confirm current provider support and any rate limits directly with each vendor. The phase closes when a run succeeds from a clean checkout with no secrets committed to the repository.

  4. Build out assertions with domain owners

    DeployOpen works with product and domain owners to replace loose checks with assertions that reflect what a correct answer means for each use case, such as required fields, refusal behavior, grounding against retrieved sources and output format. This is usually the phase with the most effort, because each useful assertion needs a clear definition of success and sample cases that include edge cases. The output is a reviewed assertion library, a short note on what each assertion protects and a set of cases the domain owner has accepted as representative.

  5. Integrate evals into CI/CD

    DeployOpen adds the promptfoo run to the client's pipeline, sets pass thresholds, stores reports as build artifacts and pins the promptfoo version so that a new release does not change results mid-cycle. Because recent releases require a newer Node.js runtime, the pipeline image is checked against the version stated in the release notes before pinning. The phase is complete when a deliberate regression in a test branch fails the build and the failure report is readable by the team that owns the prompt.

  6. Run red teaming and fix findings

    DeployOpen runs promptfoo's red team checks against the agreed applications, mapped to the frameworks named in scope, and triages each finding by severity and exploitability. The client's engineers fix the prompts, guardrails or tool permissions behind confirmed issues, and DeployOpen reruns the affected probes to confirm each fix. The output is a findings register with status for each item, a retest record and a list of accepted risks signed by the named owner. Remediation usually repeats until no high-severity items remain open or each remaining item has an accepted-risk entry.

  7. Hand over the runbook and ownership

    DeployOpen delivers a runbook covering how to add test cases, change assertions, rotate provider keys, run red team scans, read reports and handle a failing build, along with the pinned configuration and the ownership map. The client's team runs one full cycle with DeployOpen observing, and the open items list records anything that needs a decision. Ongoing support, upgrades and continuous testing can be contracted separately as retainers if the client wants them. The phase closes when the client's team has completed a cycle without outside help or has agreed on the gaps that remain.

How the parts of a promptfoo rollout connect

The flow starts with the config file and test cases, which the promptfoo CLI or library loads inside the team's own runner. The runner sends requests directly to the chosen model providers, so eval data does not pass through a promptfoo-hosted service. Results go to the CI pipeline and, optionally, to a self-hosted promptfoo app. Check where provider API keys are stored in the runner and who can read the results store, because those are the trust boundary.

Eval data flows from the team's runner straight to model providers, with results going to CI and an optional app.

Which promptfoo work teams keep in-house and which they outsource

Application engineers know how the LLM feature is supposed to behave, which makes them the people best placed to write test cases. In promptfoo, that work means defining prompts, test variables, providers and assertions in YAML configuration files, and deciding what a good answer looks like for each use case. Most of this work stays in-house because only the owning team understands the product's expected outputs.

  • Test case authoring: Turning real user questions, edge cases and past bugs into rows of test data that the team can rerun after every change.
  • Assertion design: Choosing between deterministic checks, such as string or JSON matching, and model-graded checks, and knowing where each one gives false results.
  • Provider configuration: Pointing suites at the models the product actually uses, including versions and parameters, so results reflect production.
  • Partner value: A partner can review the first suite and suggest assertion patterns, but the domain knowledge needed to judge correct output stays with the team.

Before starting, confirm that engineers have time allocated for suite maintenance, since assertions need updating whenever prompts or models change.

What usually goes wrong in promptfoo rollouts and how to prevent it

Most promptfoo rollouts stall for reasons that have little to do with the tool itself: an unsuitable hosting choice, evals that check the wrong things, spend that grows unchecked, and findings nobody owns. The cards below cover six risks that recur in scoping, with a prevention step for each.

Running self-hosted as production

The self-hosted app stores data in a local SQLite database that cannot be shared across replicas. It has no RBAC, no horizontal scaling, and no built-in authentication or SSO, and the documentation does not recommend it for production. Before scoping, decide whether a shared instance needs Enterprise or On-Premise, and confirm with the vendor what that licence includes. Treat any self-hosted instance as a single-user or pilot environment until access control is in place.

Self-hosting docs

Assertions that check format only

A suite that only confirms the output is valid JSON, under a length limit, or contains a keyword passes while the model gives wrong or unsafe answers. Effort to write useful assertions is mostly domain work: agreeing with business owners on what a correct answer looks like and building test cases from real failure modes. Ask for a review of each suite by someone who owns the use case, and include known-bad examples that must fail.

Unbounded model API spend

Every combination of prompt, model, provider and test case is a billable call. A matrix that looks small on paper can multiply quickly once several models and repeated runs are added, and the promptfoo tool does not set your provider bill. Cap the matrix for routine runs, use a smaller sample in pull requests, and set budget alerts with each provider. Ask any partner quoting the work to state which API calls are included in the fixed scope and which are billed to you.

Red team findings without an owner

Red team runs produce lists of failed probes, but a list with no named owner does not get fixed. Before the first run, assign who triages findings, who decides whether a failure is accepted or fixed, and who retests after a change. Link each finding to the framework item it supports, such as the OWASP LLM Top 10 categories referenced in the documentation, so compliance and engineering read the same record. Without this, the red team program produces reports and no remediation.

Red teaming docs

Unpinned versions breaking pipelines

promptfoo ships releases frequently, and the current npm release requires Node.js 22.22.0 or newer. A CI job that installs the latest version can fail or change results without any change to your own code. Pin the promptfoo version and the Node.js version in the pipeline, upgrade on a scheduled branch, and rerun a fixed baseline suite before merging. Record the version used for every eval run so results can be reproduced later.

promptfoo on npm

Provider keys stored in repositories

Eval configurations need API keys for each model provider, and it is easy to commit them to a configuration file or log them in CI output. A leaked key gives anyone who finds it access to your provider account and its spend. Store keys in the CI secret manager or the runtime environment, reference them by variable name in configuration files, and scan repositories for secrets before merge. Confirm where eval outputs and red team results are stored, since they can also contain sensitive data.

Recurring costs after a promptfoo go-live

This table lists the cost components that continue after a promptfoo rollout goes live, who is paid for each, and whether it is one-time or recurring. Use the last column to see what to request in a quote, since Enterprise and On-Premise pricing is custom and no list price is published. The main takeaway is that model API spend and internal upkeep usually outlast the license decision.

Cost componentWho is paid or who bears itOne-time or recurringWhat to ask for or confirm
Model API spendYour model provider, billed on the tokens your evals and red team runs sendRecurring, scales with suite size and run frequencyAsk your provider for usage tiers and set a per-pipeline budget before CI runs go wide
Community subscriptionNo license fee; the Community edition is free and includes all evaluation features and 10k red team probes per monthRecurring only if you add paid servicesConfirm the probe count you need per month against the Community limit on the pricing page
Enterprise or On-Premise subscriptionpromptfoo, quoted on request at custom pricingRecurring, usually annual termRequest a written quote covering SSO, RBAC, support SLAs, deployment engineer time and renewal terms
Self-hosted infrastructureYour cloud or data center team, for compute, storage and backups of the app and its SQLite databaseRecurring, with an initial setup costConfirm sizing with your platform team and whether replicas or shared storage are needed, since SQLite is not shareable across replicas
Red team probe volumeDepends on your subscription tier and your own run scheduleRecurring, monthlyEstimate probes per run from your frameworks and scan frequency, then compare to your tier allowance
Suite and assertion upkeepYour internal engineers or the partner you engageRecurring, rises with each model or prompt changeAgree who updates test cases, assertions and reviews of failing results after each change
Version pinning and upgradesYour internal platform or CI teamRecurring, tied to each promptfoo release and Node.js requirementConfirm the Node.js version your pipeline runners use, and the test and rollback steps before bumping a pin

How the promptfoo work changes by starting point and environment

A local-only start is the smallest scope. promptfoo runs on a developer or build machine, evals execute from that machine, and requests go directly from it to the model providers you configure. There is no shared server to operate, so the main work is writing useful test suites and deciding who owns the configuration files.

  • Configuration in version control: Test suites, prompts and provider settings live in files such as promptfooconfig.yaml that the team reviews like code.
  • Node.js runtime: Each machine needs the Node.js version the current release requires, which the upgrade work must track.
  • Results stay local: Outputs remain on the machine that ran them, so sharing findings with reviewers takes a manual step.
  • Individual API keys: Each user typically supplies their own provider credentials, which raises key handling questions.
  • Limits of this model: Without a shared instance, there is no central view of runs or access control.

Before you start, confirm which provider accounts and keys the team will use and whether a single shared run location is needed later.

What your team needs to provide before a promptfoo project starts

Before a promptfoo project starts, your team needs to settle access to the applications and prompts under test. Evals call the same endpoints your users hit, so the implementation team needs a test environment or staging endpoint that behaves like production, plus the prompt templates, system prompts, tool definitions and sample inputs that make up each application. Confirm who owns each prompt file, where it lives today (a repository, a spreadsheet or a wiki), and whether it can be copied into a promptfooconfig.yaml file under version control. Ask for a named engineer who can answer questions about expected behavior for each application, because most assertion effort comes from that clarification.

Next, decide where evals run and which edition you will use. The Community edition is free, runs locally and includes all evaluation features and providers, while Enterprise and On-Premise add team sharing, SSO, custom roles and a dedicated deployment engineer on the On-Premise option. If you plan to self-host the web app, note that the self-hosted build uses a local SQLite database that cannot be shared across replicas and has no built-in authentication, so a shared instance needs a platform decision before work starts. Provide model provider accounts with approved API keys, a secrets store for those keys, and a spending limit or budget owner for each provider. The CI system also needs access: name the pipeline platform, the runner that will execute evals, and who can grant the service account permission to read secrets.

Two governance inputs are often missing. First, name an owner for pass or fail thresholds. Someone with authority over the product must decide what counts as a failed eval, which red team findings block a release, and how exceptions are approved, because the implementation team can write assertions but cannot set your risk tolerance. Second, set data handling rules for eval inputs and red team outputs. Eval datasets may contain customer records, and red team runs produce transcripts of attacks that may expose sensitive system behavior, so define where those files are stored, how long they are kept, who can read them and whether they may be sent to a model provider. Finally, name a reviewer who will triage findings, confirm which ones are false positives and track fixes to closure. Without that person, red team reports tend to sit unread after the first run.

Common questions about promptfoo implementation cost and effort

How much does a promptfoo rollout cost?

The software itself is free to use under the MIT license, so the cost is the work around it. A rollout has four components: the people who write test suites and assertions, the model API calls that run during evals and red teaming, the infrastructure that runs the jobs in CI/CD, and, if you choose it, a paid tier. The Community edition is free and includes all LLM evaluation features, all model providers and red teaming with 10k probes per month. Enterprise and On-Premise are priced on request, so ask the vendor for a quote and confirm which features and probe volumes it covers. Ask any partner for a fixed-scope quote that lists the test suites, integrations and handover work separately.

How long does a promptfoo implementation take?

Duration depends on how many applications you test, how many providers you compare, and how much of your existing evaluation material you bring over. A single application with a small set of prompts and a CI job is a much smaller project than several applications with red teaming, shared results and a self-hosted instance. The largest variable is assertion work: useful assertions require agreement on what a good answer looks like, which usually involves product and domain owners as well as engineers. No duration is set by the tool, so ask for a timeline in the written scope, with milestones for suites, CI integration and handover.

Can an internal team run a promptfoo rollout alone?

Yes, for a single team running local evaluations, an engineer who knows the application and its model providers can get started with the CLI and the Community edition. The work becomes harder when you need shared results, access control, SSO or production-grade hosting. Self-hosting for a shared team is not recommended in the self-hosted documentation for production use without additional controls, so plan for more engineering time. Consider a partner when you need hardening, CI/CD integration across several pipelines, or evidence for a compliance review. Compare the internal effort, including ongoing assertion maintenance, with a fixed-scope engagement before deciding.

What model API spend should we expect, and how do we control it?

Model API spend is the largest recurring cost in most evaluation programs, because every test case, judge call and red teaming probe can send requests to a paid provider. Spend rises with the number of prompts, test cases, models compared, repetitions per run and how often CI runs. To control it, start with a small, representative suite, run expensive comparisons on a schedule rather than on every commit, cache results where the configuration allows it, and set provider spending limits in each vendor account. Confirm your provider's pricing and rate limits directly, because those figures are set by the provider, not by promptfoo.

Does self-hosting promptfoo need extra work?

Yes. The self-hosted app is an Express server with a web UI and API that you can deploy with Docker, Docker Compose or Kubernetes with Helm. Its default data store is a local SQLite database that cannot be shared across replicas, and the self-hosting documentation lists missing RBAC, horizontal scaling, built-in authentication and SSO, and does not recommend it for production. Extra work therefore includes putting the database on persistent storage, placing authentication in front of the app, restricting network access, and planning backups. Enterprise and On-Premise add teams-based access control, SSO and a dedicated deployment engineer, so ask which option removes the gaps you need closed.

What does the work need from our side?

The rollout needs named owners and access before work starts. Typical inputs include the applications and endpoints to test, the model providers and API keys, the existing prompts, expected outputs or evaluation scripts, and a CI/CD system with a place to run jobs. Security and compliance teams should state which frameworks the testing must map to, such as the OWASP LLM Top 10 or the NIST AI Risk Management Framework, and what evidence they need. Product owners must define what a good answer looks like, because assertions depend on that decision. Ask the vendor or partner to list these inputs in the written scope so gaps are visible early.

Which promptfoo version and Node.js runtime should we plan for?

Plan around the current release line and its runtime requirement. The npm release 0.124.1, published on 8 October 2026, requires Node.js 22.22.0 or newer, so confirm that your CI images and developer machines meet it. Because releases are frequent, pin a version in CI so results stay reproducible, and schedule upgrades as a separate task with a review of changed assertions and providers. Check the GitHub release notes before each upgrade, and confirm with the vendor how long older versions remain supported.

Where to confirm current promptfoo releases, pricing and self-hosting details

Before you scope a promptfoo rollout, confirm the three things that most affect the plan: the release you will pin, the edition that covers your requirements, and the self-hosting model you intend to run. Start with the promptfoo package on npm. The most recent release supplied for this page is 0.124.1, published on 8 October 2026, and it requires Node.js 22.22.0 or newer. Check that requirement against the runtime your CI runners and developer machines actually use, because an older Node.js on a build agent is a common cause of failed first runs. Then open the GitHub releases page to read the changelog for anything that changes configuration keys, provider behavior or red team plugins between the version you test and the version you pin.

Next, verify the edition limits on the promptfoo pricing page before you write any requirement that depends on them. At the time of the supplied facts, the Community edition is free, includes all LLM evaluation features and all model providers, and covers red teaming with 10k probes per month, with community support. Enterprise and On-Premise add team sharing, teams-based access control and SSO, custom roles, continuous monitoring, and priority support with SLAs, but are priced on request. Ask the vendor to confirm in writing which probe limits, SLA terms, deployment engineer involvement and data isolation commitments apply to your contract, and whether the probe limit is enforced per team or per organization. Those answers decide whether a shared instance needs a paid tier at all.

Finally, read the self-hosting documentation against your target design. The documentation describes an Express server deployable with Docker, Docker Compose or Kubernetes with Helm, but it also states that the default SQLite database cannot be shared across replicas, has no RBAC, horizontal scaling or built-in authentication, and is not recommended for production. Confirm the current storage options and any supported external database before you size infrastructure, and confirm which authentication features, if any, the self-hosted build offers. If those gaps are unacceptable, your scope must either include a different access layer or move to an edition that provides SSO and teams-based access control.

How DeployOpen scopes, delivers and hands over promptfoo work

DeployOpen approaches promptfoo implementation plan and cost as a written, fixed-scope engagement inside the client's own infrastructure. We agree the test suites, providers, pipeline steps and deliverables in writing before work starts, then hand over configurations, documentation and a clear picture of recurring model API spend.

How we scope

  • Inventory the eval and red team use cases, target applications and models that the rollout must cover.
  • Decide between a local Community setup, a shared self-hosted instance or an Enterprise or On-Premise plan with the client.
  • Agree in writing which test suites, assertions, providers and CI/CD stages are in scope and which are excluded.
  • Ask for a quote that separates DeployOpen effort from the client's own model API and staff costs.

How we build

  • Write promptfoo configurations for the agreed suites, with provider settings kept out of source files and read from secrets.
  • Build assertions with the application owners so pass and fail criteria reflect real product behavior.
  • Wire evals and red team runs into the client's CI/CD pipeline, with pinned promptfoo and Node.js versions.
  • Test the setup against the agreed scope, including probe volume and spend estimates, before the client accepts it.

How we hand over

  • Deliver configurations, run scripts and a runbook that explains how to add tests, providers and red team plugins.
  • Document the data flow, where eval outputs are stored and which model API keys each pipeline uses.
  • Walk the client's engineers through a live run, a failing case and the steps for reviewing results.
  • Record the open items, such as the decision on a shared or Enterprise deployment, for the client to own.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped in writing.
  • Retainers can cover tracking promptfoo releases and checking compatibility with the pinned Node.js version.
  • Confirm with the client whether support hours, response targets and SLAs are needed, since these depend on the agreed plan.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.