C

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

#AppTypePlatformsEase of useGitHub stars
1RivetOpen sourceSelf-hosted, WebTechnical setup7,003

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.

1 best alternatives to Cloudflare Workers

1Rivet

Rivet

Developer & DevOpsHealthGood (89/100)7,003
Open sourceTechnical setup
Rivet homepage

Runs stateful actors, background jobs and AI agents, close to Workers' Durable Objects, and can be self-hosted instead of being tied to Cloudflare.

A platform for running stateful actors that power realtime apps and AI agents. It is an open-source alternative to Cloudflare Durable Objects.

  • Each actor keeps its own state, no separate database needed
  • Well suited to chat, multiplayer and long-running AI agents
  • Self-host it or use the hosted cloud

Platforms: Self-hosted · Web

Related paid software See category →

FAQ

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.

Free Dorabot tools