promptfoo outbound connections and telemetry settings

Turn off promptfoo telemetry with PROMPTFOO_DISABLE_TELEMETRY, understand why the remote generation switch leaves telemetry, account checks and sharing running, and plan the egress your installation still needs.

On this page

How promptfoo telemetry settings change your egress plan

Promptfoo collects basic usage telemetry by default, and setting PROMPTFOO_DISABLE_TELEMETRY=1 turns it off. The remote generation switch, PROMPTFOO_DISABLE_REMOTE_GENERATION, does not cover telemetry, account or license checks, sharing or Cloud sync, so each of those is a separate outbound path that needs its own decision. A security or platform team approving a promptfoo server or CLI for a network with restricted egress should review each path one at a time, starting with the telemetry docs. Approving the tool without listing these paths leaves the change record incomplete for the network reviewers who will ask where the traffic goes.

Evals run on the machine where promptfoo starts and talk directly with the LLM, so the main egress you should expect is to model provider endpoints, including any self-hosted inference servers or AI gateways your configuration names. Put those destinations on the proxy allowlist first, and confirm each hostname against your provider agreements and your own config files before you accept any default. Teams need this page when a proxy rule, an allowlist change or an air-gapped review requires a written list of every destination before promptfoo can run. The list should also cover red team runs and any grader model, since those calls go to endpoints that your main eval suite may not reference directly.

Plan sharing and Cloud sync as separate paths, since the remote generation switch does not disable them, and confirm with promptfoo how each one is turned off in the version you approve. Set PROMPTFOO_DISABLE_TELEMETRY=1 in the environment or container definition that every CLI run and server process inherits, and record that setting in the approval file. Then run a controlled install behind an egress proxy or packet capture, and compare the observed destinations with your allowlist. Use the data handling page to explain to reviewers what leaves the network and what stays local, and repeat the capture after each upgrade, since outbound behavior can change between releases.

Which promptfoo telemetry, sharing and model paths leave your network

The diagram starts at the promptfoo CLI or self-hosted server, which sits inside your network boundary. Every outbound path leaves through one egress control point, which is the boundary to review and filter. Model and target calls go only to the endpoints you configure. Usage telemetry is on by default, and setting PROMPTFOO_DISABLE_TELEMETRY to 1 turns it off. The PROMPTFOO_DISABLE_REMOTE_GENERATION switch governs remote generation only. Account and license checks, sharing and Cloud sync stay on their own paths and keep running under that switch, so check each one separately in your own environment.

Outbound paths from promptfoo, with the telemetry and remote generation switches shown.

Outbound settings and when each one fits

This table compares the four outbound controls that matter for a self-hosted promptfoo install and shows what each one changes, what keeps running and where it fits. Read it as a set: the remote generation switch alone leaves telemetry, account or license checks, sharing and Cloud sync running. Confirm the full variable list and the exact scope of that switch in the data handling documentation for your version.

SettingWhat it changesWhat still runsWhen it fits
PROMPTFOO_DISABLE_TELEMETRY=1Turns off basic usage telemetry, which promptfoo collects by default.Evals, model provider calls, and any sharing or Cloud sync you have enabled.Any restricted network where you want basic usage telemetry off.
PROMPTFOO_DISABLE_REMOTE_GENERATIONSwitches off remote generation. Confirm the exact scope in the data handling docs for your version.Telemetry, account or license checks, sharing and Cloud sync.Teams that want the switch set as a standing policy. Add the telemetry and allowlist controls too.
Not using sharing or Cloud syncKeeps eval results in your local installation instead of uploading them.Local evals and provider calls. Telemetry still runs unless also disabled.Teams that must keep results inside their network and do not need shared dashboards.
Model provider endpoints you configureSends prompts and test inputs to each endpoint in your configuration.Every eval and red team run that calls those endpoints.Required for evals. Allowlist only the endpoints you configure, and confirm each one with its vendor or host.

Why the remote generation switch leaves telemetry and account checks running

Setting PROMPTFOO_DISABLE_REMOTE_GENERATION closes only one path. The remote generation switch is a separate control and does not disable telemetry, account or license checks, sharing or Cloud sync. promptfoo collects basic usage telemetry by default, so a team that sets only the remote generation switch still has telemetry running, along with license or account checks, sharing and Cloud sync. The network review should therefore treat the remote generation switch as one line item among several. Telemetry, account and license checks, sharing and Cloud sync each need their own entry. Start by assuming each one is on until a setting and an egress test show otherwise.

