# Gregale vs Google Cloud Run

Gregale · Checked 2026-11-26

Gregale vs Google Cloud Run: request-based pricing, cold starts, automatic canary rollbacks, managed PostgreSQL and preview environments compared.

| | Gregale | Google Cloud Run |
|---|---|---|
| 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. | 180,000 vCPU-seconds, 360,000 GiB-seconds and 2 million requests a month in Tier 1 regions (with a Google Cloud billing account attached). |
| Cheapest paid option | Gregale Hobby: $10 a month for 5 apps with 512 MB each and 200 GB-RAM-hours included. | Pay per use: $0.00002400 per vCPU-second, $0.00000250 per GiB-second and $0.40 per million requests in Tier 1 regions. |
| 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. | Request-based billing charges while starting, shutting down or handling a request (rounded to 100 ms); instance-based billing charges for the whole lifetime. |
| 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. | Scales to zero after traffic stops and shuts down the container; minimum warm instances stay billed continuously. |
| 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. | Revisions shift 100% by default; manual traffic splitting is built in, while automated canary phases and rollbacks require Google Cloud Deploy. |
| Isolation | A Firecracker microVM per instance. | gVisor container sandbox. |
| Postgres | Managed PostgreSQL on Hobby and above, bound to the app as DATABASE_URL. | Not bundled. Connect Cloud SQL (starting separately at per-hour instance rates) and manage IAM or VPC connectors yourself. |
| Preview environments | A preview environment per open pull request, on every plan including Free. | Revision tags give tagged URLs; per-PR databases and teardown must be wired in CI. |
| Local disk | No durable local disk. Keep state in managed PostgreSQL or object storage. | Ephemeral in-memory disk (counts toward instance RAM) or Cloud Storage FUSE. |
| Regions | One region today. | Dozens of Google Cloud regions worldwide with global Cloud Load Balancing. |

## When Google Cloud Run fits

- Your backend already uses BigQuery, Pub/Sub, Cloud SQL or Google Cloud IAM inside a GCP VPC.
- You need multi-region Google Cloud placement or hundreds of auto-scaled containers.
- Your request volume stays inside Cloud Run’s monthly free allowance.

## When Gregale fits

- You want managed PostgreSQL, PR previews, crons and custom domains in one CLI without assembling GCP IAM, Cloud SQL and load balancers.
- You want automatic percentage canary rollouts that roll back on 5xx errors without setting up Cloud Deploy.
- You want predictable monthly allowances, a hard spend cap and scoped keys for AI coding agents.

## Moving over

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

## Questions

### Is Gregale cheaper than Google Cloud Run?

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 Cloud Run can be free under its monthly Tier 1 allowance or cheap for sparse bursts, though keeping a minimum warm instance or adding Cloud SQL adds continuous GCP charges.

### Can I move a Google Cloud Run service to Gregale?

Yes. Any Dockerfile or standard HTTP server listening on PORT deploys directly with `gregale deploy`. Replace Secret Manager mounts with environment variables and bind bundled managed PostgreSQL via DATABASE_URL.

### Does Google Cloud Run include managed Postgres or PR previews?

No. Cloud SQL is a separate paid Google Cloud service that you connect over a Cloud SQL proxy or VPC connector, and full PR preview environments require your own CI workflow.

### What happens if a release breaks?

On Gregale, a production release first gets 1% of traffic, then 10%, 50% and 100%, and only moves up while the new version is answering cleanly. If it starts returning 5xx errors, it rolls back to the previous version on its own. On Cloud Run, you split traffic manually across revisions or wire Cloud Deploy for automated rollbacks.

## Sources

- [Google Cloud Run pricing](https://cloud.google.com/run/pricing)
- [Cloud Run traffic migration](https://docs.cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration)

Canonical URL: https://gregale.dev/vs/cloud-run
