---
title: "Cost per 1,000 runs calculator"
description: "The cost of 1,000 runs is 1,000 times the run's billed seconds times the hourly price, divided by 3,600, plus what setup time and retries add. The table prices one size at six providers' published rates, and the grids give each part separately and show how to fix a ceiling before the runs start."
url: "https://www.aisandboxpricing.com/entries/cost-per-1000-runs-calculator/"
site: "AISandboxPricing.com"
author: "AISandboxPricing editors"
published: "2026-11-26"
updated: "2026-11-26"
---

# Cost per 1,000 runs calculator

AISandboxPricing editors. Published 2026-11-26, updated 2026-11-26.

The cost of 1,000 runs is 1,000 times the run's billed seconds times the hourly price, divided by 3,600, plus what setup time and retries add. The table prices one size at six providers' published rates, and the grids give each part separately and show how to fix a ceiling before the runs start.

Data as of 2026-11-26. The same rows: https://www.aisandboxpricing.com/data/cost-per-1000-runs-calculator.csv (CSV), https://www.aisandboxpricing.com/data/cost-per-1000-runs-calculator.json (JSON).

Table: One 2 vCPU, 4 GiB environment and 1,000 example runs at six providers' published list rates
| Provider | Published by | CPU and memory rates as published | Metering as published | What the last two columns assume | 2 vCPU and 4 GiB for an hour (USD) | 1,000 runs of the worked example (USD) | Source | Checked |
|---|---|---|---|---|---:|---:|---|---|
| Promigence | Promigence, FAQ page | $0.0504 per vCPU-hour and $0.0162 per GiB-hour | Per second | 2 vCPU and 4 GiB held for each run's seconds | 0.1656 | 5.31 | [www.promigence.ai/faq](https://www.promigence.ai/faq) | 2026-11-26 |
| Daytona | Daytona, pricing page | $0.0504/h per vCPU and $0.0162/h per GiB | All billing calculated per second | 2 vCPU and 4 GiB held for each run's seconds | 0.1656 | 5.31 | [www.daytona.io/pricing](https://www.daytona.io/pricing) | 2026-11-26 |
| E2B | E2B, pricing page | $0.000014/s per vCPU and $0.0000045/s per GiB | Per second of a running sandbox | 2 vCPU and 4 GiB held for each run's seconds | 0.1656 | 5.31 | [e2b.dev/pricing](https://e2b.dev/pricing) | 2026-11-26 |
| Google Cloud (Agent Platform sandboxes) | Google Cloud, Gemini Enterprise Agent Platform pricing | $0.085/vCPU-h and $0.009/GiB-h | On allocated vCPU and memory, rounded to the nearest second | 2 vCPU and 4 GiB held for each run's seconds | 0.2060 | 6.61 | [cloud.google.com/products/gemini-enterprise-agent-platform/pricing](https://cloud.google.com/products/gemini-enterprise-agent-platform/pricing) | 2026-11-26 |
| AWS (AgentCore Code Interpreter and Browser) | AWS, Amazon Bedrock AgentCore pricing | $0.0895 per vCPU-hour and $0.00945 per GB-hour | Per second on actual CPU use and peak memory, 1-second minimum | 2 vCPU in use and 4 GiB at peak for each run's seconds | 0.2196 | 7.05 | [aws.amazon.com/bedrock/agentcore/pricing](https://aws.amazon.com/bedrock/agentcore/pricing/) | 2026-11-26 |
| Modal (Sandboxes) | Modal, pricing page | $0.00003942 / core / sec, a physical core being 2 vCPU, and $0.00000667 / GiB / sec | Per second at non-preemptible rates, on the higher of request and use | 1 core (2 vCPU) and 4 GiB requested for each run's seconds | 0.2380 | 7.63 | [modal.com/pricing](https://modal.com/pricing) | 2026-11-26 |

Table: Cost of 1,000 runs of a 2 vCPU, 4 GiB environment at the Promigence row's rates, by run length and runs counted (Cost, USD)
| Run length (s) / Runs | 1,000 | 5,000 | 10,000 | 50,000 |
|---|---:|---:|---:|---:|
| 10 | 0.46 | 2.30 | 4.60 | 23.00 |
| 30 | 1.38 | 6.90 | 13.80 | 69.00 |
| 60 | 2.76 | 13.80 | 27.60 | 138.00 |
| 90 | 4.14 | 20.70 | 41.40 | 207.00 |
| 120 | 5.52 | 27.60 | 55.20 | 276.00 |
| 300 | 13.80 | 69.00 | 138.00 | 690.00 |
| 600 | 27.60 | 138.00 | 276.00 | 1,380.00 |
| 1,800 | 82.80 | 414.00 | 828.00 | 4,140.00 |

