RunPod integration

RunPod spend alerts and GPU brakes

Costbrake reads the hourly cost of each RunPod pod and Serverless endpoint every 5 minutes on Pro at $12 a month and Team at $39 a month. An admin can stop a pod or scale an endpoint to 0 workers, and Undo starts the pod again or puts the workers back.

RunPod's own guard is a default spend limit of $80 an hour across all resources, and it stops every running pod when the balance reaches $0. The Free plan checks hourly with email alerts and no brakes (compare plans).

RunPod at a glance

Reads
Hourly cost per pod and Serverless endpoint from RunPod billing history
Key
An API key with Read Only permission; brakes need a second key with All permission
Setup
Paste the key in the dashboard or on the connect page your coding agent sends
Free plan
Checks every hour, email alerts, no brakes
Pro and Team
Checks every 5 minutes, Slack, Discord and webhook alerts, brakes
Spike checks
Every 5 minutes, also in a spike; RunPod's billing runs every 5 minutes
Brakes
Stop pod, Scale endpoint to zero

Brakes

2 brakes for RunPod

An admin picks a brake, confirms it, and can undo it later. Brakes come with Pro and Team.

  • Admin confirms

    Stop pod

    Stops the pod and releases its GPU, which ends compute billing; the volume disk is kept and the container disk is wiped.

    UndoStarts the pod again, unless its GPU was rented out meanwhile; then you retry later or migrate the pod from the RunPod console.

    The volume disk keeps billing while the pod is stopped, and spot or Community Cloud pods may not come back.

  • Admin confirms

    Scale endpoint to zero

    Sets the Serverless endpoint's active and max workers to 0, so no workers run or bill and requests go unserved.

    UndoPuts back the exact active and max worker counts from before the brake, unless someone changed them since.

    RunPod renames the endpoint's template whenever its API edits an endpoint, and the new name stays after Undo.

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.

ControlApplies toWhat happensGap
Hourly spend limitThe whole accountDefault of $80 an hour across all resourcesSet by RunPod, raised by support
Zero balanceThe whole accountStops all running podsPods without a network volume are terminated
Low balance alertThe whole accountEmails you below a balance you setWatches the balance, not the burn rate
Max workersOne Serverless endpointCaps concurrent workersActive workers bill even with no jobs
Costbrake brakeOne pod or endpointStops the pod or scales the endpoint to 0An 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

  1. An admin turns on the killswitch for the connection and adds the All-permission key.
  2. Costbrake lists every pod with its GPU, hourly cost and status, and every Serverless endpoint with its workers.
  3. The admin picks a pod or endpoint and a brake, then types the connection's name to confirm.
  4. Costbrake stops the pod, or sets the endpoint's active and max workers to 0.
  5. 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

Start with 14 days of Pro, free

Catch the next RunPod spike before the invoice.

14 days of Pro, then Free for 2 accounts. No card needed.