Give telemetry its own entry. Set PROMPTFOO_DISABLE_TELEMETRY=1 in the environment of every host that runs the CLI or the self-hosted server, including CI runners, and confirm the variable reached the running process. Give remote generation a separate entry with its own evidence. For account and license checks, sharing and Cloud sync, ask promptfoo which hosts each one contacts, decide whether each is allowed, and record who approved that decision. Then verify the outcome with an egress test from the machines that run promptfoo, since a setting only helps if the traffic actually stops.

Behavior can change between releases, so the review has to name a version. Read the data handling page and the release notes for the exact version you pin, whether you install the npm package or run a container image, and repeat the egress test before each upgrade. A new release can add a call, change a default or change which switch covers which feature, and none of that shows up in the setting names alone. Record the version number next to each decision in the network review, so a later upgrade triggers a fresh check of that row.

Disabling promptfoo telemetry and verifying the egress baseline

This sequence sets promptfoo's telemetry switch, decides how remote generation fits your policy, and records every endpoint the installation contacts. It ends with a captured test run that shows only destinations your security team has approved, which becomes the baseline you check after each upgrade or configuration change.

  1. Pin the promptfoo version and Node.js runtime

    Choose the promptfoo release you will run and install that exact version in every environment, so the egress baseline describes one build. The npm release 0.124.1, published on 8 October 2026, requires Node.js 22.22.0 or newer, so confirm the runtime on each host, container image or CI runner before installing. Record the version and runtime output in your change record. Done when promptfoo --version and node --version return the pinned release and a supported Node.js version on every host that runs the CLI or server.

  2. Set the telemetry variable in every runtime

    Set PROMPTFOO_DISABLE_TELEMETRY=1 in the environment where the CLI or server process starts. That means the shell profile, service unit, container definition, Helm values or CI job variables, depending on how you run it. Promptfoo collects basic usage telemetry by default, so the variable must be present on every host and container where promptfoo runs. The telemetry documentation describes the setting. Done when a process started from each environment shows the variable set to 1 and the baseline lists each runtime you checked.

  3. Decide remote generation with the security team

    Ask the security team whether PROMPTFOO_DISABLE_REMOTE_GENERATION fits your policy for where test generation happens, and record the decision with its reason and owner. Set the variable only if the decision is to restrict remote generation, and confirm its exact scope for your version in the data handling documentation. This variable does not disable telemetry, account or license checks, sharing or Cloud sync, so each of those still needs its own decision and egress rule. Done when the decision and the list of still-active outbound functions are written into the baseline.

  4. List every model and target endpoint

    Read each config file and list the model provider endpoints and target applications it calls. Include AI gateways, self-hosted inference servers, HTTP, WebSocket or Python targets, and any MCP servers under test. Add each host and port to an egress allowlist on your firewall or proxy, with a named owner for each entry. Check the list against the repository configs and the CI variables, since a provider can appear in a shared include or an environment file. Done when every configured provider and target maps to one allowlist entry and no config references a host missing from the list.

  5. Run a test eval under packet capture

    Run a small eval with telemetry disabled from the same host, container or runner that will run your production tests. Use a test config that calls only one allowlisted provider. While it runs, capture outbound connections with tooling you control, such as firewall or proxy logs, VPC flow logs, endpoint detection data or a packet capture on the host. Compare every destination, including hosts, ports and DNS lookups, with the allowlist. Done when the run completes and each captured destination matches an approved entry. Any unmatched destination is investigated and either explained or blocked before the baseline is accepted.

  6. Save the baseline and repeat on change

    Store the pinned promptfoo version, Node.js version, environment settings, remote generation decision, allowlist and capture results together as the egress baseline in your change record. Repeat the capture after each upgrade, provider change, new target or configuration change, and compare the new destinations with the saved list. Done when a second capture on the same host reproduces the baseline, or any differences have been reviewed and approved by the named baseline owner.

Egress your installation still needs after telemetry is off

Turning off telemetry removes one outbound flow, and several others stay open. The five paths below still need approval, and each has its own owner, risk and check. Review them alongside your firewall and proxy rules before the installation goes live.

Model provider and target endpoints

Evals call the LLM directly from the machine running the CLI, so each provider endpoint in your configuration needs an allowed path. Red team runs send attack prompts over the same routes, so provider and attack traffic share one approval. Ask your AI platform owner to approve each provider and its hostnames. Confirm the exact list by reviewing your configs, and check whether any provider uses regional or private endpoints that change your firewall rules.

Introduction docs

Package and image sources

Installing the CLI pulls the promptfoo package from npm, which requires Node.js 22.22.0 or newer on the host or build image. Self-hosting pulls the official server image from its container registry. Platform engineering should approve both sources and mirror them if your network blocks public registries. Confirm the Node.js version your build images carry, and pin the promptfoo version so the mirrored package and image stay in step.

npm package page

Account and license checks

