Cost an edge function platform on per-million requests plus CPU milliseconds, after the allowances your plan includes.
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.
Edge Compute Cost
cost = plan fee + max(0, requests − included) × request price + max(0, requests × CPU ms per request − included CPU ms) × CPU price.
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.
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.
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.