Skip to content

What short browser and agent test runs should cost

Browser and agent test fleets sit quiet, then start hundreds of short runs at once. How minute rounding, minimums and idle machines inflate that bill.

Harshraj

9 min read

Is per-second billing cheaper than per-minute billing for short tests?#

Test traffic from AI QA agents and browser suites is bursty: nothing for hours, then hundreds of three-minute runs at once after a deploy or on a nightly schedule. Billing rules outweigh the rate. Rounding each run up to the minute, charging a minimum per run, keeping machines idle for the peak, or paying while a finished run lingers can each multiply the bill. Per-second billing for only the time each run is live, a price before the suite starts and a hard cap on the run keep the cost close to the work done.

What bursty test traffic looks like#

Picture a team that tests a web app with AI agents driving a real browser. Each run starts a clean environment, loads the app, lets the agent click through a flow and records the result. A run takes two to five minutes.

The runs do not arrive evenly. A merge to main kicks off 300 of them. The nightly regression suite starts 1,500 at 02:00. A release candidate gets the full matrix of browsers and user roles, maybe 800 more. Between those bursts, almost nothing runs.

So the fleet looks like a row of spikes: 500 environments at once for twenty minutes, and an average across the week of about three. Pricing that assumes steady use charges this team for the gaps.

Four ways short runs get overbilled#

Rounding each run up to the minute#

Per-minute billing rounds every partial minute up. A run of 2 minutes 10 seconds is billed as 3 minutes. Spread over thousands of runs, the extra averages about half a minute per run. That is roughly 17% more than the work you used, on a three-minute run.

A minimum charge per run#

Some platforms bill each environment for at least a few minutes, or at least an hour. A five-minute minimum on a three-minute run adds 67%. An hourly minimum turns the same run into twenty times its cost. Minimums were designed for long-lived servers, and they punish short runs hardest.

Idle machines kept for the peak#

Running your own fleet moves the cost into idle machines. To serve 500 runs at once without a queue, you keep enough machines for 500, or you build and run the logic that adds and removes machines in time for each burst. The first option bills the gaps. The second option bills your engineers.

Paying while a run waits#

Agent runs spend much of their time waiting on a model. A short wait inside a three-minute run is simply part of the run's time. Longer waits are where money leaks: a run parked for a human review or a slow approval, an environment left running after its test finished, a sandbox kept alive overnight for someone to inspect. Those minutes have no test in them. Auto-pause on idle fixes that, and on Promigence it is opt-in: a sandbox pauses itself once it has sat idle and wakes on the next request, and paused time is not billed.

A worked example at list rates#

These numbers are an example, chosen to be easy to check. They are not any customer's workload.

Say the team runs 10,000 test runs a week. Each run lasts 3 minutes and uses a small Promigence sandbox, 2 vCPU and 4 GiB of memory. Pick the size your app and browser need; this one keeps the sums simple. Promigence lists usage at $0.0504 per vCPU-hour and $0.0162 per GiB-hour, metered per second.

The hourly price of one small sandbox:

  • CPU: 2 × $0.0504 = $0.1008 an hour
  • Memory: 4 × $0.0162 = $0.0648 an hour
  • Together: $0.1656 an hour, or $0.000046 a second

One run of 3 minutes is 180 seconds, which is 0.05 of an hour:

  • $0.1656 × 0.05 = $0.00828 a run

Ten thousand of them:

  • 10,000 × $0.00828 = $82.80 a week
  • In sandbox-hours, 10,000 × 0.05 = 500 hours of work a week

Now the same 500 hours of work under the billing rules above, at the same hourly rate:

Billing ruleWhat gets billedWeekly costAgainst per second
Per second, only while each run is live10,000 × 3 min$82.801.0×
Per minute, runs that average 3 min but end mid-minute10,000 × 3.5 min on average$96.601.17×
Five-minute minimum per run10,000 × 5 min$138.001.67×
One-hour minimum per run10,000 × 60 min$1,656.0020×
50 environments kept running all week for the peak50 × 168 h$1,391.0416.8×
100 environments kept running all week for the peak100 × 168 h$2,782.0833.6×

The arithmetic behind the rows: 10,000 × 3.5 ÷ 60 × $0.1656 = $96.60. Then 10,000 × 5 ÷ 60 × $0.1656 = $138.00. The hourly minimum is 10,000 × $0.1656 = $1,656.00. The always-on rows are 168 hours a week × $0.1656 = $27.8208 per environment, times 50 or 100.

The always-on rows still leave the team short. One hundred environments cannot serve a burst of 500, so the nightly suite queues behind itself, while the fleet bills every hour of the week.

If the app and browser need more memory, the medium size (4 vCPU and 16 GiB) lists at $0.4608 an hour: 4 × $0.0504 + 16 × $0.0162. The same 10,000 three-minute runs then cost 10,000 × 0.05 × $0.4608 = $230.40 a week. The ratios in the table stay the same.

Model tokens are billed by your model provider, separately. For browser-heavy runs, compute can be as large a line as the model bill, so paying only for the seconds a run is live matters.

How a quote and a hard cap stop a runaway suite#

Per-second billing fixes the rounding. It does nothing about a bug.

