AI Usage Daily Reports: Technical Interpretation and Metric Definition Alignment

    This article breaks down the technical design behind AI usage daily reports, focusing on how conflicting date semantics, price-versus-volume effects, and ranking logic can distort downstream analysis. It explains how to model time windows and time zones explicitly, decompose revenue changes into structural and volume effects, separate display fields from sorting keys, and build a reusable five-layer data pipeline. Readers will find a practical validation checklist for keeping reports reproducible and consistent across backfills and recalculations.

    1. Where the Problem Starts: Two Rulers in One Daily Report

    When building an AI usage monitoring system, the most error-prone part is often not model capability but time semantics. A typical case from the original daily report: the API returns data_day as 2026-11-28, which is the last day of the window recorded by the source in UTC, while the report itself labels the data day as 11-29, the day after the window’s last day. The two differ by one day and cannot be derived from each other.

    This is not a typo, but a superposition of two semantics:

    • Window semantics: The statistical interval is a time range that is either left-closed and right-open or left-closed and right-closed, and data_day represents the last day of that interval.
    • Publishing semantics: The data day indicates “which day’s state this report describes,” and it usually falls on the day after the window ends.

    If the two are treated as the same field, three typical failures appear: the daily report and the dashboard differ by one day, year-over-year and period-over-period comparisons are misaligned, and alerts fire at the wrong time. The correct engineering practice is to model the semantics explicitly rather than relying on comments or conventions.

    1. {
    2. "window_start": "2026-11-22T00:00:00Z",
    3. "window_end": "2026-11-28T23:59:59Z",
    4. "data_day": "2026-11-28",
    5. "publish_day": "2026-11-29",
    6. "tz": "UTC",
    7. "publish_tz": "UTC+8"
    8. }

    The key point is that the time zone and window boundaries must be stored as first-class fields, and all downstream aggregation must be computed from these two fields rather than inferred backward from data_day. Once backward inference is allowed, cross-time-zone backfills, historical recalculations, and canary dual-runs will immediately become distorted.

    2. Price Unchanged but Amount Rising: A General Method for Volume-Price Decomposition

    The most interesting phenomenon this period is that the unit price of every item remained unchanged, yet the total amount rose by 2.1%, from about USD 73.25 million in the previous period to USD 74.82 million, an increase of about USD 1.57 million. Over the same period, request volume fell from about 5.048 billion to 5.045 billion, a change of about −0.06%.

    Unchanged unit prices, a slight decline in request volume, and a rising amount are only self-consistent under a “structural change.” The general volume-price decomposition used in usage analysis can be written as:

    1. Total amount = Σ(item unit price_i × item usage_i)
    2. Amount change ≈ structural effect + volume effect + interaction term

    When each item’s unit price is fixed, the increase in amount can only come from a higher share of high-priced items, meaning the structural effect dominates. The previous period showed the opposite pattern: request volume fell by nearly six percentage points while the amount barely moved, indicating that the volume effect was offset by the structural effect. Put together, the two periods form two directions of the same problem: looking only at the amount would misjudge it as demand expansion, while looking only at request volume would misjudge it as demand contraction.

    Therefore, a daily-report dashboard should present at least three dimensions at the same time: amount, request volume, and average price per request (amount/request volume). The average price is the most sensitive indicator for identifying structural change; when it stays flat while the amount moves, it is almost possible to conclude directly that a structural shift has occurred.

    3. Rankings and Composite Scores: Sorting Fields Must Be Declared Explicitly

    The original daily report lists three rankings: the base model ranking with 50 items and an application value of USD 74.82 million; the AI Agents ranking with 110 items and an application value of USD 29.89 million, up about USD 0.81 million (+2.8%) period over period; and the enterprise valuation ranking with 44 companies and a total of USD 12.72 trillion, unchanged this period.

    The semantics of the composite column is “amount ± error,” while clicking to sort is based on the lower bound score_lo, so the sorting result may be inconsistent with the application value column. This period no item changed price, so no price-change badge appears.

    In engineering implementation, this corresponds to a hard rule: separate display fields from sorting fields and label them explicitly in the interface. Otherwise, users will think sorting is “broken.” A recommended data structure is as follows:

    1. {
    2. "name": "Item A",
    3. "value": 1200000,
    4. "error": 80000,
    5. "score_lo": 1120000,
    6. "score_hi": 1280000,
    7. "price_changed": false
    8. }

    The sorting key, display value, error interval, and price-change flag are stored independently, and the frontend is only responsible for rendering and does not participate in any inference. This also ensures the reproducibility of historical rankings during backfills or recalculations.

    4. Turning the Daily Report into a Reusable Data Pipeline

    To produce this type of daily report reliably, it is recommended to split it into five layers:

    1. Collection layer: Split raw usage events by UTC windows and write them to object storage for cold backup.
    2. Detail layer: Buffer peak traffic with a message queue to ensure events are not lost and can be replayed.
    3. Aggregation layer: Generate amount and request volume metrics by day and by item, while preserving error intervals.
    4. Definition layer: Centrally manage time zones, window boundaries, and publish-day offsets, and prohibit downstream systems from deriving them on their own.
    5. Presentation layer: The container platform hosts the dashboard service, while the logging service and monitoring alerts handle warnings for data latency and definition drift.

    In typical Baidu AI Cloud practice, the above capabilities can be handled by general categories such as object storage, message queue, container platform, logging service, and monitoring alerts, while the definition layer is recommended to be an independent service and the single source of truth.

    5. Validation Checklist

    • Are the data day and the window’s last day stored in separate fields and labeled with a time zone?
    • Are amount, request volume, and average price displayed on the same screen?
    • Is the sorting key separated from the display value and labeled?
    • In periods with no price changes, is the price-change flag explicitly not shown?
    • After a backfill, can the pipeline be replayed and reproduce historical rankings?
    • Is the period-over-period definition strictly aligned with the previous published version?

    Govern definitions like code, and the daily report will no longer be repeatedly misled by “two rulers.”