Cockpitify Docs Search the docs⌘K Product Sign in Try the live demo

Get an alert when a user passes a daily AI limit

Updated · Pro and up · Phone · Web

Set a daily AI spend limit per app in Cockpitify and get notified when any user's AI cost for the day passes it.

A single user can burn through your AI budget in an afternoon. Set a daily limit, and Cockpitify tells you the moment anyone’s AI spend for the day passes it.

Before you start

AI cost must be tracked per user with @cockpitify/node. See Track AI cost per user.

Set the limit

The limit is per app, in USD.

On the phone

  1. Tap the app’s name at the top, then Alerts.
  2. Tap “A user’s AI cost today passes a limit” under Money. It opens your notification settings.
  3. Scroll to Daily AI limit, type an amount in the field for your app, for example 5, and tap Save.

You can also reach it from Account settings → Quiet hours, muted apps and devices → Daily AI limit, which lists every app.

On the web

  • Open App → Alerts and click the AI cost row, or
  • Open App → Connections → AI cost and find Daily AI limit under Options.

Type the amount and click Save.

The row then shows the limit per day, such as “$5 / day”. Leave the field empty to turn it off.

What happens

When a user’s AI cost for the day passes the limit, you get a notification like “Daily AI limit exceeded: Elif K. spent $7.20 today (limit $5)”. Each user alerts at most once a day; days follow UTC. The user’s page shows their AI usage over the last 30 days.

On the Alerts page, the rule reads “A user’s AI cost today is over $5”, with when it last fired.

Who gets it

Changing the limit needs edit access to AI cost.

If it says the project is too old

The daily limit needs ops 0.5.0 or later in your project. On the web, the AI cost panel says “This project’s Cockpitify is too old for the daily limit” with Update the project. On the phone, update from Connections → Supabase project. See Check your connections.

Was this page helpful?YesNo
Ask a question
Questions? Ask me.I’m Murat, the indie developer behind Cockpitify.

I read every message and reply by email, usually within a day.