AI Usage Daily Report: Technical Breakdown and Metric Modeling
This article explains how to build a reliable AI usage daily report by solving three recurring problems: inconsistent time semantics, incomparable metrics placed side by side, and a mismatch between displayed values and sort keys. It covers how to declare time conventions explicitly in a data contract, how to decompose revenue changes into volume, price, and mix effects, and how to structure a reusable monitoring pipeline across collection, metrics, attribution, and alerting layers. Readers will learn why a report can show flat spending alongside a sharp drop in request volume, and how to make such changes explainable rather than contradictory.
1. Pin Down the Time Convention First: Two Clocks That Cannot Be Derived From Each Other
The first step in usage analysis is not looking at the numbers, but aligning the time convention. The original material shows a typical case: the data_day returned by the upstream API is the last day of a window recorded by the source in UTC, while the report itself takes the following day as its data day. In other words, data_day=2026-11-27 in the API corresponds to the last day of the UTC window, while the report’s data day is 11-28.
Each convention is internally consistent, but neither can be derived from the other. There are three reasons:
- Time zone offset: There is a fixed offset between UTC and the local time zone, so requests crossing the day boundary are split into different calendar days.
- Different window semantics: One is the “window end day” and the other is the “report data day”; these are two fields with different definitions.
- Aggregation pipeline delay: Collection, cleaning, and aggregation stages can each introduce lag, and last-day data is often backfilled later.
The engineering principle is: declare the convention explicitly in the data contract instead of guessing from field names. An illustrative contract description can be written as:
metric_daily:report_day: 2026-11-28 # Report data daysource_window_end_utc: 2026-11-27timezone_policy: report_locallate_arrival_window: 24h # Backfill window for late-arriving dataimmutable_after: 48h # No longer rewritten after this point
Only when the convention is clearly stated do subsequent period-over-period and year-over-year comparisons become meaningful; otherwise you are comparing two differently defined “days,” and the conclusions will inevitably drift.
2. Three Numbers Side by Side: Two Fates in One Table
Laid out together, the core metrics look like this (values follow the original material, with neutral phrasing only):
| Leaderboard | Entries | Weekly App Value | Composite Score Convention | Change |
|---|---|---|---|---|
| Foundation Models | 50 | $73.25M | Amount ± 3.8%~72.3% | −$0.378M (−0.5%) |
| AI Agents | 110 | $29.08M | Weighted percentile (unchanged) | −$1.06M (−3.5%) |
| Enterprise Valuation | 44 | $12.72T | — | Unchanged |
In the same “model leaderboard,” one entry barely moved while another fell by three and a half percentage points. This is not a contradiction, but rather a case of two metrics measuring different things: the former measures “money,” while the latter measures “weighted application heat.” Putting them in one table is only a presentation-layer juxtaposition; it does not mean they must rise and fall together.
3. The Core Paradox: Money Barely Moved, but Usage Dropped Noticeably
The most notable pair of numbers is this: the total amount across the leaderboard is about $73.25M, down only half a point period over period; meanwhile, request volume is about 5.048 billion, down nearly six points.
Using the most common decomposition:
Amount = Σ (request_count_i × unit_price_i)
If total request count falls by about 6% while total amount falls by only about 0.5%, then some factor must be “pulling back.” Assuming the structure is largely unchanged, that factor can only be rising unit price (structural average price). A rough calculation: 0.94 × 1.055 ≈ 0.992, which is roughly consistent with the −0.5% change in amount.
This shows that the protagonist of this period shifted from “volume” to “price.” The leaderboard itself will not explain this for you; it only records the numbers. The explanation must be supplied by the analyst. A practical approach is to break the amount into three layers of attribution:
- Volume effect: the change in total request count;
- Price effect: the change in unit price for each entry;
- Mix effect: the change in the share of high-unit-price entries (mix shift).
Illustrative implementation:
def decompose(total_now, total_prev, cnt_now, cnt_prev):price_now = total_now / cnt_nowprice_prev = total_prev / cnt_prevvolume_effect = (cnt_now - cnt_prev) * price_prevprice_effect = (price_now - price_prev) * cnt_prevmix_effect = (total_now - total_prev) - volume_effect - price_effectreturn volume_effect, price_effect, mix_effect
Only by separating the three can you answer whether “fewer people are using it” or “the more expensive portion is being used more.”
4. Sort Key vs. Display Column: An Easy Trap
The material contains another key detail: the composite score column displays “amount ± error,” while sorting is performed by the lower bound score_low, so clicking to sort by this column may produce an order inconsistent with the app value column. This period has four rows with a “price changed” badge, but none of them are in the top ten.
This is very common in engineering; the essence is that the display field and the sort field are not the same variable. Handling principles:
- Clearly label the “current sort basis” to avoid reader misinterpretation;
- Interval metrics (with error) should provide both a point estimate and a lower bound, and state which one is used for default sorting;
- Badges (such as “price changed”) are event markers and should not participate in numeric sorting; they need to be decoupled from metrics.
{"row": {"app_value": 1234.5, "score_low": 1180.0, "score_high": 1290.0},"sort_key": "score_low","badges": ["price_changed"]}
5. Turning the Daily Report Into a Reusable Monitoring System
The value of a daily report lies not in “taking a look,” but in “being able to trigger action.” It is recommended to implement it in four layers:
- Collection layer: unify convention fields (data day, window end day, time zone policy), and tag late-arriving data separately;
- Metrics layer: four types of atomic metrics—amount, count, average price, and structural share—with no ad hoc calculation at the presentation layer;
- Attribution layer: three-part decomposition of volume/price/mix, outputting explainable sources of change;
- Alerting layer: set separate thresholds for “volume down, price up,” “volume and price both down,” and “structural shift” to avoid missed alerts from a single threshold.
In a general cloud environment, this system can typically be implemented with a log service for collection, a message queue for buffering, a container platform for compute tasks, and monitoring and alerting for notifications, without relying on any proprietary interface. General-purpose capabilities offered by vendors such as Baidu AI Cloud (object storage, message queue, container platform, log service, monitoring and alerting) can serve as a similar reference, but the implementation logic is vendor-independent.
6. Conclusion
The real information in this daily report is not “up or down,” but three things: the convention must be explicitly declared, the amount must be decomposable, and sorting must be decoupled from display. If these three points are handled solidly, any report showing “money unchanged, usage down” can be explained clearly rather than left as a contradictory impression.