The telemetry switch does not turn off account or license checks, so a running installation still contacts promptfoo for them. Ask security to approve those destinations as a separate line item from telemetry. Confirm with promptfoo which hostnames these checks contact, when they run, and how the installation behaves when they are blocked. Procurement should confirm which edition your team licenses before the review.

Telemetry docs

Sharing and Cloud sync

If your team shares eval results or uses Cloud sync, those uploads need an approved outbound path. Setting PROMPTFOO_DISABLE_REMOTE_GENERATION does not disable them, so that variable alone will not stop the traffic. The data owner should approve each destination, since shared results can include prompts, outputs and test cases. Confirm which destinations your team actually uses, and block the rest.

Data handling docs

Internal targets you test against

Red team and eval runs send traffic to the applications, gateways and HTTP, WebSocket or Python endpoints you configure as targets. Those paths stay inside your network, but the runner still needs a route and a firewall rule to each one. The application owner should approve which targets the runner may reach. Confirm that test traffic goes to a staging environment and that production targets are excluded, and that attack prompts and generated outputs follow your logging and retention policy.

Connected, proxied and air-gapped installs need different outbound plans

When the promptfoo server and CLI reach the internet directly, the work is deciding what leaves the network and what stays inside it. promptfoo collects basic usage telemetry by default, so start by reviewing the promptfoo telemetry documentation and deciding whether that default fits your policy. Document each decision in the same place you keep the deployment files, so reviewers can see which hosts were approved and why.

  • Block by default: deny outbound traffic from the promptfoo host except for destinations approved in writing, so any new connection appears as a finding.
  • Disable telemetry: set PROMPTFOO_DISABLE_TELEMETRY=1 in the environment for the server and every CLI job, then confirm the setting survives restarts and image updates.
  • Allow only the model endpoints you use: permit the provider APIs your evals call and any internal AI gateway, and nothing else for model traffic.
  • Treat the remote generation switch as partial: PROMPTFOO_DISABLE_REMOTE_GENERATION does not stop telemetry, account or license checks, sharing or Cloud sync, so each of those needs its own allow or deny decision.
  • Test with egress logging on: run a representative eval and a red team scan, then compare every observed destination with the allowlist.

Before go-live, ask promptfoo which hostnames each feature contacts, whether license checks fail closed when the host cannot reach them, and how often those checks run.

Limits to confirm before you approve outbound traffic

Outbound traffic from promptfoo depends on its version, its configuration and the features you turn on, so an approval based on one settings page can go stale. The five limits below are the points to confirm with promptfoo and your own network team before you open egress. Each one changes what you can claim about the deployment.

Get the outbound host list

Do not treat any host list here as complete. A full list of destinations is not something to assume from this page, so ask promptfoo for the list that matches the exact version you run. Request the destinations used by the CLI, the server and the web UI, including those for telemetry, sharing, account and license checks. Then compare that list with egress logs from a trial run before you write firewall rules.

Re-check telemetry on upgrade

Telemetry and switch behavior can change between releases. The variable that turns off basic usage telemetry, PROMPTFOO_DISABLE_TELEMETRY, and the remote generation switch may behave differently after an upgrade, so a setting you verified on one version is not proof for the next. Pin the image or package version in your deployment, record the outbound behavior you tested, and repeat the check whenever you change the version. Watch the release notes on GitHub for changes to network behavior.

GitHub releases

Network changes hit one process

The self-hosted server runs as a single instance on SQLite. The promptfoo documentation does not recommend this setup for production, so treat it as a pilot unless you have accepted that risk in writing. A proxy setting or environment variable you add applies only to that one process, so verify the outbound path again after any restart or replacement of the container. Record which host runs the server and who can edit its environment.

Self-hosting docs

Sharing and Cloud sync scope

Disabling remote generation does not stop sharing or Cloud sync. PROMPTFOO_DISABLE_REMOTE_GENERATION leaves telemetry, account and license checks, sharing and Cloud sync in place. Which of those reach outside your network depends on how you configure the CLI and server, including whether results are uploaded with promptfoo share or eval --share. Decide for each team which destination is allowed, then set the configuration to match before any sensitive prompt or evaluation data runs.

Data handling docs

On-Premise for full isolation

Choose On-Premise when a vendor-supported deployment must have complete data isolation. promptfoo's pricing page describes On-Premise as the Enterprise functionality running on your own infrastructure, with complete data isolation and a dedicated deployment engineer. Treat that as the vendor's description and confirm the outbound list, update path and support terms in writing before you rely on it. Community and self-hosted open-source setups still need the limits above checked.

Pricing page

Questions buyers ask before outside help on outbound settings

Does turning off telemetry stop all outbound traffic?

