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.
Stop runaway cloud bills before they happen. Every paid Gregale plan ships with a hard monthly overage cap from day one that stops workloads and freezes billing at your ceiling—instead of emailing you an alert hours after an infinite loop, DDoS wave, or misconfigured coding agent burns through your budget.
Why soft "budget alerts" fail in production
On AWS, Vercel, Fly.io, and Render, budget alerts are usually notifications rather than circuit breakers. If a recursive webhook loop, unauthenticated scrape, or runaway script keeps invoking compute at 3 a.m., billing continues climbing past every email threshold until someone manually pulls the plug.
Built-in hard spend caps on every paid plan
Gregale's spend cap is a hard monthly dollar ceiling on overage beyond your plan's included allowance (computed per UTC calendar month):
| Plan | Included GB-RAM-hours | Default cap | Highest cap |
|---|---|---|---|
| Hobby | 200 | $10 | $75 |
| Pro | 1,000 | $50 | $200 |
| Scale | 3,000 | $150 | $1,000 |
The Free plan never bills: it hard-stops at 20 GB-RAM-hours and 10 GiB of egress per month and cannot enable overage.
Adjust your cap—or set it to 0 as an instant pause switch without deleting anything:
gregale billing spend-cap # show current cap
gregale billing spend-cap 2500 # cap monthly overage at $25.00
gregale billing spend-cap 0 # stop all spending immediately
Changing the spend cap requires an admin-scoped credential plus multi-factor authentication (and recent step-up in the dashboard). CI deploy keys and MCP coding agents can inspect usage or deploy, but cannot raise the cap.
What stops—and what stays safe—at the cap
When monthly overage reaches the cap, billing stops cleanly at that exact dollar figure (raising the cap later does not retroactively bill traffic skipped while capped):
- Workloads pause within one scheduler tick: Running instances and
min_instancesfloors stop, and new wake-triggering requests returnHTTP 402(admission_refused). - Nothing is deleted: Managed PostgreSQL pauses with all data intact, object storage keeps serving within its plan limit, and queued webhooks, crons, delayed tasks, and async invocations wait instead of losing retry attempts—running again when the cap is raised or the next month begins.
- Edge blocks cost zero compute: Rate limits, IP blocks, country rules, and token gates set in edge rules refuse abusive requests at the edge without waking your app or burning compute.
Granular valves: egress hard-stops and preview-only shutoffs
- Egress stops by default: Free (
10 GiB), Hobby (100 GiB), Pro (500 GiB), and Scale (2,000 GiB) pause apps once monthly egress hits the plan allowance (while databases and buckets stay up) unless you explicitly opt into$0.03per GiB overage (gregale billing egress-overage on), which is also bounded by your spend cap. - Stop PR previews without touching production: Monitored budgets with
"action": "stop_previews"pause pull-request preview environments at a dollar threshold (for example$10.00compute with a 30-second drain) while keeping production APIs online. - Forecasts and FinOps export: Track projected month-end bills with
gregale billing forecast(after one full day of usage) and export invoices in FOCUS 1.4 format withgregale billing export(beta).
Tradeoffs: availability vs cost certainty
A hard spend cap prioritizes zero surprise invoices over keeping production online past the ceiling: once reached, public traffic receives HTTP 402 until you raise the cap or the month resets. For revenue-critical production services, keep the hard cap as a disaster backstop and wire budget notifications (notify_millicents -> Slack or PagerDuty) well below it so your team can intervene before traffic ever pauses.
See Cost controls, Billing, Edge rules, Cap what an AI agent adds to your hosting bill, and Gregale pricing.
Questions
- Do Gregale spend caps actually stop billing or only send email alerts?
They stop billing hard at your cap. Running instances and minimum-instance floors stop within one scheduler tick, new requests return
HTTP 402 admission_refused, managed PostgreSQL pauses without losing data, and queued webhooks and crons wait until you raise the cap or the month resets.- Can a compromised CI token or AI coding agent raise my spend cap?
No. Raising or lowering the spend cap (
gregale billing spend-cap) requires anadmin-scoped credential and multi-factor authentication (plus recent step-up in the dashboard); deploy keys and MCP agents cannot raise it.- Can I stop preview environments at a limit while keeping production live?
Yes. A budget policy with
"action": "stop_previews"pauses pull-request preview environments at your chosen dollar threshold while production continues serving.