Sizing promptfoo red team scans and probe limits

Estimate how many probes a promptfoo red team scan sends, check it against the Community monthly allowance and the target's rate limits, and decide when to split one scan into several.

On this page

How to size a promptfoo red team scan before you run it

A promptfoo red team scan size comes from three things: the numTests value for each plugin, the strategies that expand those seeds into attack attempts, and the number of targets the scan runs against. Before you start, estimate the seeds per plugin, multiply by the strategies you plan to apply, and multiply again by each target. That total is the number of probes the scan will send, and it is the figure to check against your allowance. The Community edition is free and includes red teaming with 10k probes per month, with community support, so a team on that tier should compare its estimate with that monthly figure before the first run.

The topic's researched fact is that numTests has no fixed upper bound. Each test is a seed, and strategies such as jailbreak:hydra and jailbreak:meta expand each seed into many attack attempts. This means a modest number of seeds can still give broad coverage, and a large seed count is not the only way to widen a scan. It also means that adding a multi-attempt strategy can multiply the probe count far faster than adding a few seeds, so the strategy list deserves as much review as the plugin list. Confirm the expansion behavior of each strategy you select against the current promptfoo red teaming documentation, because the number of attempts per seed is not fixed across strategies.

Run a small pilot before committing to a full scope. Set numTests low on a few plugins, add one strategy at a time, and record how many probes the run reports against your expectation. Then confirm your monthly allowance, the rate limits of the target endpoint and the time your team can wait for results. If the estimate exceeds the allowance or the target cannot take the request volume, split the scan into separate runs by plugin group or by target rather than shrinking coverage without a decision. Ask your promptfoo contact, or check the promptfoo red teaming documentation, how probes are counted when a single run uses several targets.

How seeds, strategies and targets multiply into probes

The diagram starts with plugins producing seeds, set by numTests for each plugin. Strategies such as jailbreak:hydra and jailbreak:meta expand each seed into many attack attempts, and each attempt becomes a request to the target endpoint. Before the run, check the monthly probe allowance on the Community edition and the rate limits your target can absorb. If the projected count is too high, split the scan into separate runs by plugin or strategy group.

Seeds multiply through strategies into target requests, with two checks before the run.

Which settings drive probe count and runtime

The numTests value sets how many seed test cases each plugin generates. It has no fixed upper bound, and each seed is then expanded by any strategies you attach, so a small number of seeds can still produce broad coverage. Raising numTests on one plugin raises the probe count for every strategy that runs against that plugin, which makes it the first lever to review when a scan grows larger than planned.

To estimate its effect, count the seeds per plugin, then apply the strategy expansion for each one. Multi-turn strategies such as jailbreak:hydra and jailbreak:meta generate many attack attempts from one seed, so their cost per seed is much higher than a single-shot encoding.

  • Seed count: multiply numTests by the number of plugins that use it.
  • Strategy expansion: check how each strategy expands a seed in the strategies documentation for your installed version.
  • Per-plugin overrides: confirm whether any plugin sets its own numTests that differs from the global value.
  • Multi-turn cost: expect conversational strategies to add the most requests per seed.
  • Generated count: read the total the scan reports before the first run.

Confirm the final numTests values in your configuration file and compare the generated count with your target's request budget before starting.

Scan size settings and when each fits

This table compares the settings that change how many probes a promptfoo red team scan sends and how long it runs. Read each row as a lever: the effect column shows what grows with it, and the fit column shows when it is worth the extra probes. Start with a small number of seeds per plugin and add strategies only where the first results justify them.

