From 9ae29fa193079793588c17b5b7f0083264728b26 Mon Sep 17 00:00:00 2001 From: Vivek <25414711+Vonter@users.noreply.github.com> Date: Thu, 31 Oct 2024 02:43:00 +0530 Subject: [PATCH] Update Cloudflare Workers pricing (#84) --- components/CostCalculator.vue | 4 ++-- deploy/cloudflare.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/CostCalculator.vue b/components/CostCalculator.vue index b251b03..73aee3c 100644 --- a/components/CostCalculator.vue +++ b/components/CostCalculator.vue @@ -40,7 +40,7 @@ const hostedCost = computed(() => { const cf = computed(() => { const obj = { - workerInvocationCost: (tileRequests.value / 1000 / 1000) * 0.5, + workerInvocationCost: (tileRequests.value / 1000 / 1000) * 0.3, planCost: 5, storageRequestCost: (tileRequests.value / 1000 / 1000) * (1 - cacheHitRate.value) * 0.36, @@ -269,7 +269,7 @@ const cfShow = ref(false); - 0.50 / million + 0.30 / million diff --git a/deploy/cloudflare.md b/deploy/cloudflare.md index 733d6b9..496029d 100644 --- a/deploy/cloudflare.md +++ b/deploy/cloudflare.md @@ -94,7 +94,7 @@ Optional environment variables can be set set in `[vars]` of `wrangler.toml` or ## Cost Estimate -* Cloudflare Workers is [$5 USD per month](https://developers.cloudflare.com/workers/platform/pricing) with 10 million requests a month included, plus $0.50 per additional million. +* Cloudflare Workers is [$5 USD per month](https://developers.cloudflare.com/workers/platform/pricing) with 10 million requests a month included, plus $0.30 per additional million. * [Cloudflare R2](https://blog.cloudflare.com/introducing-r2-object-storage/) incurs costs for storage, write requests and read requests. These will only happen on tile cache misses. See the [Cost Calculator](./cost) for estimates based on usage. ## Cache Invalidation