Formula: `runs * seconds * hourly / sec_per_hour`, where hourly = 0.1656 USD (Promigence, 2 vCPU and 4 GiB for an hour); sec\_per\_hour = 3,600.

Table: Cost of 1,000 runs of 2 vCPU and 4 GiB at every row's hourly price: 0.1656 USD (Promigence, Daytona, E2B), 0.206 (Google Cloud), 0.2196 (AWS) and 0.238 (Modal) (Cost of 1,000 runs, USD)
| Run length (s) / Hourly price (USD) | 0.1656 | 0.206 | 0.2196 | 0.238 |
|---|---:|---:|---:|---:|
| 10 | 0.46 | 0.57 | 0.61 | 0.66 |
| 30 | 1.38 | 1.72 | 1.83 | 1.98 |
| 60 | 2.76 | 3.43 | 3.66 | 3.97 |
| 90 | 4.14 | 5.15 | 5.49 | 5.95 |
| 120 | 5.52 | 6.87 | 7.32 | 7.93 |
| 300 | 13.80 | 17.17 | 18.30 | 19.83 |
| 600 | 27.60 | 34.33 | 36.60 | 39.67 |
| 1,800 | 82.80 | 103.00 | 109.80 | 119.00 |

Formula: `runs * seconds * hourly / sec_per_hour`, where runs = 1,000; sec\_per\_hour = 3,600.

Table: Cost of 1,000 runs by run length and size, where the columns are the hourly prices of 2 vCPU with 4 GiB, 4 with 8, 4 with 16 and 8 with 32 at the Promigence row's rates (Cost of 1,000 runs, USD)
| Run length (s) / Hourly price (USD) | 0.1656 | 0.3312 | 0.4608 | 0.9216 |
|---|---:|---:|---:|---:|
| 10 | 0.46 | 0.92 | 1.28 | 2.56 |
| 30 | 1.38 | 2.76 | 3.84 | 7.68 |
| 60 | 2.76 | 5.52 | 7.68 | 15.36 |
| 90 | 4.14 | 8.28 | 11.52 | 23.04 |
| 120 | 5.52 | 11.04 | 15.36 | 30.72 |
| 300 | 13.80 | 27.60 | 38.40 | 76.80 |
| 600 | 27.60 | 55.20 | 76.80 | 153.60 |
| 1,800 | 82.80 | 165.60 | 230.40 | 460.80 |

Formula: `runs * seconds * hourly / sec_per_hour`, where runs = 1,000; sec\_per\_hour = 3,600.

Table: What setup time adds per 1,000 runs (installs, seeding, uploads, teardown), at the four sizes above and the Promigence row's rates (Added per 1,000 runs, USD)
| Setup per run (s) / Hourly price (USD) | 0.1656 | 0.3312 | 0.4608 | 0.9216 |
|---|---:|---:|---:|---:|
| 5 | 0.23 | 0.46 | 0.64 | 1.28 |
| 10 | 0.46 | 0.92 | 1.28 | 2.56 |
| 20 | 0.92 | 1.84 | 2.56 | 5.12 |
| 30 | 1.38 | 2.76 | 3.84 | 7.68 |
| 60 | 2.76 | 5.52 | 7.68 | 15.36 |
| 120 | 5.52 | 11.04 | 15.36 | 30.72 |

Formula: `runs * setup * hourly / sec_per_hour`, where runs = 1,000; sec\_per\_hour = 3,600.

Table: Cost of 1,000 runs once retried runs are paid for again (Cost with retries, USD)
| Cost of 1,000 runs, no retries (USD) / Runs retried (%) | 0 | 2 | 5 | 10 | 20 | 30 |
|---|---:|---:|---:|---:|---:|---:|
| 1 | 1.00 | 1.02 | 1.05 | 1.10 | 1.20 | 1.30 |
| 2 | 2.00 | 2.04 | 2.10 | 2.20 | 2.40 | 2.60 |
| 5 | 5.00 | 5.10 | 5.25 | 5.50 | 6.00 | 6.50 |
| 10 | 10.00 | 10.20 | 10.50 | 11.00 | 12.00 | 13.00 |
| 20 | 20.00 | 20.40 | 21.00 | 22.00 | 24.00 | 26.00 |
| 50 | 50.00 | 51.00 | 52.50 | 55.00 | 60.00 | 65.00 |
| 100 | 100.00 | 102.00 | 105.00 | 110.00 | 120.00 | 130.00 |

Formula: `base * (1 + retried / 100)`.

## Method

Rates were read on each row's checked date from its source, published by the company in Published by; the hourly and 1,000-run columns are this site's arithmetic from the unrounded rates (90 s runs, 20 s setup, 5% retried); rows run from the lowest hourly price; the grids use the Promigence row.

## How is the cost of 1,000 runs worked out?

The cost of 1,000 runs is worked out in three parts: the runs themselves, the setup around each run, and the runs paid for twice because they were retried.

