AI pentesting guides / Free, open-source and AI pentesting

Budgeting a pentest

Penetration testing cost: what drives the price and how to budget

Penetration testing cost is driven mainly by tester time, which is set by the size and complexity of the scope, the depth of testing required, and what the report has to satisfy. Two quotes for 'a web app pentest' can differ several times over because they describe different amounts of work, so compare scope and days, not just totals.

We do not quote market averages here, because published figures vary widely and are rarely comparable. Instead, this page explains the cost drivers, so you can read quotes critically, and shows how automated and managed options change the economics.

The main cost drivers

  • Scope size: number of applications, API endpoints, user roles, hosts and IP ranges.
  • Complexity: multi-tenant systems, complex workflows, many user roles and integrations take longer.
  • Depth and access: black-box testing from outside is different from authenticated grey-box or white-box testing with source code.
  • Tester seniority and specialism: niche targets need rarer skills.
  • Reporting requirements: compliance-oriented reports, executive summaries and attestation letters add time.
  • Retests: confirming fixes may be included or billed separately.
  • Scheduling: short notice or out-of-hours testing windows often cost more.

How to read a pentest quote

Look for the number of tester days, what is in and out of scope, whether testing is authenticated, whether a retest is included, and what the report contains. A quote that is much cheaper than others may be an automated scan with a pentest label. A quote that is much more expensive may include work you do not need, or depth you do. Ask each bidder to explain their day estimate.

Ways to reduce cost without reducing value

  • Fix the easy issues first with your own scanning, so paid time goes on harder problems.
  • Prepare: working test accounts for every role, API documentation and a stable staging environment save tester hours.
  • Scope tightly to what has changed or matters most to customers.
  • Use automation for continuous breadth and buy human time for depth.

Hidden costs to include

The quote is not the whole bill. Internal time to prepare environments and accounts, to answer tester questions during the engagement, to triage the report and to fix issues usually exceeds the tester's own hours on a first test. Retests after fixes, re-issued reports for customers, and any downtime caused by testing in the wrong window all add up. Factor these in when comparing a one-off test with a continuous or self-run option, because the latter shifts some of these costs rather than removing them.

Self-hosted and AI-driven cost structures

Running an open-source autonomous pentester changes the cost from tester days to your own time, hardware and model usage. With a local model the model cost is zero; with a cloud model it depends on the provider and the length of the run, which is why a hard per-run spend cap matters. Managed AI pentesting sits between the two: a predictable subscription for continuous testing, with human review.

With Pentest-Swarm

What Pentest-Swarm and Armur cost

Armur's pricing is public, and the open-source engine is free.

  • Open source: free under AGPL-3.0. Run with Ollama or LM Studio for zero API cost, or a cloud model with --budget <usd> as a hard per-run spend cap.
  • Managed 'Offensive AI': $3,600 a year, with continuous scheduled pentests, human-reviewed reports, a hosted dashboard and retests after fixes.
  • 'Adaptive defence' tier: $4,500 a year. Details at /pricing.
  • Compliance-ready reporting for SOC 2, ISO 27001, PCI DSS and HIPAA on the managed platform.

Where it falls short

Armur's managed service is not a certified pentest firm, and its report alone does not make you compliant. If a contract or regulator requires testing by a specific accredited body, or you need deep human testing of complex business logic, budget for a traditional engagement as well. Pentest-Swarm covers web applications and APIs; mobile, wireless, physical and social engineering tests are priced and delivered elsewhere.

Questions

Why do pentest quotes vary so much?

They usually describe different amounts of work: different scope, depth, tester seniority and reporting. Compare tester days and scope, not just the total.

Is a cheap pentest worth it?

Only if it is actually a pentest. Check that testing is authenticated, findings are exploited and proven, and a named person reviewed the results.

How can AI reduce pentest costs?

By covering breadth continuously at low marginal cost, so paid human time goes on depth and judgement rather than repetitive checks.