SettingWhat it changesEffect on probe count and runtimeWhen it fits
numTests per pluginSets how many seed test cases each plugin generatesScales probes roughly with the seed count multiplied by active strategies; no fixed upper bound is documentedStart small for a first scan, then raise seeds for plugins that matter most to your purpose
Individual strategy selectionChooses which delivery strategies wrap each seedEach added strategy multiplies the attack variants per seed, so probe count grows quicklyAdd strategies one at a time so you can attribute any new findings to a specific technique
Multi-turn strategies (Hydra, GOAT, Crescendo)Run conversational attacks that adapt across several turnsEach attack runs as a sequence of turns, so runtime and target calls grow beyond the probe count aloneUse for chat applications where multi-turn behavior is the real risk; confirm session handling with the target first
Encoding strategies (for example Base64 or leetspeak)Rewrite payloads in encoded or obfuscated formsAdds variants per seed with low generation cost but full target calls for each variantUseful when input filters or guardrails may only match plain text; keep them out of first runs
Language settingsGenerates or translates probes into a chosen languageEach language adds a separate set of seeds and variants, multiplying the scanUse when the application serves those languages and grading quality in each language has been checked
One large scanRuns all plugins and strategies in a single configuration and reportOne long run with a single target rate budget; failures are harder to isolate and rerunSuits a baseline run at a fixed point in time when you want one consolidated report
Several focused scansSplits plugins or strategies into separate runs by risk areaEach run is shorter and easier to rerun after fixes, with probe totals that add up across runsSuits ongoing testing, separate owners per risk area, or targets with strict rate limits
Community probe limitCaps red team probes per month on the free editionTotal probes across all scans count against the monthly allowance, so planning per month mattersConfirm current limits on the pricing page before planning recurring scans

Set up a scan size you can predict and defend

This sequence turns a written red team purpose into a scan size you can estimate before the run, check against the Community allowance and the target's limits, and record so the next run is comparable.

  1. Confirm the Node.js version for the installed release

    The engineer running the scan checks the promptfoo release they plan to use and confirms the Node.js runtime meets its requirement. The pillar facts state that npm release 0.124.1, published on 8 October 2026, requires Node.js 22.22.0 or newer, so pin that version or confirm the requirement for the release you install. Check passes when promptfoo --version runs on the scan host and node --version reports a runtime at or above the stated minimum. Record both values in the scan notes so a later rerun uses the same tooling.

  2. Set numTests per plugin from the written purpose

    The security lead and the application owner choose the plugin set and a numTests value for each plugin, using the written purpose as the reference for what matters. Keep the first list short and tie every plugin to a risk the purpose names. Because each test is a seed that strategies such as jailbreak:hydra and jailbreak:meta expand into many attack attempts, a small number of seeds still gives broad coverage, so start low and add seeds only where a plugin needs more depth. Check passes when every plugin in the config has an explicit numTests value and a one-line reason in the config comment or the scan notes.

  3. Add strategies and estimate the multiplier

    The engineer adds the strategies the purpose justifies and notes which ones expand each seed into multiple attack attempts. Multi-turn and meta strategies usually produce the largest expansion, so list them separately from single-turn encodings. Write the expected multiplier beside each strategy as a range you verify in the pilot, not as a fixed figure. Check passes when the scan notes list each strategy with its expansion behavior and a line stating which strategies need hosted inference, so the data-flow review can be done before the run.

  4. Run a small pilot scan

    Run a reduced scan with a few plugins, low numTests and one or two strategies against the target, using the same config that the full scan will use. The point is to measure real expansion, not to find every issue. Check passes when the pilot completes without configuration errors and the report opens, with the output saved under a named run ID. If remote generation fails, use the troubleshooting guidance in the linked remote generation documentation before changing the scan size.

  5. Read the generated probe count in the report

    The engineer reads the probe count the report shows for the pilot and compares it with the estimate from the previous step. The gap between the estimate and the measured count shows which plugin or strategy drives the total. Adjust numTests or drop a strategy for the next dry run, and repeat until the measured count matches what you expected within a margin the team agrees on. Check passes when the team can point to the plugin and strategy behind each major block of probes and the measured count is recorded next to the estimate.

  6. Compare the count with the Community monthly allowance

    The engineer compares the projected full-scan probe count with the Community allowance, which the pricing page lists as 10k probes per month for red teaming. Account for every scan that will run in the same month, including reruns, CI jobs and other team members using the same account. The Community edition is free and includes red teaming at that allowance, so the decision is whether the planned schedule fits or whether the team needs to reduce scope or move to a paid tier. Ask the vendor to confirm current allowance terms before relying on them. Check passes when a monthly budget table lists the planned scans and their projected probe totals against the allowance.

  7. Check target rate limits with a test call

    Before the full run, the engineer sends a small number of test calls to the target endpoint at the request rate the scan will use, and watches for throttling, error codes and latency growth. Confirm the target's documented rate limits for the model platform or application gateway, and set concurrency and delay values in the config to stay under them. Check passes when the test calls return consistent responses with no rate-limit errors at the planned rate and the chosen concurrency and delay settings are written into the config.

  8. Fix the scan size and record it

    The team locks the final plugin list, numTests values, strategies, measured probe count, monthly allowance usage and rate settings, and saves them with the config version. Any later change, such as a new plugin or a model upgrade, starts a new record instead of editing the old one. Check passes when the record names the run ID, the config file version, the measured probe count and the rate settings, and a second engineer can reproduce the same scan size from that record alone.

