Skip to content

Cost Monitoring

Airupt tracks every LLM API call and surfaces costs in real time so you never get a surprise bill.

Viewing Costs

bash
# Today's spend
airupt cost

# This month
airupt cost --month

# Last 30 days, broken down by day
airupt cost --days 30

# By skill
airupt cost --by-skill

Example output:

Today: $0.14 / $2.00 limit (7%)
This month: $3.21 / $30.00 limit (10.7%)

Top skills today:
  web_browse   $0.08
  calendar     $0.04
  chat         $0.02

Setting Limits

Configure in ~/.airupt/config.yml:

yaml
costs:
  daily_limit_usd: 2.00
  monthly_limit_usd: 30.00
  alert_threshold: 0.80

When spend reaches alert_threshold (80% by default), Airupt sends you a notification via your channel.

When a limit is hit, Airupt pauses and responds to messages with:

Daily spending limit reached ($2.00). Airupt is paused until tomorrow.
Type "airupt cost override" to temporarily override.

Override a Limit

bash
airupt cost override --daily
airupt cost override --monthly

Overrides last until the next reset period (midnight for daily, 1st of month for monthly).

Disabling Limits

Set either limit to ~ to disable it:

yaml
costs:
  daily_limit_usd: ~
  monthly_limit_usd: ~

Cost Data

Raw cost data is stored at ~/.airupt/costs/. Each day is a JSON file you can inspect or process with your own tooling.

Released under the MIT License.