Spend predictability
Eliminate surprise cloud bills with hard spend caps and idle pause
Every paid plan includes a hard monthly overage cap from day one (`HTTP 402` enforcement instead of post-facto alerts), free static cache/edge blocks that do not wake VMs, preview-only shutoff budgets and FOCUS FinOps exports.
What breaks vs. how Gregale solves it
Soft cloud budget alerts only email you hours after an infinite loop, DDoS scrape or overly chatty uptime monitor burns hundreds of dollars on always-on compute and bandwidth.
Problem without Gregale
Soft email alerts arrive after runaway webhook loops or bots spike your invoice.
How Gregale solves it
Hard monthly spend caps (Hobby $10, Pro $50, Scale $150 defaults) freeze compute within one scheduler tick via `HTTP 402` while preserving databases and storage.
Problem without Gregale
Egress overages and 5-minute health pings quietly pin paid containers awake 24/7.
How Gregale solves it
Egress hard-stops by default unless you opt in ($0.03/GiB), and synthetic-check cost tables prevent unintended 24/7 wakes.
Problem without Gregale
PR previews rack up charges alongside production with no separate circuit breaker.
How Gregale solves it
Monitored budgets (`"action": "stop_previews"`) pause pull-request previews at a threshold without disrupting production traffic.
Deep-dive guides (6)
Hard cloud spend caps that actually stop runaway bills
Every paid Gregale plan enforces a hard monthly overage cap from day one (Hobby $10 default, Pro $50, Scale $150), stopping compute at the ceiling with HTTP 402 instead of alerting after a runaway loop or DDoS spike racks up charges.
Cap what an AI agent adds to your hosting bill
Each AI agent on Gregale has a monthly budget for the always-on capacity it adds. Gregale prices every change before it is made; a change past the budget waits for your approval, with its added monthly cost on the review page.
Synthetic uptime checks on scale-to-zero apps without accidental bills
Run external 5-, 15-, or 60-minute `GET`/`HEAD` uptime and p95-latency probes (`Gregale-Synthetics/1`) on Hobby+ apps with consecutive-failure alerts and exact per-plan GB-RAM-hour wake-cost tables.
Cache public API responses at the edge without waking your app
Declare gateway caching with `gregale edge cache` using `stale-while-revalidate`, `stale-if-error`, query-order isolation and `Cache-Tag` purging, serving cache hits without waking your microVM while bypassing any request carrying cookies or `Authorization`.
Scale to zero without slow cold starts
Gregale scales idle apps to zero without booting them again: an app pauses in memory about a second after its last request and resumes in about a millisecond, and after 10 minutes it parks as a memory snapshot that wakes with its process already running.
Private app object storage and direct browser uploads without S3 IAM boilerplate
Create private S3-compatible buckets (`https://s3.gregale.dev`) with `gregale add bucket`, sealed env vars outside secret quotas, `$0.03/GiB-month` overage, direct upload routes and upload triggers without waking your app.
Related benchmarks & studies
What an intermittent or evenly spaced backend costs across 6 PaaS platforms
Deterministic 30-day cost model showing how Gregale’s ~1–2 s between-request pause ladder compares with minute-scale sleep timers on Fly.io, Railway, Render, Heroku and Cloud Run.
What it costs to run an intermittent FastAPI app on Gregale
Metered compute for the same number of FastAPI requests sent at intervals or in bursts, with 30-day cost estimates.
Documentation references
Questions
- Does Gregale Free ever incur overage charges?
Never. Free hard-stops at 20 GB-RAM-hours of compute, 1 GiB of object storage and 10 GiB of monthly egress, and cannot enable overage.
- Is data deleted when an account hits its monthly spend cap?
No. Running workloads pause (
HTTP 402), managed PostgreSQL pauses with data intact, object storage remains intact, and queued webhooks/crons wait until you raise the cap or the UTC month resets.- Can traffic filtered by edge rules or gateway cache consume compute quota?
No. Requests blocked by IP, geo, rate-limit or JWT edge rules—and responses served from gateway edge cache—never wake your microVM or count toward compute GB-RAM-hours.