Cost and performance analytics with visual dashboards and trend analysis.
Overview
The Analytics Page provides visual insights into agent costs and performance. Track spending trends, identify expensive operations, and optimize your agent fleet.
Time window selector
At the top, choose time range:
Last 24 hours
Last 7 days
Last 30 days
All time
All charts and stats update based on selected window.
Cost dashboard
30-day consumption chart
Bar chart showing daily costs:
X-axis: Dates (last 30 days)
Y-axis: Cost (USD)
Bars: Daily spending
Hover: See exact cost for each day
Visual features:
Color coding:
🟢 Green - Below average
🟡 Yellow - Average
🔴 Red - Above average
Trend line: Overlaid to show direction
Annotations: Mark significant events (deployments, incidents)
Total Consumption (Last 30 days)$567.89⬆️ 15% vs previous 30 daysProjected monthly: ~$580
Daily breakdown table
Table showing each day with:
Date
Runs - Count of runs
Actions - Count of actions
Cost - Total USD
Avg Cost per Run - Mean cost
Avg Cost per Action - Mean cost
Sorting:
Click any column header to sort
Default: Date (descending)
Export:
Download as CSV for analysis in Excel/BI tools
Performance dashboard
Average metrics
Three stat cards:1. Avg Cost per Action
$0.0123⬇️ 5% vs previous period
Lower is better - shows efficiency improving.2. Avg Duration per Action
523ms➡️ No change vs previous period
Lower is better - shows performance.3. Actions per Run
37.2⬆️ 8% vs previous period
Context-dependent - more actions = more work done OR inefficiency.
Cost by action type
Pie chart showing distribution:
Each slice = one action type
Size = proportion of total cost
Hover for exact amount
Click to filter ledger by that action
Example breakdown:
🔵 call_llm: $234.56 (41%)
🟢 search_web: $123.45 (22%)
🟡 fetch_data: $89.12 (16%)
🟠 analyze_text: $67.89 (12%)
Others: $52.87 (9%)
Insights:
Identify top cost drivers
Focus optimization on largest slices
Track changes over time
Cost by agent
Bar chart (horizontal) showing:
Agent names (Y-axis)
Cost (X-axis)
Sorted by cost (descending)
Color-coded by relative cost
Use cases:
Identify most expensive agents
Compare agent efficiency
Budget allocation by agent
Actions over time
Line chart showing:
X-axis: Time (hours, days, or months based on window)
Y-axis: Action count
Multiple lines: Different action types
Insights:
Usage patterns (peak times)
Growth trends
Action mix changes
Cost optimization recommendations
AI-powered suggestions based on your data:
High-cost actions
💡 Recommendation: Optimize LLM callsFinding: "call_llm" accounts for 45% of costs ($234.56)Suggestions:• Reduce max_tokens from 1000 to 500 (potential savings: ~$100/month)• Use gpt-4o-mini for simple queries (potential savings: ~$80/month)• Implement response caching (potential savings: ~$50/month)Total potential savings: $230/month (40%)
Inefficient patterns
⚠️ Warning: Redundant API calls detectedFinding: Agent "trading-bot" calls "fetch_price" avg 15 times per runSuggestion: Cache price data for 5 minutes to reduce API callsPotential savings: $45/month
Rate limiting opportunities
💡 Recommendation: Add rate limitingFinding: "search_web" called 500+ times/daySuggestion: Rate limit to 100 calls/hour to prevent runaway costsRisk reduction: Prevents potential $1000+ cost incidents
Filters and segmentation
Filter by agent
Select specific agents to analyze:
Compare costs across agents
Focus on one agent’s performance
Identify underutilized agents
Filter by action type
Select specific action types:
Analyze LLM costs separately
Track API call costs
Compare tool usage
Group by
Change aggregation:
By day - Daily breakdown
By hour - Hourly breakdown (for 24h window)
By week - Weekly breakdown (for 30d+ window)
By month - Monthly breakdown (for all time)
Budget Forecasting & Alerts
Agent Sentinel provides GCP-style predictive analytics to help you stay within budget and optimize spending.
Budget forecast widget
Set a budget amount to see real-time forecasting:Metrics displayed:
Current Spend - What you’ve spent so far this period
Burn Rate - Spending velocity relative to time elapsed
1.0 = on track
> 1.0 = overspending
< 1.0 = underspending
Projected Total - Estimated end-of-period spend
Days Remaining - Time left in budget period
Alert severity levels:
🟢 Info - On track (< 80% projected)
🟡 Warning - Approaching limit (80-100% projected)
🟠 Critical - Will exceed budget (100%+ projected)
🔴 Exceeded - Already over budget
Example:
Current Spend: $234.56 (46.9% of budget)Burn Rate: 1.15x (overspending)Projected Total: $575.23 of $500.00 budgetDays Remaining: 18 days
Smart recommendations
The forecast widget provides actionable recommendations:
“⚠️ Budget will be exceeded by $75.23 (15.0%)”
”🔥 High burn rate (1.15x) - reduce agent frequency or switch to cheaper models”
”💡 18 days remaining - time to optimize or increase budget”