# Gregale vs Cloudflare Workers

Gregale · Checked 2026-11-26

Gregale vs Cloudflare Workers: V8 isolates & Cloudflare Containers vs Firecracker microVMs, full CPython/Docker support, bundled Postgres and canary rollbacks compared.

| | Gregale | Cloudflare Workers |
|---|---|---|
| Free plan | Gregale Free: $0, 1 app with 256 MB and 20 GB-RAM-hours a month. It stops at the allowance rather than billing you. | Workers Free: $0 a month for 100,000 requests/day with 10 ms CPU time per invocation (no Containers on Free). |
| Cheapest paid option | Gregale Hobby: $10 a month for 5 apps with 512 MB each and 200 GB-RAM-hours included. | Workers Paid: $5 a month minimum with 10M requests and 30M CPU ms included ($0.30/M extra requests, $0.02/M extra CPU ms); Containers bill extra CPU, RAM and disk. |
| How compute is billed | By memory and time (GB-RAM-hours), CPU included, and only while an instance is running: paused and parked time is not billed. Beyond a Gregale plan's allowance, $0.05 per GB-RAM-hour, up to a spend cap you set. | Workers bill active CPU ms and requests (zero egress fees); Containers bill active CPU, allocated RAM and disk per 10 ms past included allowances. |
| Idle apps | About a second after its last request, an idle app pauses and stops being billed; the next request resumes it in milliseconds. After 10 minutes it parks to a snapshot. An app doing background work keeps running, and billed, while it works. On every plan. | Workers isolates consume nothing when idle; Containers also scale to zero when inactive. |
| Releases | Every production release of a live app climbs a ladder: 1%, then 10%, 50% and 100% of real traffic, advancing only while the new version shows no errors, OOM kills or restarts, and rolling back on its own if it starts returning 5xx. On by default, on every plan; a typical release reaches 100% in 3 to 5 minutes. | Gradual deployments let you split percentages manually between two Worker versions; not default automatic 1%→100% 5xx rollback across Docker/Postgres. |
| Isolation | A Firecracker microVM per instance. | V8 isolates on Workers (128 MB memory limit) and isolated Linux containers on Cloudflare Containers. |
| Postgres | Managed PostgreSQL on Hobby and above, bound to the app as DATABASE_URL. | Cloudflare D1 (SQLite) natively, or external PostgreSQL over Hyperdrive connection pooling. |
| Preview environments | A preview environment per open pull request, on every plan including Free. | Preview URLs generated automatically for uploaded Worker versions. |
| Local disk | No durable local disk. Keep state in managed PostgreSQL or object storage. | R2 object storage, KV and Durable Objects on Workers; ephemeral container disk on Containers. |
| Regions | One region today. | Global Anycast network across 300+ Cloudflare edge locations. |

## When Cloudflare Workers fits

- You need ultra-low-latency global edge execution across 300+ PoPs with zero egress fees.
- Your backend is lightweight JavaScript/TypeScript built around D1, KV, R2, or Durable Objects.
- You run pure edge routing, auth middleware, or streaming Workers where V8 isolates excel.

## When Gregale fits

- You run FastAPI, FastMCP, Django, Express, or Go with standard C/native libraries and Linux Dockerfiles without V8 or Pyodide 128 MB isolate limits.
- You want bundled managed PostgreSQL with code + DB point-in-time rollbacks (`--restore-databases`).
- You want automatic 1%→100% 5xx canary rollbacks, managed scale-to-zero WebSockets, and scoped `--agent` guardrails.

## Moving over

[Container compatibility](https://gregale.dev/docs/container-compatibility.md)

## Questions

### Is Gregale cheaper than Cloudflare Workers?

It depends on how much of the day your app is actually serving. Gregale stops billing about a second after each request, so an API is billed for the time it spends answering, not the time it is up. A 512 MB app that serves for about eight hours a day uses around 122 GB-RAM-hours a month, which fits inside Hobby's $10 plan. The same app serving around the clock costs about $18.25 on Gregale, and Cloudflare Workers Free covers 100,000 requests/day inside 10 ms CPU isolates and Workers Paid starts at $5/mo with zero egress fees, while Cloudflare Containers bill separate CPU, RAM and disk rates.

### Why run Python FastAPI or MCP servers on Gregale instead of Cloudflare Workers?

Cloudflare Python Workers execute inside WebAssembly/Pyodide isolates capped at 128 MB memory, whereas Gregale runs full CPython 3.13 or standard Linux Dockerfiles in isolated Firecracker microVMs.

### What happens if a release breaks?

On Gregale, a production release first gets 1% of traffic, then 10%, 50% and 100%, and rolls back on its own if 5xx errors rise. On Cloudflare Workers, you adjust gradual deployment weights or roll back versions manually.

## Sources

- [Cloudflare Workers pricing](https://developers.cloudflare.com/workers/platform/pricing/)
- [Cloudflare Workers limits](https://developers.cloudflare.com/workers/platform/limits/)
- [Cloudflare Containers pricing](https://developers.cloudflare.com/containers/pricing/)

Canonical URL: https://gregale.dev/vs/cloudflare-workers