How target rate limits and retries change the run

A scan's probe count sets how much work promptfoo sends, but the target's throughput decides how long that work takes and whether it succeeds. Rate limits, retries, concurrency and timeouts act together, so tune them as one set before you split or enlarge a scan.

Provider and gateway rate limits

Model providers and AI gateways cap requests and tokens per minute, often per key or per project. Each probe, multi-turn attempt and grading call may count against those caps, so a scan that fits your probe budget can still hit throttling. Ask your model provider or gateway team for the limits that apply to the exact key promptfoo will use, including any shared limits with production traffic.

Retry behavior on errors

When the target returns rate-limit or server errors, retries decide whether a probe is re-sent or recorded as a failed attempt. Retries that fire too quickly can extend throttling, while none at all can leave gaps in coverage that look like passing results. Check how your configuration handles retries, then confirm in a small run that errors are reported separately from genuine pass or fail outcomes.

Concurrency settings

Concurrency controls how many probes are in flight at once. Higher values shorten wall-clock time but raise the chance of throttling and of timeouts on slow targets, while lower values protect the target at the cost of a longer run. Start with a modest level against a non-production endpoint, watch error rates, and raise it only when the target stays within its limits.

Timeouts on multi-turn strategies

Multi-turn strategies send several requests per attack, so one slow reply can stretch an attack that spans many turns. A timeout that is shorter than your application's real response time will register false failures, and one that is too long will hold concurrency slots. Measure typical latency per turn on your target, then set timeouts with headroom for slower responses under load.

Cost on the target side

Every probe is a paid request on the target's model, and multi-turn attacks multiply the tokens sent per attack. Costs land on your budget, not on promptfoo's Community limit, so a scan size approved on paper can cost more than expected in practice. Ask finance or the platform owner for the budget that covers red team traffic, and note which keys and cost centers the scan uses.

Session state across split runs

When you split a scan into batches, stateful targets may lose the conversation or session context that a multi-turn attack depends on. A later batch can then test a fresh session and report results that do not match the original attack. Decide whether the target manages sessions itself or needs cookies or session IDs carried between runs, and confirm with a short test that a split batch reproduces an attack from a single run.

When to split a scan and how to keep results comparable

Split a promptfoo red team scan when one of four signals appears: the probe count for a run would exceed your monthly allowance (for the Community edition, 10k probes per month, according to the promptfoo pricing page), a single run would not finish inside the time limit of your CI job, one plugin family needs a different grader or a different target, or a security reviewer needs to see results in stages rather than as one report. Before splitting, estimate the probe count from the numTests values, strategy multipliers and number of targets, and confirm the result against the usage shown in your account. Each split run also consumes the same allowance, so splitting does not reduce probe spend; it changes when and where the spend happens.

Split runs only stay comparable if the inputs that produce the attacks and the grades stay fixed. Keep the same purpose text in every config, because the purpose drives attack generation and grading. Keep the same plugin and strategy definitions, the same numTests per plugin, and the same grader model and grader guidance. Where a seed or test set is reused, record it, since promptfoo's generated tests are seeds that strategies expand into many attempts, so changing a seed changes the attack population. Store each run's configuration file in version control, tag it with the target version and date, and note any deliberate change. Without that record, a shift in attack success rate could come from a changed grader rather than from the application.

Compare risk scores and trends only between runs that share a configuration fingerprint, and treat a split as a set of runs that you report together. When a plugin family moves to a different grader or target, record that as a known break in the trend so that reviewers do not read the change as a regression or an improvement. Ask your promptfoo contact or confirm in the documentation how scores from separate runs are aggregated before you publish a combined figure, since the aggregation method determines whether the combined number means anything. Agree with the security owner in advance which run is the baseline for each split.

Security and operational risks of large scans

Large promptfoo red team scans create risks beyond their runtime: they consume allowances, send volumes of attack prompts to real systems, and expose credentials and spend. The cards below cover the failure modes to check before you raise numTests or add strategies, with a pilot run and a staging target as the common mitigations.

