Skip to content

Commit

Permalink
Update Cloudflare Workers pricing (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonter authored Oct 30, 2024
1 parent d20ff2b commit 9ae29fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/CostCalculator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -269,7 +269,7 @@ const cfShow = ref(false);
<a
href="https://developers.cloudflare.com/workers/platform/pricing"
>
0.50 / million
0.30 / million
</a>
</td>
<td></td>
Expand Down
2 changes: 1 addition & 1 deletion deploy/cloudflare.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ae29fa

Please sign in to comment.