How much does AI-assisted testing cost, and what are you paying for?
Updated:
With AI-assisted testing, you are not paying only for access to a language model. The cost also includes scenario design, review of generated code, data preparation, execution infrastructure and, depending on the chosen solution, licences. A useful estimate therefore separates the one-off creation of the suite from its ongoing operation and maintenance.
What is the problem?
Proposals can differ significantly. One solution uses the model only when creating a test, while another uses it during every run, evaluation and repair. Without this distinction, a low initial price can conceal recurring model usage or a platform subscription.
Model costs are usually based on the provider’s price list and the volume of inputs and outputs processed. You also need to include the time of the person who defines expected results, reviews the draft and investigates failures. Open-source tools may reduce recurring licence costs, but operation, updates and support remain part of the total cost.
How we address it
We divide the price into components that can be estimated separately:
- Test creation and review: the number of scenarios, their complexity and the application’s readiness.
- Model usage: the selected model, the amount of context and the number of drafts or repairs.
- Operation: CI/CD, test environments, browsers, devices and retention of outputs.
- Maintenance: how frequently the product changes, the stability of test data and the time required to evaluate failures.
- Licences: only where the selected model, service or platform requires a paid plan.
If we use AI only for creation and assisted maintenance, the output can be standard Playwright code in your repository. This reduces dependence on a particular model because the approved tests run independently.
We explain the components of the underlying automation cost in How much does automated testing cost?. AI may shorten some activities, but it does not remove the need for a test strategy or expert review.
Creating a test versus executing it
When AI is used only for drafting, you pay for individual drafts and revisions. An approved conventional test can continue to run without the model. If an agent decides the next action during every run, or a model assesses failures, usage also grows with runs and steps. A service that proposes repairs needs checks to ensure it has not changed an expectation in a way that hides a product defect.
Name these modes separately in the proposal:
| Mode | What to track in the budget |
|---|---|
| Code drafting and assisted maintenance | Drafts, retries and review time |
| Model decisions during testing | Calls per step, session duration and stopping unsuccessful attempts |
| Result classification or repair proposals | Failures processed, evidence size and approval time |
This is a cost breakdown, not a particular platform’s price list. Equal scenario counts do not guarantee equal usage. Simple sign-in and a flow involving several roles, files and an external service may need different numbers of attempts.
What tokens mean in the cost calculation
A token is a unit of content processed by the model. It is not a fixed number of characters or words across languages and models. Input includes the supplied task and context, while output is the response. For example, the official Claude API pricing guide distinguishes input, output and cache operations. Check other models’ and platforms’ rules separately.
For text calls without caching or additional services, estimate the base as a sum: millions of input tokens × the applicable rate per million tokens, plus millions of output tokens × the applicable rate per million tokens. Add other billable items, currency and any taxes according to the proposal. A tool subscription does not automatically cover separate API usage.
Include all attempts in measurements, not only the accepted draft. Repeatedly sending a long log or an entire page tree supplies another volume of context. Estimate cache savings from recorded usage and provider conditions. Do not budget on the assumption that every call receives a discount.
Measure the cost of an accepted result
A comparison pilot needs the same scenarios, data and review requirements for the AI and non-AI options. Select a routine scenario and one likely to need more revisions. Record usage, human effort, rejection reasons and the approved test’s CI outcome. This is a proposed measurement, not a claim of achieved savings.
Generated test count alone is a weak criterion. The output must check the agreed expectation, recognise a controlled faulty state and remain maintainable. The model evaluation guide also connects measurable quality criteria with operational requirements. Assess a lower rate together with review time and the number of unusable drafts.
For a model involved in scheduled runs, set permissions, a per-run budget and a limit on repair attempts. Agree on what happens when the limit is exhausted or the service is unavailable. An AI helper failure must not be presented as success for the application under test.
Repeat the pilot when the model or workflow changes. Specify who monitors limits, who approves changes and how actual usage is reported in the proposal. Less unnecessary context and conventional test code can reduce cost if they preserve the required verification quality.
What to watch out for
Compare the total cost over the chosen period, not only the cost of creating the first test. Also check whether the model is used during every run, who owns the resulting code and whether the suite can operate without a particular platform.
What you gain
- A budget divided into creation, model usage, operation, maintenance and any licences.
- The option to use open-source components where they provide portability and reduce dependence on a supplier.
- A better basis for deciding whether the time saved during creation outweighs the new operating costs.
Next step
Choose one representative scenario and measure both model usage and the time required for review. A no-obligation consultation is available for an estimate based on your scope.
The Pricing page explains how we calculate prices for our other services.