No. Setting PROMPTFOO_DISABLE_TELEMETRY=1 turns off basic usage telemetry, which is on by default, but it does not stop every outbound connection. Disabling remote generation through PROMPTFOO_DISABLE_REMOTE_GENERATION does not turn off telemetry, account or license checks, sharing or Cloud sync, so those need their own review. Evals also send requests directly to the model endpoints you configure, so those destinations stay on your egress list whatever the switches say. Treat the remote generation discussion on this page as the starting point, then confirm the full list of destinations against the vendor documentation and a traffic capture from a test environment. The telemetry documentation describes the telemetry switch in detail.

How much effort does an egress review take for promptfoo?

Effort depends on four drivers: the number of environments, egress proxies, model endpoints and teams that run promptfoo. A single test server that calls one hosted model is a small review. Each additional environment with its own network path, each proxy and each model provider adds destinations to map, justify and test. Teams that run evals from their own CI runners or workstations add more sources of traffic to record. If your network team already keeps firewall and proxy logs, the capture phase is shorter. Ask for the effort to be sized from a written list of these drivers. Any cost figure should follow the agreed scope, so compare quotes by checking that they describe the same environments and destinations.

What does our team need to provide for this work?

Your team provides the information that shows where promptfoo's traffic can go, plus a place to test it. The core inputs are network diagrams for the segments where promptfoo runs, the egress policy that governs those segments, and the list of model endpoints that evals and red team scans will call. You also need the approved promptfoo versions and the package or image sources your change process allows, since destinations can change between releases. A test environment that mirrors production egress rules is essential for verification, so the switches can be tried without touching live evals. Your team should also name an owner who can approve firewall or proxy changes during the work. Confirm each item in writing at the start so the scope and the effort match.

Can our internal team set up these outbound settings alone?

Yes, a capable internal team can set the switches alone, because the configuration itself is short. Setting PROMPTFOO_DISABLE_TELEMETRY, reviewing remote generation settings and blocking the destinations you choose are routine changes for a platform team. The harder parts sit around them. Building allowlist evidence means showing, with captured traffic and documented reasons, which destinations are needed and why. Retesting after each promptfoo upgrade is easy to skip, and new releases may add or change calls. Teams that keep this work in-house need a standing test routine and an owner for the change log. DeployOpen can plan and implement these settings, document the allowlist and retest after upgrades under a retainer, or your team can own the work end to end.

How is an outbound settings engagement scoped?

Engagements are fixed-scope. Deliverables and timelines are agreed in writing before work starts, and the quote follows from that written scope. The scope usually starts with the environments, proxies, model endpoints and teams in your review, then sets the deliverables, such as the switch configuration, the allowlist document, the traffic evidence and the retest plan. It also states what your team provides and whether any upgrade or retest work moves to a retainer. Ask that the scope list what is excluded, especially destinations owned by your network team or by model providers. Because DeployOpen does not publish a price list, the written scope is the basis for comparing options. Check that each quote lists the same deliverables, environments and responsibilities before comparing totals.

Does this configuration make our promptfoo deployment compliant?

No. Applying these settings does not make your promptfoo deployment compliant with any framework. DeployOpen prepares systems, controls and evidence for compliance assessments, such as documented egress rules, configuration records and test results. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform the assessment and decide what the evidence shows. Narrower outbound traffic can support an assessment of data handling, but whether it satisfies a particular control depends on the assessor and your own program. Ask your auditor which evidence they expect before the work starts, so the deliverables match what they will review.

How DeployOpen scopes an outbound review for promptfoo

DeployOpen starts by listing every outbound path in your promptfoo installation, then agrees in writing which ones stay open, which get disabled and which need egress rules. Telemetry, remote generation, account and license checks, sharing and Cloud sync are reviewed as separate controls, so your security and network teams can check each decision before any change is made.

How we scope

  • The written scope lists each outbound destination to review, including telemetry, account checks and sharing.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Confirm which promptfoo features you use, such as the CLI, self-hosted server or CI runs.

How we build

  • Set PROMPTFOO_DISABLE_TELEMETRY=1 in the runtime environment and verify it in the deployed container or process.
  • Treat PROMPTFOO_DISABLE_REMOTE_GENERATION as a separate control, because it does not turn off telemetry, sharing or Cloud sync.
  • Document the allowed egress list per environment, with owners and the reason each destination is needed.

How we hand over

  • Deliver a written inventory of outbound connections, the settings applied and the evidence of each change.
  • Walk the security and platform teams through the configuration so they can review it independently.
  • Hand over runbook steps for checking these settings after upgrades, container restarts and configuration changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so egress settings can be rechecked after upgrades.
  • Confirm the full outbound endpoint list for your installed version before writing firewall rules.
  • Ask for a quote based on the written scope, which sets the deliverables and what recurs after handover.

Sources and further reading

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.