Edge Scripting offers a straightforward, transparent, and affordable pricing model that is easy to understand and predictable, ensuring that you can budget effectively without any surprises. Our pricing consists of two main components: CPU Time and Requests. Below, we explain each component and how they are billed.

Pricing Components

Bunny Scripting pricing is based on two components:

  1. CPU Time: CPU Time refers to the actual time the CPU spends processing your script code. This measurement excludes any waiting time for input/output operations, such as fetch requests. CPU Time is measured in milliseconds (ms) and billed in increments of 1 million milliseconds (1000s).
  2. Requests: This component tracks the number of requests that your script executes. Requests are billed in increments of one million requests.
CPU TimeRequests
$0.02 / 1000s CPU time$0.20 / million requests

Increments are applied based on the total usage across all scripts, rather than for each individual script.

📘

Note

Please note that normal charges for CDN bandwidth are billed separately and are not included in the CPU Time or Requests charges.

Example pricing scenarios

To give you a better idea of how our pricing might translate into actual costs, consider the following examples:

Example 1: Moderate usage

A script that handles 10 million requests per month, with each request consuming an average of 10 milliseconds of CPU time, would have the following estimated costs:

Monthly costCalculation
CPU Time$2.000.01s CPU time per request * 10,000,000 requests / 1000s * $0.02
Requests$2.0010,000,000 requests / 1,000,000 * $0.20

Total Monthly Cost: $4.00

Example 2: High usage

A script that handles 100 million requests per month, with each request consuming an average of 7 milliseconds of CPU time, would have the following estimated costs:

Monthly costCalculation
CPU Time$14.000.007s CPU time per request * 100,000,000 requests / 1000s * $0.02
Requests$20.00100,000,000 requests / 1,000,000 * $0.20

Total Monthly Cost: $34.00

These examples provide a clear view of how charges are computed based on the actual usage of CPU Time and number of requests. This pricing structure is designed to scale with the size and needs of your operations, ensuring that you only pay for what you use.