Can our company use promptfoo commercially under its MIT license?
Yes. The open-source promptfoo repository is released under the MIT license, and commercial use of that code falls under the MIT terms. The LICENSE file carries the copyright line Copyright (c) Promptfoo 2025 and names no directory or component under a different license, so engineering and legal teams can review one license text for the repository. Confirm the license file in the exact release you plan to deploy, since your procurement record should point to the version you actually use.
Engineering, security, procurement and legal each have a role here. Engineering should confirm the Node.js runtime requirement for the release it pins, and security should confirm which parts of the workflow send data to a model provider. Procurement and legal should record that the MIT license governs the code, while the Community plan, the hosted red team inference allowance and the Enterprise image are governed by separate terms. The license does not cover the 10k monthly probe allowance in the Community plan, which exists because certain plugins use promptfoo's inference for test generation and grading. Ask the vendor how that allowance applies to your planned scan volume.
The Enterprise platform ships as a separate enterprise image, and customers receive its credentials from promptfoo rather than pulling it from the open-source server image. Treat Enterprise and On-Premise as a separate purchase with their own written terms, and ask for those terms in the quote before you rely on any feature set. Keep the MIT position for the repository and the commercial position for Enterprise in separate sections of your approval file.
License terms and editions side by side
This table compares the MIT-licensed repository, the free Community edition and the custom-priced Enterprise and On-Premise plans. Read each column to see what is included, what is restricted and how you obtain it, because only the repository is governed by the MIT license.
| Edition | Included | Restrictions and how to obtain |
|---|---|---|
| Open-source repository | Source code under the MIT license, copyright line Copyright (c) Promptfoo 2025, for evals, red teaming and code scanning | MIT terms apply. Install from npm or GitHub. Hosted red team inference is capped as described in the Community row. |
| Community edition | All LLM evaluation features, all model providers and integrations, and red teaming with 10k probes per month | Free with community support. The probe limit exists because certain plugins use promptfoo's inference for test generation and grading. |
| Enterprise (SaaS) | Team sharing, teams-based access control and SSO, custom roles, continuous monitoring, centralized guardrail dashboard, remediation recommendations, priority support with SLAs | Custom-priced and sold by quote. Pricing is not published. Confirm the SLA terms in the written quote. |
| Enterprise On-Premise | Enterprise functionality on your own infrastructure with complete data isolation and a dedicated deployment engineer | Custom-priced and sold by quote. Ships as a separate enterprise image with credentials issued by promptfoo, not the open-source server image. |
| Self-hosted open-source server | Express server with web UI and API, deployable with Docker, Docker Compose or Helm | No RBAC, built-in authentication or SSO, and horizontal scaling. Single SQLite store is not recommended for production. |
| Components under other licenses | LICENSE file names no directory or component under a different license | Review third-party dependencies in your own software bill of materials before distribution. |
What the MIT license allows us to do with the code
The promptfoo repository is licensed under the MIT license, a permissive license that lets you use, copy, modify, merge, publish, distribute, sublicense and sell copies of the software, including for commercial purposes. In practice, your organization can run the open-source tool inside its own environment for internal evaluation and red teaming, change it to fit your pipelines, and ship modified versions to other teams or partners without asking the vendor for permission or paying a royalty. The license file in the repository carries the copyright line Copyright (c) Promptfoo 2025 and contains no component under a different license, so the terms apply to the whole codebase. Those terms come from the MIT text itself, and the file is the place to read them directly: promptfoo LICENSE on GitHub.
The main obligation is attribution. Any substantial copy or portion of the software you redistribute must keep the copyright notice and the permission notice, so a packaged build, internal fork or vendored copy should carry the LICENSE text along with it. The MIT license provides no warranty and limits the authors' liability, which means your risk review should cover support and security patching, since no vendor is contractually bound by the license alone. Before relying on these terms for a specific use, have counsel confirm the full license text against your own use case, including how you plan to distribute modified builds and whether any bundled dependencies carry their own notices. The terms in this section were checked against npm release 0.124.1, published on 8 October 2026 and requiring Node.js 22.22.0 or newer, so confirm that the version you deploy matches.
What is free, what is paid and what we still run ourselves
The MIT license covers the open-source code, but running promptfoo in an organization involves more than one line item. This section separates the free Community edition, the paid Enterprise and On-Premise plans sold by quote, and the internal effort that no license removes.
Free Community edition
The Community edition is free and includes all LLM evaluation features, all model providers and integrations, and red teaming with 10k probes per month. Support is community support, with no response commitment. The probe allowance is the number to plan around: the pricing FAQ explains that the limit exists because certain plugins call promptfoo's inference for test generation and grading. Before scheduling large scans, confirm how your planned plugins and strategies consume probes, and whether your scan size fits inside the monthly allowance.
Pricing pagePaid Enterprise plan
Enterprise adds team sharing, teams-based access control and SSO, custom roles and permissions, continuous monitoring, a centralized guardrail dashboard, remediation recommendations and priority support with SLAs. It is priced by custom quote. Ask the vendor for the SSO protocols supported, the role model, the SLA terms and the renewal basis in writing. The hosted option removes server operation from your team, but your data governance review still applies to it.
Enterprise plan detailsOn-Premise deployment
On-Premise runs the Enterprise functionality on your own infrastructure with complete data isolation and a dedicated deployment engineer. It is also custom-priced. Costs here include the subscription, the infrastructure that hosts it and the internal staff who operate it. Ask what the deployment engineer does during installation, what they do after go-live, how upgrades are delivered, and how credentials for the enterprise image are issued and rotated.
Self-hosting docsInternal staff and model spend
No license covers the work your team carries. Staff time goes to hosting the self-hosted server, applying upgrades, keeping the CLI and CI runners current, managing secrets for model providers and reviewing security of the test pipeline. Model API spend is billed by your providers, and it recurs with every eval and scan. Estimate both before comparing against paid tiers, and assign owners for patching, backups and access reviews.
Why the 10k probe limit applies regardless of the MIT license
The MIT license covers the promptfoo source code, and it lets you use, modify and redistribute that code commercially. The 10k red team probes per month allowance in the Community version is a different kind of term. It is a usage limit on red team inference, and the license does not remove it. The promptfoo pricing page FAQ says the limit exists because certain plugins require promptfoo's own inference for test generation and grading. Those plugins call promptfoo's hosted inference service, so the limit governs that service even though the code running on your machine is MIT licensed.
For planning, the practical split is this. Standard evals run locally against the model you choose, and the probe allowance does not restrict them. Red team scans that use the plugins needing promptfoo's inference consume probes, and a large scan can reach the monthly limit. Before you approve a red team program on the Community version, confirm which plugins your scan configuration calls, estimate the probe volume your test schedule needs, and check the current allowance on the promptfoo pricing page, since limits can change.
If your program needs more probes than the Community allowance provides, the question for procurement is a quote for a paid plan, not a change to the license terms. Ask the vendor to confirm in writing how probes are counted, whether the allowance resets monthly, and whether inference for test generation and grading can be routed another way in your environment. Confirm these points with promptfoo before the budget decision, since the answers determine whether the open-source path fits your data handling and volume requirements.
Which license path fits which organization
A small team running evaluations and red team scans for its own LLM application usually fits the open-source Community edition. The MIT license in the repository covers running, modifying and using the software internally, and the Community edition includes all LLM evaluation features, all model providers and integrations, and red teaming with a monthly probe allowance. Because evals run on your machine and talk directly with the model, there is no hosted control plane to set up for this path.
- Edition: Community, free, under the MIT terms of the repository.
- Probe allowance: red team probes are capped per month on the Community plan, so confirm the cap against your planned scan volume.
- Support: community support only, with no vendor SLA.
- Shared views: team sharing, centralized access control and SSO are not part of this path.
- Self-hosted server: the open-source self-hosted app uses a local SQLite database without RBAC or built-in SSO, so it is not recommended for production use.
Before you start, check your planned number of red team probes per month against the allowance on the pricing page.
Organizations that need sign-in through their identity provider, teams-based access control, custom roles and centralized monitoring typically look at the Enterprise platform in its hosted form. Enterprise is a separate, custom-priced plan sold by quote, distributed apart from the open-source repository. Its added functions include team sharing, SSO, custom roles and permissions, continuous monitoring, a centralized guardrail dashboard, remediation recommendations and priority support with SLAs.
- Edition: Enterprise, hosted, sold by quote.
- Access control: teams-based access control, SSO and custom roles, which the Community edition does not provide.
- Monitoring: continuous monitoring and a centralized guardrail dashboard for security and compliance owners.
- Support: priority support with SLAs, with the exact terms set in the agreement.
- Scope of the license: the MIT license still covers the open-source code you run, while Enterprise features are governed by the commercial agreement.
Ask the vendor which sign-in options, SLAs and data locations are included in the written agreement before your security review begins.
Organizations that cannot send test data, prompts or results to a hosted service need the On-Premise edition. It runs the Enterprise functionality on your own infrastructure with complete data isolation and includes a dedicated deployment engineer. The Enterprise platform ships as a separate enterprise image for which customers receive credentials from promptfoo, so it is not the open-source server image in the repository.
- Edition: On-Premise, custom-priced and sold by quote.
- Deployment: runs inside your own infrastructure, which your platform team must provide and operate.
- Artifact: the enterprise image is obtained with credentials from promptfoo, so plan how that image enters your registry and change process.
- Licensing: the MIT license applies to the open-source code, but the enterprise image is covered by the commercial agreement, so confirm its terms in writing.
- Contact: a dedicated deployment engineer is included, so ask what that role covers during rollout and after go-live.
Confirm with the vendor which terms govern the enterprise image before it is pulled into a restricted network.
A company that bundles promptfoo inside a product it sells or distributes to customers is in a different position from a company that uses it internally. The MIT license is permissive, but it attaches conditions to redistribution, and the commercial terms for Enterprise and On-Premise are separate from the repository. Whether a particular embedding model is allowed, and what notices must travel with the software, should be settled by counsel before release, not by an engineering assumption.
- Open-source code: the repository LICENSE is the MIT license with the copyright line for promptfoo, and it names no directory under a different license.
- Hosted inference: the Community probe allowance exists because certain plugins use promptfoo's inference for test generation and grading, so a product that depends on that inference at scale needs its own agreement.
- Enterprise components: the enterprise image and features fall under the commercial agreement, not the MIT terms.
- Customer terms: the distribution model, support obligations and warranties you give your customers must match what you are licensed to pass on.
- Review: ask counsel to compare the repository LICENSE, the pricing terms and your product agreements before shipping.
Do not treat the open-source license alone as clearance for distribution, and ask the vendor in writing which rights cover your intended use.
How the Enterprise platform is distributed separately
The open-source server and the Enterprise platform are two different distributions, and only the first is covered by the MIT terms. The self-hosted promptfoo app is an Express server that serves the web UI and API, and it can be deployed with Docker, Docker Compose or Kubernetes with Helm. That is the software you pull from the open-source project. The Enterprise platform ships as a separate enterprise image, and customers receive credentials for it from promptfoo. Before planning a rollout, confirm with the vendor exactly which image, registry and access terms apply to your account, and do not assume that an image found through the public repository carries the same terms.
Enterprise and On-Premise are sold by quote, separate from the free Community version. The promptfoo pricing page lists both as custom-priced plans, so the cost, the scope of support, the number of seats and the terms of use are set in a written agreement. Ask for that agreement to state which components are licensed, whether updates to the enterprise image are included, what the support obligations are, and how the agreement ends. Because On-Premise runs inside your own infrastructure, also ask who operates the image, who holds the credentials, and what happens to access if the subscription lapses. Those answers determine whether your internal team or a partner carries the operating burden.
Plan for the difference in the architecture as well as the paperwork. The self-hosted open-source server stores data in a local SQLite database that cannot be shared across replicas and has no RBAC, horizontal scaling, built-in authentication or SSO, and its documentation does not recommend it for production. Enterprise features such as team sharing, access control, SSO and centralized monitoring are part of the paid platform, so a team that needs them should size its project around the Enterprise distribution from the start. Confirm the supported deployment targets and hosting requirements in the written quote rather than extending the open-source deployment to cover them.
What the license and the quote will require of us
The MIT license sets the terms for using and redistributing the open-source code, but it does not cover the Enterprise platform or hosted services. The items below cover what we must keep, what sits in the written quote, and what has to be confirmed before we commit.
Keep the MIT notice intact
The MIT license lets us use, copy, modify and redistribute the code, provided the copyright notice and permission notice travel with every copy or substantial portion. For promptfoo, the LICENSE file carries the copyright line Copyright (c) Promptfoo 2025. If we fork, vendor or bundle the repository into internal images or packages, we should keep that file and the notice in the same place. Attribution is the one condition we must meet on every redistribution.
Read the LICENSE fileCheck each dependency's license
The LICENSE file names no directory or component under a different license, but our build pulls in npm packages and container layers with their own terms. Before redistributing a bundled image or package, we should run a license inventory of the full dependency tree and record the result. This is our obligation as the distributor, not something the promptfoo license settles for us.
Treat the Enterprise agreement as private
The Enterprise and On-Premise plans are custom-priced and sold by quote, separate from the free Community version. The Enterprise image is distributed to customers with credentials issued by promptfoo, so its terms are not in the public repository. We should request the agreement in writing and review usage rights, redistribution limits and termination terms before the order is signed.
Compare plans on pricingConfirm data handling in the order
Self-hosted promptfoo runs on our infrastructure, but the Community plan's hosted red team inference and the Enterprise support model both involve data flows we need to map. The written order should state what data leaves our environment, where it is processed, how long it is kept and how it is deleted. We should not rely on general statements in public documentation for these terms.
Get SLAs and support in writing
Enterprise support includes priority support with SLAs, and On-Premise includes a dedicated deployment engineer. Response targets, severity definitions, service credits and the scope of the deployment engineer's work belong in the order, not in the marketing page. We should ask for the exact figures and compare them against the uptime and response needs of the teams that will depend on the tool.
Confirm audit and trademark terms
Public sources do not describe audit rights for the vendor or the customer, and they do not set out rules for using the promptfoo name in our documentation, marketing or product names. The MIT license does not grant trademark rights. We should ask the vendor to confirm both points in writing and record the answers with the order, especially if we plan to ship promptfoo as part of a service we sell.
What to collect before the license goes to approval
This sequence gives approvers a clear view of what the MIT license covers, which edition and usage limits apply, and what a commercial Enterprise or On-Premise agreement would add. Each step closes with a document or answer that can be filed with the request.
Pull the LICENSE file and copyright line
The engineering or legal lead opens the LICENSE file in the promptfoo/promptfoo repository on GitHub and confirms it is the MIT license with the copyright line Copyright (c) Promptfoo 2025. Check the repository for any directory or component that carries a different license, noting that the LICENSE file names none. Save a dated copy or a link to the file commit in the approval record. The step is complete when the license text and copyright line are attached to the request.
Confirm the edition and probe usage
The platform owner decides whether the open-source Community edition meets the need or whether a paid plan is required. Estimate red team probe volume per month against the Community allowance of 10k probes per month, and note that the limit exists because certain plugins use promptfoo's inference for test generation and grading. Record the expected probe count and the edition chosen. The step is complete when the edition decision and the monthly volume estimate are written down.
Request the Enterprise or On-Premise quote
If the Community edition does not cover team sharing, SSO, custom roles or On-Premise deployment, the procurement contact requests a written quote from promptfoo. Enterprise and On-Premise are custom-priced and sold by quote, so ask for the scope, the license term, the number of seats or users, and whether any fees recur. Ask for the draft agreement alongside the quote. The step is complete when a signed-off quote and draft agreement are on file.
Review data handling and where inference runs
The security team reviews how data moves during use. promptfoo documentation states that evals run locally on the machine and talk directly with the LLM, so confirm which model endpoints receive prompts and responses. For self-hosted Enterprise deployments, confirm where the server, database and inference calls run, and ask promptfoo to put data handling commitments in writing. The step is complete when a data flow diagram and the vendor's written data handling answers are attached.
Confirm support and SLA terms
The procurement and IT owners confirm what support is included at each tier. Community support is the only support listed for the free edition, while Enterprise includes priority support with SLAs and On-Premise includes a dedicated deployment engineer. Ask promptfoo for the exact SLA text, response targets, escalation path and any support hours, and do not rely on general descriptions. The step is complete when the support schedule is signed off in the agreement or an order form.
Document the exit path
The platform owner records how the team would leave or change versions without losing work. Pin the promptfoo version used in CI and local tooling, for example the npm release in use, and note that the current release requires Node.js 22.22.0 or newer. Confirm how eval results and configurations can be exported, and note that the self-hosted server uses a local SQLite database that is not suited to production. The step is complete when the version pin, export method and fallback plan appear in the approval file.
What catches buyers out on licensing
The MIT license on the promptfoo repository is clear, but it does not stretch to every part of the product. Each card below marks a point where a buyer can assume more than the license or the documentation actually grants, and what to confirm before committing a team or a budget.
MIT does not cover hosted probe inference
The MIT license governs the open-source code, but the Community edition includes up to 10k red team probes per month at no charge. That limit exists because certain plugins call promptfoo's own inference for test generation and grading. Volume beyond the allowance is a commercial question, not a license right. Before planning a large red team program, confirm how your scan size maps to probes and which plugins you intend to use.
Pricing pageEnterprise features are not in the server image
Team sharing, SSO, custom roles, continuous monitoring and the centralized guardrail dashboard belong to the Enterprise platform. The self-hosting documentation says that platform ships as a separate enterprise image, with credentials issued by promptfoo, rather than as the open-source server image. Do not assume that pulling the public image gives you access-controlled features. Ask the vendor which image and which entitlement your rollout depends on.
Self-hosting docsAcquisition is not a license change
OpenAI's acquisition of promptfoo was announced on 9 March 2026, and the founders have said promptfoo will remain open source. Neither statement replaces the license text. Check the LICENSE file in the repository at the version you deploy, and record the commit or release you reviewed. Repeat the check on each upgrade, because a license file is the only binding statement of terms for the code you run.
LICENSE fileSingle-instance SQLite is not for 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, no built-in authentication or SSO, and the documentation says it is not recommended for production. Treat it as a single-team or evaluation deployment unless the Enterprise platform is in place. Teams that need shared, governed results should price the Enterprise option before building workflows on the open-source server.
Self-hosting limitsQuestions procurement and legal ask before approving promptfoo
Does the MIT license allow commercial use of promptfoo?
Yes. promptfoo's LICENSE file in its GitHub repository is the MIT license, which permits commercial use, modification, and redistribution, provided the copyright notice and license text are kept with copies of the software. The LICENSE file names no directory or component under a different license, so legal teams can review one license for the open-source repository. Ask your counsel to confirm how the MIT terms apply to your internal use and any internal distribution. The license governs the software, not the outputs of hosted red team inference, which is covered in the next answer.
Is the promptfoo Community edition free to use?
The Community edition is free. It includes all LLM evaluation features, all model providers and integrations, and red teaming with up to 10k probes per month, with community support. You do not pay promptfoo for the Community edition itself, but you still pay the model providers you call during evals and scans, and your own infrastructure and staff time. Those running costs belong in a separate cost of ownership review. Confirm on the pricing page which features are included at the time you review it, since plans can change.
Why does promptfoo limit red team probes on the free plan?
The pricing page explains that the 10k probes per month limit exists because certain plugins require promptfoo's inference for test generation and grading. Probes that use those plugins are run through promptfoo's hosted inference, so the allowance is a usage cap on that service rather than a restriction on the license. This limit applies regardless of the MIT license. If your scans need more probes, confirm with promptfoo how your planned plugins and scan size count against the allowance before you commit to a schedule.
What drives the cost of promptfoo Enterprise?
Enterprise and On-Premise are custom-priced plans sold by quote, and promptfoo does not publish a price list for them. The pricing page lists team sharing, teams-based access control and SSO, custom roles, continuous monitoring, a centralized guardrail dashboard, remediation recommendations, and priority support with SLAs. Ask for a written quote that states which plan, which deployment model, the number of seats or users, support terms, and whether On-Premise includes a dedicated deployment engineer. Separate one-time onboarding from recurring subscription fees so you can compare renewal terms.
Can we run promptfoo ourselves, or do we need outside help?
The open-source CLI and library run locally, so an engineering team can install promptfoo, run evals, and add scans to CI/CD without an outside partner. The self-hosted server is an Express app deployable with Docker, Docker Compose, or Kubernetes with Helm, but its local SQLite store cannot be shared across replicas and it has no RBAC, horizontal scaling, built-in authentication, or SSO, and the docs do not recommend it for production. Teams that need a production multi-user deployment should review the Enterprise options or plan the surrounding identity, storage, and backup work with help from a partner such as DeployOpen.
What did the OpenAI acquisition announced on 9 March 2026 mean for the license?
The acquisition does not change the MIT license on the open-source repository, which remains the license in the LICENSE file. OpenAI acquired promptfoo, announced on 9 March 2026. In its announcement, the founders state that promptfoo will remain open source and will continue to support a diverse range of providers and models. Treat that as a statement of intent rather than a contract term, and keep a record of the license version you adopt. Re-check the LICENSE file and the release notes before each major upgrade, because a future license change would be published there first.
What is not open source in the promptfoo product line?
The Enterprise platform is distributed separately from the open-source repository. The self-hosting docs state that it ships as a separate enterprise image for which customers receive credentials from promptfoo, not as the open-source server image. Enterprise and On-Premise are also sold by quote under separate terms. Ask promptfoo for the license and terms that govern the Enterprise image and any support agreement, and have counsel review them alongside the MIT terms, since they are not covered by the repository's LICENSE file.
How DeployOpen works on this
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For promptfoo, that means separating what the MIT-licensed repository lets you run from what the Enterprise platform requires, then building the deployment to match your licensing and data boundaries.
How we scope
- Written scope that states which promptfoo components are in use: the open-source CLI, the self-hosted server or the separate Enterprise image.
- Red team probe volume estimated against the Community limit, including which plugins need promptfoo inference for generation and grading.
- Confirmation with promptfoo of Enterprise or On-Premise terms, since those are sold by quote and not covered by the MIT license.
How we build
- Installation of promptfoo on your machines or CI runners so evals run locally and connect directly to your models.
- Configuration of any self-hosted server with Docker, Docker Compose or Helm, using a database and deployment pattern that matches your sizing needs.
- License inventory of every dependency and component in your build so that third-party terms are reviewed alongside promptfoo's MIT terms.
How we hand over
- Written record of the license position, listing the MIT repository, any Enterprise components and the probe limit that applies to hosted red team inference.
- Runbooks for upgrades, including the Node.js version required by the current npm release and how to check release notes before updating.
- Handover session with your engineers and security team covering operation, evidence retention and the boundaries of what the license permits.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer, which can cover re-checking license terms when promptfoo changes.
- Quotes follow from the written scope. Ask for the probe volume, Enterprise components and retainer terms to be itemized.