Exhausting the monthly allowance

The Community edition includes red teaming with 10k probes per month. A scan that multiplies seeds by strategies can use a large share of that budget in one run, leaving no room for a retest after a fix. Before a full run, estimate the probe count from your plugin list, numTests and strategies, compare it with the remaining allowance for the month, and schedule large scans early in the cycle so a failed or repeated run still fits.

Promptfoo pricing

Attack volume reaching production

Every probe is a real request to the target. If the target is a production chatbot or agent, a large scan sends thousands of jailbreak and injection prompts through live customer traffic, can trip fraud or abuse controls, and fills production logs with adversarial content that downstream analytics may pick up. Point scans at a staging or pre-production endpoint with the same configuration, and confirm with the application owner that alerting and rate limits are expected to fire during testing.

API keys in scan configuration

Scan configs often hold provider keys for the target, for the redteam provider and for grading. Committed configs, shared CI logs and exported reports can all leak them. Keep keys in environment variables or your secrets manager, reference them by name in the config, and confirm that report exports and CI artifacts do not echo request headers. Rotate any key that appeared in a config file or log.

Promptfoo red teaming docs

Unexpected cost on paid target calls

Each probe usually triggers a paid model call on the target, and grading may add calls on a separate model. A scan with many seeds and multi-turn strategies can multiply token spend well beyond a single eval. Estimate calls per probe for your target, set a spending limit with the provider, and run a small pilot to measure actual cost per probe before scaling. Ask the provider about rate limits and quota alerts so a runaway scan stops early.

Incomplete runs that look like passes

A scan that stops on rate limits, timeouts or exhausted quota can produce a report with fewer results than planned. If nobody checks the probe count, a partial run can read as a clean pass for the plugins that never ran. Compare the executed probe count against the planned count, check for errors in the run log, and treat any shortfall as an open item. Retest the missing plugins before reporting coverage.

Questions teams ask about promptfoo scan size and cost

How many probes does a typical promptfoo red team scan send?

It depends on three things: how many plugins you enable, the numTests value set for each plugin, and which strategies you apply on top. Each plugin's numTests sets the number of seed tests it generates, and strategies then expand those seeds into attack attempts, so the total is not simply plugins multiplied by numTests. Multi-turn strategies such as jailbreak:hydra and jailbreak:meta can expand a single seed into many attempts, and a small seed count can still produce broad coverage. To measure a scan before running it, generate the test cases in a dry run, count them per plugin and strategy, and multiply by the number of target calls each attempt makes. Ask your team to record that count in the scan plan so the probe budget is agreed in writing before any traffic reaches the target.

Does the promptfoo Community edition cover our probe volume?

The free Community edition includes red teaming with 10k probes per month, along with all LLM evaluation features, model providers and integrations, and community support. Compare your planned probe count from a dry run against that monthly allowance, remembering that repeated scans, CI runs and retests all draw from the same pool. If your volume exceeds the allowance, or you need team sharing, SSO, role-based access, continuous monitoring or priority support with SLAs, promptfoo Enterprise is offered at custom pricing and is quoted from your requirements. promptfoo On-Premise runs the Enterprise functionality inside your own infrastructure and includes a dedicated deployment engineer, and it is also quoted individually. Confirm the current allowance and terms on the pricing page before you commit, because they can change.

How long does a promptfoo red team scan take?

Scan duration is driven mainly by how fast your target responds and by the rate limits you set or the provider enforces. Every probe is a request to your application, and multi-turn strategies make several sequential requests per attempt, so latency multiplies quickly across thousands of probes. Grading and any hosted generation steps add further calls, which also have their own limits. To estimate a run, measure the median and tail response time of your endpoint under realistic load, then compare the total request count from your dry run against the concurrency and rate limits you can safely apply. Confirm with the owner of the target whether it can handle the extra load and whether a staging environment is available, since a production scan can affect real users.

Can our own team size and run promptfoo scans without a partner?

Yes, a small pilot against one endpoint with a short plugin list is a reasonable first step for an internal team, provided someone owns the purpose, the probe budget and the review of findings. The effort grows with the number of plugins, the strategies used, the number of targets and how often scans repeat. The main drivers are writing an accurate purpose, choosing plugins and numTests values, setting rate limits that protect the target, deciding where grading runs and reviewing borderline results. Teams that need repeatable scans in CI, separate environments, retention of results and evidence for an assessment usually spend more time on configuration and operations than on the first run. Ask your team to estimate those tasks in hours before deciding whether to build the capability in house.

