the common gap
Every major cloud offers budgets, alerts, and cost reports — few offer enforceable near-real-time spend stops on the request path. Native tooling optimizes for finance visibility; CloudCap optimizes for trip-at-the-proxy enforcement plus learned op→$ models.
Cloudflare
Native: AI Gateway spending limits (API-set caps). Edge: Workers proxy, Tail Workers, Logpush, Analytics Engine, Billing API — best fit for per-request counters and immediate 429/503. IaC hooks: Alchemy, SST, Terraform, Pulumi, wrangler. Leading adjacents: none purpose-built for edge spend breakers — DIY proxy is the pattern.
AWS
Native: Budgets API, Cost Anomaly Detection, Service Quotas (hard count limits, not $), SCPs (governance, coarse). Billing lag: CUR/budget data often hours–days behind. Kill-switch pattern: EventBridge/Lambda on budget threshold → stop instances, deny via SCP, or isolate account — DIY, not one toggle. IaC: Terraform, Pulumi, CDK, SST. Tools: Vantage, CloudHealth, CloudZero, Infracost (pre-deploy), Kubecost/OpenCost (EKS), ProsperOps (commitments).
GCP
Native: Billing Budget API + programmatic Pub/Sub notifications (~20min+ alert lag; not a hard stop). Documented killswitch: Cloud Function/Run on budget alert → detach project billing via Cloud Billing API. Usage metrics update faster than cost (~hourly). IaC: Terraform, Pulumi, Deployment Manager. Tools: Vantage, Infracost, Kubecost (GKE), Recommender (rightsizing, not enforcement).
Azure
Native: Cost Management budgets, action groups, email/webhook/Logic App triggers — alerts and automation hooks, no native request-level $ circuit. Billing lag similar to peers. Kill-switch pattern: Logic App/runbook on budget breach → deallocate resources or suspend subscription — DIY. IaC: Terraform, Pulumi, Bicep. Tools: Vantage, CloudHealth, Infracost, Kubecost (AKS).
Kubernetes (any cloud)
Runtime attribution without provider-native $ caps at pod level. Kubecost / OpenCost map CPU/RAM/network to namespaces and labels — excellent visibility, weak enforcement (no cluster-wide spend breaker). CloudCap-shaped hook: admission webhook or service-mesh proxy with limit specs per namespace + learned $/CPU-hour from cloud billing reconcile.
cross-cloud FinOps tools
Visibility & shift-left: Vantage (multi-cloud + SaaS billing APIs), Infracost (Terraform/Pulumi PR estimates — prevents deploy, doesn't stop runtime loops), CloudZero/CloudHealth (enterprise allocation + anomalies). None replace a spend proxy — they inform finance and PR gates; CloudCap trips traffic. Typical stack: Infracost at deploy, Kubecost in cluster, Vantage for exec view, CloudCap at the enforcement boundary.
observability & APM
Datadog (incl. Cloud Cost Management), New Relic, Grafana + OpenCost, Honeycomb, Sentry own the richest real-time metric layer of all — it is tempting to think they already do this. They don't: observability sits off the request path, on async ingestion plus lagging billing exports. It detects and alerts in seconds and can fire a webhook; it cannot deny the next request. The webhook's target is the thing that enforces — and that thing is CloudCap-shaped. Telling: the only spend caps these vendors hard-enforce are on their own bill (Sentry event quotas, Chronosphere telemetry volume) — single-SKU proof that enforceable caps are wanted, on the one data plane they happen to sit in-path for. Counting ops is table stakes; the in-path breaker, the learned op→$ model, and being the default front door are the moat.
CloudCap on other clouds
Same primitives: op counter at the front door, declarative limit specs, learned model reconciled to invoice, circuit breaker. Attachment varies: API Gateway/Lambda authorizer (AWS), Cloud Run/Load Balancer middleware (GCP), App Gateway/Front Door (Azure), or mesh sidecar. IaC modules per provider; introspection where billing APIs and usage exports exist but deploy graph doesn't.