Best free & open-source Cloudflare Workers alternative
1 free serverless code execution app to use instead of Cloudflare Workers by Cloudflare
The best free alternative to Cloudflare Workers is Rivet. Runs stateful actors, background jobs and AI agents, close to Workers' Durable Objects, and can be self-hosted instead of being tied to Cloudflare.
Quick pick: For stateful, long-running workloads and AI agents on infrastructure you control: Rivet.
Reviewed November 2026 against each vendor's official website.
Quick comparison: 1 Cloudflare Workers alternative
Open source: anyone can use, study and modify it, including businesses. Free: no cost, but the code is closed. Freemium: a lasting free plan with paid tiers for extra features. Source available: code is public but the license adds conditions.
Official ways to use Cloudflare Workers for free
Workers Free plan costs nothing, with a daily request limit.
Free plans and trial lengths are set by the vendor and can change. Check the official website before signing up.
What is the best free alternative to Cloudflare Workers?
The most popular picks are Rivet. For stateful, long-running workloads and AI agents on infrastructure you control: Rivet.
Is there an open-source alternative to Cloudflare Workers?
Yes. Rivet (Apache-2.0) is open source: free to use, including at work, and the code is public so the community can keep it going.
Is there a free version of Cloudflare Workers?
Workers Free plan costs nothing, with a daily request limit.
Does Rivet fully replace Cloudflare Workers?
Not entirely. Rivet shines at stateful and long-running work, while Workers also comes with a global edge network, KV and R2. If you only need simple functions close to users, the free Workers plan is still handy.
Will my Workers code run on Rivet?
It needs reworking into Rivet's actor model. Your JavaScript or TypeScript logic carries over, but Cloudflare-specific APIs (KV, R2, Durable Objects) must be swapped out.