Can you set a hard spending limit on RunPod?
Only coarse ones. Every RunPod account has a default spend limit of $80 an hour across all resources, which rises over time with your account history. When the balance reaches $0, RunPod stops all running pods: pods with a network volume keep their data there, and pods without one are terminated and their data can't be recovered.
| Control | Applies to | What happens | Gap |
|---|---|---|---|
| Hourly spend limit | The whole account | Default of $80 an hour across all resources | Set by RunPod, raised by support |
| Zero balance | The whole account | Stops all running pods | Pods without a network volume are terminated |
| Low balance alert | The whole account | Emails you below a balance you set | Watches the balance, not the burn rate |
| Max workers | One Serverless endpoint | Caps concurrent workers | Active workers bill even with no jobs |
| Costbrake brake | One pod or endpoint | Stops the pod or scales the endpoint to 0 | An admin starts it |
A forgotten pod far below the hourly limit keeps billing until someone stops it. Costbrake alerts when an hour costs over 3 times its 7-day usual and at least $5 more. Does a stopped RunPod pod still cost money? explains what keeps billing after a stop.
What Costbrake reads from RunPod
Costbrake reads RunPod's billing history: the dollars RunPod reports per pod and per Serverless endpoint, in hourly buckets it updates every few minutes. Every 6 hours it also reads the daily totals for the last 35 days.
RunPod's billing runs every 5 minutes, and Costbrake's checks stay at 5 minutes during a spike too. For GPU and storage prices, see How does RunPod pricing work for Pods and Serverless?.
Which RunPod key does Costbrake need?
An API key with Read Only permission, created on the API Keys tab of RunPod's Credentials page. RunPod shows the key once. For a tighter key, pick Restricted with read-only access to the RunPod API and no access to your Serverless endpoints.
Keys made before November 11, 2024 have full access to RunPod's AI API, so they can run your endpoints; Costbrake warns when you paste one. With agent setup, you paste the RunPod key yourself, on the connect page your agent sends.
The brakes need a second key with All permission, added in the Costbrake dashboard, because a Read Only key can't stop pods or change workers. A key can only do what its owner's team role allows.
How the RunPod brakes work
- An admin turns on the killswitch for the connection and adds the All-permission key.
- Costbrake lists every pod with its GPU, hourly cost and status, and every Serverless endpoint with its workers.
- The admin picks a pod or endpoint and a brake, then types the connection's name to confirm.
- Costbrake stops the pod, or sets the endpoint's active and max workers to 0.
- Undo starts the pod again, or puts back the worker counts it had.
Costbrake never terminates pods or deletes endpoints or volumes. A pod that is locked in RunPod can't be stopped until you unlock it in the RunPod console.
What Costbrake can't do on RunPod
- Stop spend on its own. Alerts are automatic; a brake always waits for an admin.
- Stop storage billing for volume disks or network volumes.
- Promise the same GPU after Undo, since someone else may rent it while the pod is stopped.
- Change RunPod's hourly spend limit or your auto-pay.
If a RunPod key leaks, see What to do in the first hour after an API key leaks.
Questions and answers
Does RunPod have a spending limit?
Yes, a coarse one. Accounts have a default spend limit of $80 an hour across all resources, and RunPod stops all running pods when the balance reaches $0. Neither one targets a single pod or endpoint.
Does a stopped RunPod pod still cost money?
Yes, for storage. Stopping releases the GPU and ends compute billing, but the volume disk bills $0.20 per GB per month while the pod is stopped. The container disk is wiped and not charged.
Will my RunPod pod get its GPU back after Undo?
Only if that GPU is still free. Someone else may rent it while the pod is stopped; then RunPod refuses the start, and you retry later or migrate the pod to a free GPU from the RunPod console.
How often does Costbrake check RunPod spend?
Every 5 minutes on Pro and Team, also during a spike, and every hour on Free. RunPod's own billing runs every 5 minutes.
Does Costbrake stop RunPod pods on its own?
No. Alerts go out automatically, but a brake only runs when an admin of your Costbrake workspace picks a pod or endpoint and types the connection name to confirm.
Sources
Updated