Cost Alerts
Get notified when your AI costs spike or exceed thresholds.
Alert Types
1. Budget Alerts
Get notified when you hit spending thresholds.
Daily Budget:
- Set maximum daily spend
- Alert at 50%, 75%, 90%, 100%
- Email or Slack notification
- Optionally pause API calls at limit
Monthly Budget:
- Set maximum monthly spend
- Progressive alerts as you approach limit
- Track spend velocity
- Forecast end-of-month cost
2. Spike Alerts
Get notified when costs increase suddenly.
Triggers:
- Spending 2x normal rate
- Spending more than $X in 1 hour
- Call volume spike (10x normal)
Actions:
- Email notification
- Slack message
- SMS (Enterprise)
- Webhook (Pro)
3. Limit Alerts
Get notified when approaching usage limits.
Free Tier:
- Alert at 5,000 calls (50%)
- Alert at 7,500 calls (75%)
- Alert at 9,000 calls (90%)
- Alert at 10,000 calls (100%)
Rate Limits:
- Alert when approaching hourly rate limit
- Suggest optimization strategies
Setting Up Alerts
Via Dashboard
- Go to Alerts in sidebar
- Click Create Alert
- Choose alert type
- Configure settings
- Add notification channels
- Save alert
Alert Configuration
Budget Alert Example:
Type: Daily Budget
Threshold: $100/day
Notify at: 75%, 90%, 100%
Channels: Email, Slack
Action at 100%: Pause API calls ❌ (optional)Spike Alert Example:
Type: Cost Spike
Condition: >2x normal hourly rate
Lookback: 7 days average
Channels: Email, SlackNotification Channels
Setup: Automatic (uses your account email)
Features:
- Instant delivery
- Includes details (cost, model, time)
- Link to dashboard
- Reply for support
Slack
Setup:
- Go to Alerts → Integrations
- Click Connect Slack
- Authorize AiSpendTrack
- Choose channel
- Save
Message format:
🚨 Cost Alert: Daily budget 90% reached
Current: $90.00 / $100.00
Time: 2:34 PM
Top model: gpt-4 ($45.00)
View dashboard →Webhooks (Pro)
Setup:
- Go to Alerts → Integrations
- Click Add Webhook
- Enter webhook URL
- Choose events to send
- Save
Payload:
{
"event": "budget_alert",
"alert_id": "alert_123",
"threshold": 90,
"current": 90.50,
"limit": 100.00,
"model": "gpt-4",
"timestamp": "2024-02-18T14:30:00Z"
}SMS (Enterprise)
Contact sales@aispendtrack.com for SMS alerts.
Alert Examples
Example 1: Prevent Overspending
Scenario: Never spend more than $500/month
Setup:
Alert: Monthly Budget
Limit: $500
Notify: 50%, 75%, 90%, 100%
Action: Pause API calls at 100%
Channels: Email + SlackExample 2: Catch Bugs Early
Scenario: Detect infinite loops or bugs causing API call spikes
Setup:
Alert: Call Volume Spike
Condition: >100 calls in 5 minutes
Baseline: 7-day average
Channels: Email + Slack + WebhookExample 3: Monitor New Features
Scenario: Track costs when launching new AI features
Setup:
Alert: Feature Cost Threshold
Feature: new-summarization
Limit: $50/day
Notify: 75%, 100%
Channels: EmailAlert History
View all triggered alerts:
- Go to Alerts → History
- See all past alerts
- Filter by type, date, status
- Click alert for details
Alert details include:
- When it triggered
- What threshold was exceeded
- Which model/customer/feature
- What action was taken
- Time to resolution
Managing Alerts
Snooze Alerts
Temporarily disable alerts:
- Go to alert settings
- Click Snooze
- Choose duration (1h, 4h, 24h, 7d)
- Alert pauses
Edit Alerts
Modify existing alerts:
- Go to Alerts
- Click alert to edit
- Update settings
- Save changes
Delete Alerts
Remove alerts you no longer need:
- Go to Alerts
- Click alert
- Click Delete
- Confirm deletion
Alert Best Practices
1. Start Conservative
Set high thresholds initially:
- Avoid alert fatigue
- Adjust based on actual usage
- Tighten over time
2. Use Multiple Thresholds
Don’t just alert at 100%:
- 50%: Awareness
- 75%: Warning
- 90%: Urgent
- 100%: Critical
3. Combine Alert Types
Use budget + spike alerts:
- Budget: Know your baseline
- Spike: Catch anomalies
- Together: Comprehensive monitoring
4. Test Your Alerts
Verify alerts work:
- Set low test threshold
- Make API calls to trigger
- Confirm you receive notification
- Reset to real threshold
5. Review Weekly
Check alert history weekly:
- Are thresholds appropriate?
- Too many false positives?
- Missing important events?
- Adjust as needed
Alert Limitations
Free Tier:
- Email alerts only
- Basic budget alerts
- Daily digest
Pro Tier:
- All alert types
- Email + Slack
- Real-time notifications
- Webhooks
- Custom thresholds
Enterprise:
- Everything in Pro
- SMS alerts
- Phone calls (critical alerts)
- Dedicated alert manager
- Custom integrations
Troubleshooting
Not receiving alerts?
- Check email spam folder
- Verify email in settings is correct
- Check alert is enabled (not paused/snoozed)
- Test with low threshold to confirm setup
Too many alerts?
- Increase thresholds to reduce noise
- Snooze non-critical alerts temporarily
- Use digest mode (Pro) - one daily summary email
- Review alert history - adjust based on patterns
Alerts delayed?
Alerts sent within:
- Email: <1 minute
- Slack: <30 seconds
- Webhook: <10 seconds
- SMS: <30 seconds
If delayed >5 minutes, contact support@aispendtrack.com.