A monitoring entity that tracks AI inference costs per feature, model, and time period.
An AI cost tracker accounts for token and inference spend, attributed to the model, featureFeatureProduct SpecificationA product capability or featureView reference →, or user that incurred it. It treats the cost of thinking as a first-class product constraintConstraintStrategyA constraint entityView reference →, which is what the language-model era forced on teams that once treated compute as a rounding error.
The needNeedUserA user need, pain, desire, or constraintView reference → is specific to metered inference. A traditional web feature costs roughly the same to serve whether a user clicks once or a hundred times; an AI feature bills per token on every call, and a verbose prompt or a runaway agent loop can multiply that quietly. Practitioners now recommend token-level cost tracking that attributes spend to applications, users, and use cases, so a team can say a single AI-resolved support ticketSupport TicketCustomer SuccessCustomer support request or issueView reference → costs a known amount and set budgets and alerts per feature. The pressure is rising: API prices have been widely described as subsidised, with sizeable increases expected as vendors move toward sustainable margins, which makes per-feature cost a number worth watching before it moves.
A product has two AI features: a cheap autocomplete and an expensive document summariser. The cost tracker tags every model call with its feature. After a month it shows autocomplete at £0.002 per use across 400,000 uses, and summarisation at £0.18 per use across 9,000 uses. Summarisation, the lower-traffic feature, is the larger line item. That single fact reroutes the roadmapRoadmapProduct SpecificationA strategic plan of features and milestonesView reference →: the team caps summary length and routes short documents to a smaller model, cutting that feature's cost by half without users noticing.
In the Unified Product Graph, an AI Cost Tracker sits in the AI region and bridges into the business region. The model it measures connects through AI Modelcosted byAI Cost Trackerhierarchy, and its output flows upward through ai_model_costed_by_ai_cost_trackerAI Cost TrackerfeedsCost Structurecross-domain. That second edge is the point: it wires a technical observability artefact directly into the product's economics, so a model's token bill is never a fact stranded in an engineering dashboardDashboardData & AnalyticsAn analytics dashboardView reference →.ai_cost_tracker_feeds_cost_structure
Type-specific fields on BaseNode
periodstringTracked period (e.g. "2026-Q1", "2026-04")
total_costnumberTotal spend across all models
total_requestsnumberTotal API requests
avg_cost_per_requestnumberAverage cost per request
input_tokensnumberTotal input tokens
output_tokensnumberTotal output tokens
cost_by_modelobjectCost breakdown by model (name → USD)
budget_limitnumberSpend ceiling for the period
budget_alert_thresholdnumberAlert threshold (spend percentage)
idstringrequiredUnique identifier (UUID)
typeNodeTyperequiredDiscriminator for the entity type
titlestringrequiredDisplay name
descriptionstringOptional detailed description
statusstringLifecycle status
tagsstring[]Freeform tags for filtering
2 edge types connected to this entity.
ai_model_costed_by_ai_cost_trackerai_cost_tracker_feeds_cost_structure