Suppose a deploy breaks the login page and every agent run hangs on it until its timeout. With a 30-minute timeout, a burst of 1,000 runs that should cost 1,000 × 0.05 × $0.1656 = $8.28 costs 1,000 × 0.5 × $0.1656 = $82.80. Ten times the expected spend. Hang the nightly suite every night for a week and the surprise grows with it.

Two controls bound that. The first is a timeout that fits the test. A three-minute flow does not need 30 minutes; 10 minutes gives it room for a slow model. The second is a price you see before anything starts.

On Promigence, promigence run quote prices a run before any sandbox starts, as if every sandbox ran for its whole timeout. A quote is a ceiling. Take 1,000 runs at 10 minutes each: the worst case is 1,000 × (10 ÷ 60) × $0.1656 = $27.60. --cap then sets a hard spend limit for the run. A run quoted over the cap is refused before anything starts, and a sandbox that reaches the cap while running is paused with its files kept, so you can look at what went wrong. Paused time is not billed.

That changes what a broken deploy costs. The worst case is a number you saw and agreed to before the suite ran. An owner can also set a monthly ceiling for a whole project, so a schedule that misfires every night still stops at a known figure.

Failures you should not pay for#

Some runs fail because the environment never came up. That run tested nothing. A run like that should not cost the same as one that tested something.

Every Promigence run reports environment failures apart from task failures, sandbox by sandbox. A sandbox that fails on Promigence's side before it reaches you is not billed. After hand-over, when Promigence's side shows a failure was its own, the work since the last snapshot (or since the start), up to 24 hours, is credited back. The meter runs from the moment an environment is handed to you until it ends, so start-up you never received is not on the bill.

For a QA team, that split also keeps test reports honest. A run that never reached the app says nothing about the app. Counting it as a failed test sends someone to chase a bug that is not there.

Making bursts fast as well as cheap#

Cost is half of it. A nightly suite that finishes at 06:00 instead of 02:30 costs you too.

Build the environment once as a snapshot, with the app, the browser and the agent installed, and a verify command that has to pass before the snapshot is stored. Every run then starts from a copy of that snapshot instead of installing anything. Measured by Promigence, two hundred sandboxes requested at once were all served at a 177 ms median with no retries, and through the CLI a sandbox is ready for its first command in 207 ms at p50.

Plan the width too. A new account runs 20 sandboxes at once, and support raises that limit on request. Ask before the first big burst, with your peak figure in hand.

A checklist for bursty test fleets#

Before you pick where the runs go, get written answers to five questions. Is billing per second, with no minimum per environment? Does anything bill while no run is live? Can you see the most a suite can cost before it starts? Will a hard cap stop spend mid-run? Are environment failures billed?

Then run one real burst at your normal width and divide the bill by the number of runs that produced a usable result. That figure, the cost per useful run, is the one to compare.

FAQ#

Is per-second billing cheaper than per-minute billing for short tests?#

Yes, for runs of a few minutes. Per-minute billing rounds each partial minute up, which adds about half a minute per run on average. Three-minute runs come out roughly 17% higher. The longer the run, the smaller the difference.

How much does it cost to run 10,000 end-to-end tests a week in the cloud?#

It depends on run length and size. As a worked example at list rates on Promigence, 10,000 runs of 3 minutes each on a 2 vCPU, 4 GiB sandbox come to $82.80 a week, billed per second. Model tokens are extra and billed by your model provider.

Is it cheaper to keep test machines running between runs?#

Only if the gaps are short. A burst-shaped workload leaves machines idle most of the week, and in the example above keeping 100 environments running all week costs $2,782.08 against $82.80 for the work itself. Starting a fresh environment per run from a prepared snapshot avoids paying for the gaps.

How do I stop a broken test suite from running up a huge cloud bill?#

Set a timeout that fits the test, price the run before it starts and set a hard spend cap. In the Promigence CLI, promigence run quote shows the most a run can cost, and --cap refuses a run quoted over your limit and pauses any sandbox that reaches it.

Do I pay for test environments that fail to start?#

On Promigence, no. A sandbox that fails on Promigence's side before it reaches you is not billed, and the run's report counts environment failures apart from task failures.

Try Promigence#

Promigence bills sandboxes per second at $0.0504 per vCPU-hour and $0.0162 per GiB-hour, with a quote and a hard cap on every run and free credit to start. Request access, then follow the quickstart to build a snapshot, quote a run and read its report. The pricing page has the rates.

Sources#

SourceWhat it supportsRead
Promigence pricing$0.0504 per vCPU-hour and $0.0162 per GiB-hour, billed per second24 Nov 2026
Promigence: Quickstartthe quote before a run and the hard spend cap24 Nov 2026
Promigence: Errors and exit codesenvironment failures before hand-over not billed; work credited back up to 24 hours24 Nov 2026
Promigence FAQpausing on idle; paused time not billed24 Nov 2026
Promigence: Limits and notices20 sandboxes at once for a new account, raising a limit24 Nov 2026
Promigence for agent builders207 ms end to end through the CLI; 200 at once, all served, at a 177 ms median28 Nov 2026

More in the Promigence blog, or follow it by RSS.

Request access

Leave your work email and we will email you an invite code. $10 free, no card. $40 more when you add one.

See our Privacy Policy for how we use your email.

Request access

Leave your work email and we will email you an invite code. $10 free, no card. $40 more when you add one.

See our Privacy Policy for how we use your email.