Both sit in the runtime & deploy layer with similar commercial terms, so the practical split is language: Cloudflare Workers targets TypeScript and Modal targets Python.
Edge runtime with Durable Objects for long-lived, stateful agent sessions.
Python-native serverless with GPUs and sandboxes, scale to zero.
| Cloudflare Workers | Modal | |
|---|---|---|
| Licence | Proprietary | Proprietary |
| Pricing | freemium | freemium |
| Self-hostable | No | No |
| Languages | TypeScript | Python |
| Install | npm i -g wrangler | pip install modal |
| Keys required | None | MODAL_TOKEN_ID, MODAL_TOKEN_SECRET |
Both sit in the runtime & deploy layer with similar commercial terms, so the practical split is language: Cloudflare Workers targets TypeScript and Modal targets Python. Cloudflare Workers: Edge runtime with Durable Objects for long-lived, stateful agent sessions. Modal: Python-native serverless with GPUs and sandboxes, scale to zero.
Cloudflare Workers is a hosted service only. Modal is a hosted service only.
Cloudflare Workers is proprietary (freemium). Modal is proprietary (freemium).
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-modal