View Usage & Cost
Guide for Root, Admin, and Viewer to monitor resource consumption (MaaS and Runtime/Agent), cost breakdown, and month-end cost projection on the Usage & Cost dashboard.
Prerequisites
Signed in with role Root, Admin, or Viewer to see full org data
Or role Member to see data for agents you created
Open Usage & Cost
Go to AgentBase β sidebar β Usage & Budget β Usage & Cost
The dashboard opens on the Usage tab by default with Time Range = Last 1h
Apply Filters
The global filter bar is pinned at the top of the page and applies to both the Usage and Cost tabs:
Agent
Multi-select β choose specific agents or Others (direct MaaS calls not routed through an agent)
All Provider
Multi-select β filter by LLM provider (OpenAI, Anthropic, VNG AIP, ...)
All Models
Multi-select β filter by AI model (gpt-4o, claude-sonnet-4-6, ...)
All API Keys
Single select β filter by API Key
Time Range
Quick bar + picker panel
Select a Time Range
Quick bar: Click any preset directly: 15m Β· 30m Β· 1h Β· 2h Β· 3h Β· 6h Β· 12h Β· 1d
Picker panel (click β¨ to open):
Quick
Select a preset: Last 15 minutes through Last 6 months; Today, This week, This month, Last month, ...
Relative
Enter a custom relative range (e.g., Last 45 minutes)
Absolute
Select a specific From date and To date; validates that To β₯ From
Usage Tab β View Usage Metrics
The Usage tab shows 4 KPI cards and 3 main sections:
KPI cards:
Total Requests
Total API calls within the filter range
Tokens Consumed
Total Input Tokens + Output Tokens (including Cache)
Active Agents
Number of agents with at least 1 request β Others (MaaS) is not counted
Errors
Total number of failed requests within the filter range
Charts:
Requests over time: Line chart β X-axis grouped by hour (β€ 1 day) or by day (> 1 day); hover tooltip shows breakdown by model and total request count
Token Breakdown: Doughnut chart separating Cache / Output / Input tokens β hover to see values and percentages
Top Expensive Agent table:
Shows the top 10 agents by total cost within the selected time range:
Agent
Agent name with icon
Tokens Used
Total tokens consumed
Cost (VND)
Total cost (VND), sorted by highest cost by default
Started At
Timestamp of the most recent session start
An Others row appears at the bottom of the table when there is MaaS usage not attached to any agent.
Budget warning banner:
When current month spending reaches β₯ 80% of the budget limit, a warning banner is pinned to the top of the Usage tab:
80β99%: Yellow banner β "β οΈ 80% of this month's budget used. Consider reducing load or reviewing active agents." [View budget link]
100%+: Red banner β "β οΈ Monthly budget exceeded. Immediate action required."
Cost Tab β View Cost Breakdown
Switch to the Cost tab for detailed cost analysis:
KPI cards:
Total Cost
Always visible
Budget Used
Only when Root has set a budget limit
Monthly Projection
Always visible (after β₯ 3 days in the month)
Cost breakdown:
Cost by Agent: Table + chart; click an agent row β filters the entire dashboard to that agent
Cost by Provider: Doughnut chart β OpenAI / Anthropic / VNG AIP with % contribution
Cost by Model: Table + chart β Model Name, Provider, Total Cost, % of Total; sortable by cost descending
Monthly Cost Trend: Bar/line chart β daily cost for the current month; hover tooltip shows date, total cost, and request count
Role-based Visibility
Root
Full org data (all agents, providers, models, MaaS/Runtime) + access to Budget & Alerts
Admin
Full org data β no access to Budget & Alerts
Viewer
Full org data β no access to Budget & Alerts
Member
Only data for agents they created; Others (MaaS) option is not shown
Result
Set a budget limit and receive alerts
Usage & Budget overview
Last updated

