{"schemaVersion":1,"id":"cloudflare-workers","name":"Cloudflare Workers","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/cloudflare-workers/","officialUrl":"https://developers.cloudflare.com/workers/","isCatalog":false,"description":"Runs a JavaScript/TypeScript backend on Cloudflare's network: APIs, webhook processing, and website server logic. It needs no continuously running server of your own.","tasks":["Publish a small API or webhook","Add server-side logic to a web application"],"categoryIds":["backend","infrastructure"],"subcategoryIds":["backend.api","infrastructure.hosting"],"tags":["Serverless","JavaScript","TypeScript","Workers","Webhooks"],"aliases":[],"platforms":[],"stack":["TypeScript","JavaScript"],"compatibility":null,"pricing":"freemium","freeUsage":"Workers Free: 100 000 requests per day and 10 ms CPU per invocation for ordinary Workers.","paidUsage":"Paid expands CPU/quotas; KV, D1, storage, and other services have their own limits/billing.","license":"A cloud service under Cloudflare Terms; runtime/CLI and dependencies have separate licenses.","selectionGuide":{"purpose":"Publish a small API or webhook","chooseWhen":["Publish a small API or webhook","Add server-side logic to a web application"],"considerInstead":[],"requirements":[],"limitations":["Costs and limits of free use: Paid expands CPU/quotas; KV, D1, storage, and other services have their own limits/billing.","Terms of use: A cloud service under Cloudflare Terms; runtime/CLI and dependencies have separate licenses.","The Workers CPU quota differs from the Workers AI quota: AI includes 10 000 Neurons per day for free; exceeding the quota requires Workers Paid, and some models require a payment method for paid usage.","Static assets are free, but Workers Caching responses are billed as requests; CPU is charged only when the Worker runs."],"faq":[{"question":"What can you use for free in Cloudflare Workers?","answer":"Workers Free: 100 000 requests per day and 10 ms CPU per invocation for ordinary Workers."},{"question":"What additional costs might arise with Cloudflare Workers?","answer":"Paid expands CPU/quotas; KV, D1, storage, and other services have their own limits/billing."},{"question":"What terms of use matter for Cloudflare Workers?","answer":"A cloud service under Cloudflare Terms; runtime/CLI and dependencies have separate licenses."},{"question":"Which environment can you use Cloudflare Workers in?","answer":"Tech stack: TypeScript, JavaScript."},{"question":"How do you get started with Cloudflare Workers?","answer":"For the task “Publish a small API or webhook”: implement a minimal handler with input validation and an explicit response. Connect one real client and test a successful request and an error. Assess repeat calls, runtime limits, and load before expanding the API."},{"question":"What should you consider when choosing Cloudflare Workers?","answer":"The Workers runtime differs from a standard Node.js server process; check package compatibility."},{"question":"How do CPU, requests, and waiting time differ in Workers billing?","answer":"The table distinguishes incoming requests from CPU time: Free includes 100 000 requests per day and 10 ms of CPU per invocation. Execution time is not billed as duration; outgoing subrequests are not included in request billing. Use Wrangler or the dashboard to limit CPU per invocation."}],"related":[],"sources":["https://developers.cloudflare.com/workers/platform/pricing/","https://developers.cloudflare.com/workers/platform/limits/","https://developers.cloudflare.com/workers/","https://developers.cloudflare.com/workers-ai/platform/pricing/","https://developers.cloudflare.com/workers/runtime-apis/nodejs/"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["One endpoint or webhook: a sample request, data schema, and expected response.","Access rules, error handling, and an environment for server logic.","From the tech stack mentioned on this page, choose an option that suits your project: JavaScript, TypeScript; check version compatibility in the documentation."],"steps":["For the task “Publish a small API or webhook”: implement a minimal handler with input validation and an explicit response.","Connect one real client and test a successful request and an error.","Assess repeat calls, runtime limits, and load before expanding the API."],"checks":["Invalid requests do not break the handler; the response follows the contract.","Secrets stay on the server side; check quotas and package compatibility for the selected environment."],"goal":"Example workflow with Cloudflare Workers: Publish a small API or webhook."},"sources":["https://developers.cloudflare.com/workers/platform/pricing/","https://developers.cloudflare.com/workers/platform/limits/","https://developers.cloudflare.com/workers/","https://developers.cloudflare.com/workers-ai/platform/pricing/","https://developers.cloudflare.com/workers/runtime-apis/nodejs/"],"checkedAt":"2026-10-04","reviewScope":"The purpose and published terms have been reviewed against the cited primary sources. This page does not confirm that the product was run or tested in every environment.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"A serverless backend and web API hosting","kind":"tool","pricingNote":"Workers Free: 100 000 requests per day and 10 ms CPU per invocation for ordinary Workers. Paid expands CPU/quotas; KV, D1, storage, and other services have their own limits/billing.","notes":"Workers runtime differs from an ordinary Node.js server process; check package compatibility. Workers CPU quotas and Workers AI quotas differ: AI includes 10 000 free Neurons per day; usage above that quota requires Workers Paid, and some models require a payment method for paid usage.","labeledSources":[{"url":"https://developers.cloudflare.com/workers/platform/pricing/","label":"Plans and limits"},{"url":"https://developers.cloudflare.com/workers/platform/limits/","label":"Documentation"},{"url":"https://developers.cloudflare.com/workers/","label":"Documentation"},{"url":"https://developers.cloudflare.com/workers-ai/platform/pricing/","label":"Official terms and documentation"},{"url":"https://developers.cloudflare.com/workers/runtime-apis/nodejs/","label":"Official terms and documentation"}],"licenseGuides":[{"id":"proprietary","title":"Proprietary terms — the vendor determines your rights","scope":null,"summary":"Use of the software or service is governed by its Terms/EULA and the chosen plan. Free access does not automatically grant rights to modify and distribute source code, resell assets, or use outputs commercially. The specific product's terms define permitted use, export, and commercial rights.","url":null}],"entryIds":[],"composition":null}