The deciding difference is operational: Kubernetes can run on infrastructure you control, Cloudflare Workers cannot. If that constraint is real for you, it settles the choice before anything else is considered.
Edge runtime with Durable Objects for long-lived, stateful agent sessions.
Your existing cluster. Nothing new for the platform team to approve.
| Cloudflare Workers | Kubernetes | |
|---|---|---|
| Licence | Proprietary | Open source |
| Pricing | freemium | open source |
| Self-hostable | No | Yes |
| Languages | TypeScript | Any language |
| Install | npm i -g wrangler | — |
| Keys required | None | None |
The deciding difference is operational: Kubernetes can run on infrastructure you control, Cloudflare Workers cannot. If that constraint is real for you, it settles the choice before anything else is considered. Cloudflare Workers: Edge runtime with Durable Objects for long-lived, stateful agent sessions. Kubernetes: Your existing cluster. Nothing new for the platform team to approve.
Cloudflare Workers is a hosted service only. Kubernetes can run on your own infrastructure.
Cloudflare Workers is proprietary (freemium). Kubernetes is open source (open source).
Every page here answers to Accept: text/markdown and returns the same content at roughly a tenth the tokens. No separate site, no toggle — same URL.
curl -s -H "Accept: text/markdown" https://newagent.build/compare/cloudflare-workers-vs-k8s