What does DeployOpen need from us to size a scan?

DeployOpen needs three inputs in writing before work starts: access to the target endpoint in a environment you approve, a written purpose that describes the application, its users, data and tools, and an approved probe budget that sets the maximum number of probes and the rate limits the target can take. Access usually includes a test account or session setup, documented rate limits, and a named contact who can stop a run. With those inputs, the scope, deliverables and timeline are agreed in a fixed-scope written plan, and a quote follows from that scope. DeployOpen does not publish a price list. Ask us to confirm which of these inputs your environment already provides so that gaps are visible early.

How should we decide when to split a scan into several runs?

Split a scan when the planned probe count would exceed your agreed budget, when different plugins need different target settings, or when results must be reviewed in stages. Other reasons include keeping a run within a time window that the target owner approves, separating categories with different grading needs, and keeping a fixed baseline suite separate from exploratory attacks. Each split run must still stay inside the overall monthly allowance if you use the Community edition. Keep the same plugin set, numTests values and purpose across repeated runs so that results stay comparable over time. Record the probe count and the run window for each split so reviewers can reconstruct what was tested.

What a sizing review covers in a DeployOpen engagement

A sizing review starts with a written scope agreed before any work begins. The scope names the target the scan will reach, the plugin and strategy set under consideration, the probe budget the client is prepared to spend, the rate limits the target and any hosted services can tolerate, and the plan for splitting the run into smaller scans if one pass is too large. Each of these is set in the configuration file, so the scope reads as a list of settings and decisions rather than a general intention to test. Before the review, the client should confirm which promptfoo edition and plan applies, since the Community edition includes red teaming with 10k probes per month, and whether the scan will use hosted generation and grading or stay on local models.

The review then produces two outputs the client can run and keep. The first is a working configuration, including the redteam block, per-plugin numTests values, the strategies chosen, and the request concurrency and delay settings that match the target's limits. The second is a documented estimate of how many probes each scan sends, showing the arithmetic from seeds and strategy multipliers to the monthly total, along with the rate limit assumptions behind it. Your own team should receive both, with notes on which values to re-check after a model, prompt or plugin change. The estimate is a planning figure, so the review also records the measurements taken on a small trial run that confirm or correct it.

DeployOpen does not publish a price list. A quote follows from the written scope, so the factors that move the price are the number of targets, the size and breadth of the plugin and strategy set, how many scan cycles are planned, and whether the client wants ongoing retesting support after the first review. Ask for the quote to list each of these items separately, along with what the client must provide, such as access to a non-production endpoint, API keys held by the client, and a named contact who can approve probe volume. Ask also what is delivered at the end and whether a follow-up check is included when the target changes.

How DeployOpen scopes and supports promptfoo red team sizing

DeployOpen approaches probe sizing as a written scope decision: the team agrees the plugins, strategies, target rate limits and the probe budget before any scan runs. The work is planned against your own infrastructure and the Community or Enterprise limits that apply to your account.

How we scope

  • Confirm which promptfoo plugins, collections and strategies the red team will use, and which of them multiply the number of probes.
  • Record the numTests value per plugin and the expected strategy multipliers, so the probe count is calculated before the first run.
  • Agree the target endpoint's rate limits and concurrency ceiling, and whether the scan must be split into batches within the written scope.

How we build

  • Create the promptfoo configuration with explicit numTests, strategy settings and batch boundaries that match the agreed probe budget.
  • Run a small pilot scan against the target to measure real request volume, latency and error rates before scaling to the full suite.
  • Test retry and backoff behavior against the target's rate limits, and confirm that split scans produce results that can be combined.

How we hand over

  • Deliver the configuration files, a probe count worksheet and the split plan, with each assumption about numTests and multipliers written down.
  • Document how to recalculate probe volume when plugins, strategies or numTests change, and which values to confirm with promptfoo's current documentation.
  • Provide a short runbook covering scan timing, rate limit settings and the steps to resume a split scan after a failure.

How we support

  • Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer when scan sizes need to be revisited after changes.
  • Ask any partner for a quote based on the written scope, including who pays for model usage on the grading and generation side.

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.