Skip to content
Calcrivo

Edge Compute Cost Calculator

Cost an edge function platform on per-million requests plus CPU milliseconds, after the allowances your plan includes.

Inputs

million
ms

CPU time, not wall-clock time — waiting on a subrequest is usually not billed.

USD
USD
million
million
USD/month

Monthly Cost

$116.40

Request Charge

$72.00

CPU Time Charge

$39.40

CPU Share of the Bill

33.8%

Billable Requests

240.00million

CPU Time Consumed

2,000.00million ms

Effective Cost per Million Requests

$0.4656

Annual Cost

$1,396.80

Step by step

  1. Values used

    Requests per month = 250 million; CPU time per request = 8 ms; Price per million requests = 0.3000 USD; Price per million CPU-milliseconds = 0.0200 USD; Requests included in the plan = 10 million; CPU-milliseconds included = 30 million; Plan fee = 5 USD/month

  2. Edge Compute Cost

    cost = plan fee + max(0, requests − included) × request price + max(0, requests × CPU ms per request − included CPU ms) × CPU price.

  3. Monthly Cost

    = 116.40

  4. Request Charge

    = 72.00

  5. CPU Time Charge

    = 39.40

  6. CPU Share of the Bill

    = 33.8

  7. Billable Requests

    = 240.00 million

  8. CPU Time Consumed

    = 2,000.00 million ms

How it works

Edge platforms meter two independent things: how often your code is invoked and how much processor time each invocation burns. Both meters start only after the plan's included allowance is used up, so a low-volume function can be free while a CPU-heavy one is dominated by the millisecond charge rather than the request charge. Knowing which meter dominates tells you what to optimise — batching or caching cuts request count, while trimming JSON parsing and crypto work cuts CPU milliseconds. Rates and included allowances change with plan tiers, so confirm the current figures with the provider before you budget.

Formula

Edge Compute Cost

cost = plan fee + max(0, requests − included) × request price + max(0, requests × CPU ms per request − included CPU ms) × CPU price.

included allowance
Requests and CPU milliseconds the plan fee already covers
CPU ms per request
Billed processor time, excluding time spent awaiting subrequests
billable requests
Requests above the included allowance

Frequently Asked Questions

How is Edge Compute Cost calculated?

cost = plan fee + max(0, requests − included) × request price + max(0, requests × CPU ms per request − included CPU ms) × CPU price. Edge platforms meter two independent things: how often your code is invoked and how much processor time each invocation burns. Both meters start only after the plan's included allowance is used up, so a low-volume function can be free while a CPU-heavy one is dominated by the millisecond charge rather than the request charge.

Why does Edge Compute Cost matter?

Knowing which meter dominates tells you what to optimise — batching or caching cuts request count, while trimming JSON parsing and crypto work cuts CPU milliseconds. Rates and included allowances change with plan tiers, so confirm the current figures with the provider before you budget.

What values do I need to enter?

This calculator takes 7 inputs: Requests per month, CPU time per request, Price per million requests, Price per million CPU-milliseconds, Requests included in the plan, CPU-milliseconds included, Plan fee. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

You might also need