```
runs part    = 1000 x run seconds   x hourly price / 3600
setup part   = 1000 x setup seconds x hourly price / 3600
total        = (runs part + setup part) x (1 + retried share)
```

The 3,600 is the seconds in an hour (NIST, read 2026-11-26). Each grid gives one part, so you can see which one is worth reducing.

The grids are pre-filled with the per-second list rates Promigence publishes, 0.0504 USD for a vCPU-hour and 0.0162 USD for a GiB-hour (read 2026-11-26), so a 2 vCPU, 4 GiB environment is 0.1656 USD an hour. The table gives the same size at five other providers' published rates, read the same day, its rows running from the lowest hourly price: 0.1656 USD an hour at Daytona's and E2B's, 0.206 at Google Cloud's Agent Platform rates, 0.2196 at AWS AgentCore's with the CPU in use throughout, and 0.238 at Modal's with 1 core and 4 GiB requested; the second grid prices 1,000 runs at each. With other rates, scale the columns or redo the sums.

## What does a worked example look like?

A worked example at Promigence's rates, the table's first row: runs of 90 seconds in a 2 vCPU, 4 GiB environment, each with 20 seconds of setup, and 5 percent of runs retried (setup and retry share are example inputs).

Table: Worked example of the cost of 1,000 runs, at the Promigence row's rates

| Part | Sum | Result |
|---|---|---|
| Runs, 90 s each | 1000 x 90 x 0.1656 / 3600 | 4.14 USD |
| Setup, 20 s each | 1000 x 20 x 0.1656 / 3600 | 0.92 USD |
| Subtotal | 4.14 + 0.92 | 5.06 USD |
| 5% of runs retried | 5.06 x 1.05 | 5.31 USD |

In this example, setup adds 22 percent and retries 5 percent on top of the runs themselves. A team running 50,000 such runs a month would pay about 265.65 USD (50 x 5.313). At the table's other rows, the same 1,000 runs come to 5.31 USD at Daytona's and E2B's rates, 6.61 USD at Google Cloud's, 7.05 USD at AWS's and 7.63 USD at Modal's, under the assumptions in the table.

## How do I fix a ceiling before 1,000 runs start?

Fix a ceiling by pricing every run at the longest it is allowed to last, then refusing to start if that total is over your budget.

