Is free plan really free ?
Hello ! It's the first time I'm going to lead a deployment, I never deployed anything that wasn't a hobby project. I want to try Cloudflare Pages for a SvelteKit app.
A friend of mine told me that SvelteKit is great with cloudflare pages because even though CloudFlare Pages is mainly used for static sites there's a feature called "function" that can be used for server requests. In sveltekit .js files can be renamed as .server.js to tell the framework that the code inside the file is meant to be ran in the server only.
I deployed the site and it works well, but I'm a bit confused about CloudFlare's plans. I thought that CloudFlare was able to offer a free hosting because it was a static site hosting (without server) but what about functions then ? Are they paid ? Am I going to be charged even though my account is set to the free tier ? I'm a student and I think I went ahead of myself by deploying without reading the pricings enough and now I fear to not being able to pay :/
5 Replies
Requests to Pages Functions are billed as regular Cloudflare Worker requests, so if you're on the Workers Free plan, then it will just go from that
More info can be found at https://developers.cloudflare.com/pages/functions/pricing/#free-plan
Cloudflare Docs
Pricing | Cloudflare Pages docs
Requests to your Functions are billed as Cloudflare Workers requests. Workers plans and pricing can be found in the Workers documentation.
Oh... Thanks a lot
I doubt my user base is enough to exceed the limits of the free plan. Just in case, when the limit is hit, the request aren't executed, or are they and I'll be charged ?
afaik they will just stop working, you will need to manually upgrade your plan from free to paid. no automatic charge