1. **With Promigence's quote and cap.** `promigence run quote` prices a run "as if every sandbox ran for its whole timeout", and `--cap` sets a hard spend cap under which a run quoted over it is refused before anything starts, according to its FAQ, which also gives an episode "15 minutes by default". Its quickstart shows the arithmetic: 20 small sandboxes (2 vCPU, 4 GiB) for up to 15 minutes each quote at a maximum of $0.83, which is 20 x 0.1656 x 0.25 hours rounded to the cent. Its limits page adds that a sandbox reaching the cap mid-run is paused with its files and state kept, and paused time is not billed. All three pages were read 2026-11-26.
2. **With the other named providers' controls.** E2B lets you set spending limits on the Limits page of its console, and a sandbox's timeout defaults to 5 minutes ([E2B billing and limits](https://e2b.dev/docs/billing), [E2B sandbox lifetime](https://e2b.dev/docs/faq/sandbox-lifetime)). Modal lets you set a Workspace budget to limit monthly spend, and a timeout on each Sandbox ([Modal pricing](https://modal.com/pricing), [Modal Sandboxes](https://modal.com/docs/guide/sandboxes)). Daytona offers a wall-clock TTL, a hard upper bound on how long a sandbox may exist, and shows each sandbox's total price in its Spending view ([Daytona sandboxes](https://www.daytona.io/docs/en/sandboxes), [Daytona billing](https://www.daytona.io/docs/en/billing)). Google Cloud's alerts-only budgets do not cap spending, while spend cap budgets can be set on a project where the service supports them ([Cloud Billing budgets](https://docs.cloud.google.com/billing/docs/how-to/budgets)). AWS Budgets cost budgets alert when costs approach or exceed a threshold ([AWS Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html)). All read 2026-11-26. These bound or watch a sandbox's time or an account's spend; for the ceiling of one batch, use the arithmetic in the next item.
3. **By hand, with any provider.** Multiply the number of runs by the hourly price and by the time limit you enforce on each run. For 1,000 runs with a 2-minute limit at the rates above, that is 1000 x 0.1656 x 120 / 3600 = 5.52 USD. The ceiling only holds if every run really is stopped at its limit, so enforce the limit in your harness, for example with `timeout`, and set a spending alert at the provider.

## Where does setup time come from?

Setup time is everything the environment is paid for that is not the run itself: starting the environment, installing dependencies, downloading browsers, seeding data, uploading results and shutting down. Measure it as the environment's total life minus the time your runner reports for the run.

Setup is often the cheapest part to cut. The fourth grid shows what each setup length costs per 1,000 runs at each size.

How much of the setup is billed depends on the price list. On Promigence, starting a sandbox adds no billed seconds: its FAQ says nothing accrues before an environment is handed to you, and its quickstart bills a snapshot build per second "for the time it runs, at most an hour, so a small build costs at most $0.17" (read 2026-11-26). Its RL environments page adds that "the copies started from a stored snapshot pay no further build charge" (read 2026-11-26). For the other named providers, the table's metering column gives what each one bills.

## How do retries change the cost?

Retries raise the cost by the share of runs that are attempted again, because each attempt is paid in full. With Playwright Test, `--retries` sets the "Maximum retry count for flaky tests, zero for no retries", and the default is no retries (Playwright, "Command line", read 2026-11-26). Its report marks tests as "flaky" when they "failed on the first run, but passed when retried" (Playwright, "Retries", read 2026-11-26), which gives you the count to put in the last grid.

If the retried part is a single test rather than the whole run, scale the share down to match: a retry of one test out of 400 costs far less than rerunning the suite.

A retry the provider makes for its own reasons is billed by its terms, not yours. On Promigence, the errors page marks an attempt "superseded by a successful retry" as unbilled (read 2026-11-26). It also says an environment failure is "retried once before hand-over" and is not billed until the sandbox reaches you, so those first attempts stay out of the retried share in the last grid.

## Which part should I reduce first?

Reduce whichever part is largest in your own numbers. As a rule of the arithmetic:

1. **Short runs** (under a minute or two): setup is usually the biggest lever, then any minimum charge. See [minimum charges on short runs](https://www.aisandboxpricing.com/entries/minimum-charges-on-short-runs/).
2. **Long runs:** the hourly price and the run's own length matter most. A smaller environment, if the run does not slow down, cuts every part at once.
3. **Unstable suites:** fixing the tests that are retried most saves both money and time.

## What we read for this page

- [https://www.promigence.ai/faq](https://www.promigence.ai/faq), read 2026-11-26
- [https://www.promigence.ai/docs/quickstart](https://www.promigence.ai/docs/quickstart), read 2026-11-26
- [https://www.promigence.ai/docs/limits](https://www.promigence.ai/docs/limits), read 2026-11-26
- [https://www.promigence.ai/docs/errors](https://www.promigence.ai/docs/errors), read 2026-11-26
- [https://www.promigence.ai/for/rl-environments](https://www.promigence.ai/for/rl-environments), read 2026-11-26
- [AWS: Amazon Bedrock AgentCore pricing](https://aws.amazon.com/bedrock/agentcore/pricing/) and [AWS Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html), read 2026-11-26
- [Daytona: Pricing](https://www.daytona.io/pricing), [Sandboxes](https://www.daytona.io/docs/en/sandboxes) and [Billing](https://www.daytona.io/docs/en/billing), read 2026-11-26
- [E2B: Pricing](https://e2b.dev/pricing), [Billing and limits](https://e2b.dev/docs/billing) and [How long does a sandbox live?](https://e2b.dev/docs/faq/sandbox-lifetime), read 2026-11-26
- [Google Cloud: Gemini Enterprise Agent Platform pricing](https://cloud.google.com/products/gemini-enterprise-agent-platform/pricing) and [Cloud Billing budgets](https://docs.cloud.google.com/billing/docs/how-to/budgets), read 2026-11-26
- [Modal: Pricing](https://modal.com/pricing) and [Sandboxes guide](https://modal.com/docs/guide/sandboxes), read 2026-11-26
- [NIST, Units outside the SI](https://physics.nist.gov/cuu/Units/outside.html), read 2026-11-26
- [Playwright, Command line](https://playwright.dev/docs/test-cli), read 2026-11-26
- [Playwright, Retries](https://playwright.dev/docs/test-retries), read 2026-11-26

## FAQ

### How do I calculate the cost of 1,000 runs?

Multiply 1,000 by the run's billed seconds and by the environment's hourly price, then divide by 3,600. Add the same sum for setup seconds, then raise the total by the share of runs that are retried.

### Why price per 1,000 runs instead of per run?

The cost of one run is often a fraction of a cent, which is hard to compare or budget. Per 1,000 runs, differences in setup time, retries and rates become visible numbers.

### Can I know the cost of a batch of runs before it starts?

You can work out a ceiling: the number of runs times the hourly price times the longest a run may last. Promigence prints that ceiling with promigence run quote and refuses a run whose quote is over the --cap you set. Of the other named providers, E2B lets you set spending limits in its console, Modal a Workspace budget, Google Cloud spend cap budgets where a service supports them, and AWS Budgets alerts when costs approach or pass a threshold.

### How do I count retries?

Count every attempt your test runner or harness makes, not just the final result. A run that fails once and passes on the second attempt is two paid runs.
