AI Usage Daily Report Design: Metrics, Definitions, and Period-over-Period Analysis
As organizations move AI applications from pilots to large-scale production, daily AI usage reports become essential for tracking adoption, cost, efficiency, and abnormal changes. This article presents a practical design for an AI usage daily report that remains clear, reproducible, and actionable. It covers metric layering, metric-definition governance, collection and aggregation pipelines, period-over-period calculations, anomaly attribution, and pre-publication checklists. It also includes illustrative examples and Python reference code for reproducible change calculations and weighted scoring.
1. Why an AI Usage Daily Report Must Stand Up to Scrutiny
As large model applications move from pilot projects to large-scale production, the key question is no longer only “can we use them,” but “how much are we using them, are they cost-effective, and are changes controllable.”
Usage data is often scattered across multiple systems, including application gateways, logs, monitoring systems, and billing systems. Scenarios such as model invocation, AI-assisted coding, knowledge Q&A, and data analysis overlap with one another. Without unified metric definitions and a stable process, a daily report can easily become a pile of numbers that cannot be explained once questioned.
A qualified AI usage daily report should meet at least four requirements:
- Clear definitions: Every metric should have an explicit definition, statistical scope, and calculation method so that readers do not need to ask follow-up questions.
- Traceable definitions: Historical data should be preserved under its original definition, and any definition change should be traceable and explainable.
- Reproducible period-over-period comparisons: Changes in amount, percentage, and contribution decomposition should be auditable.
- Actionable conclusions: The report should point to next actions, such as capacity evaluation, cost optimization, or anomaly investigation.
This article uses a sample daily report containing three types of metrics as an example: weekly usage of model entries, weekly usage of Agent applications, and representative company valuations. All values in the examples are illustrative and are used to explain the design logic behind the report.
2. Metric Layering: Clarify the Question Each Metric Answers
A common problem with daily reports is that they contain too many metrics without a clear priority. The root cause is that different metrics answer different questions and therefore have different requirements for data freshness and quality.
A practical metric system can be divided into four layers:
| Metric Layer | Question It Answers | Typical Metrics | Key Characteristics |
|---|---|---|---|
| Scale layer | How much is being used? | Number of entries, call volume, processed tokens, active application count | Reflects coverage and penetration; duplicate counting must be avoided |
| Cost layer | How much is being spent? | Call volume, cost, average cost per task | Strongly related to billing method and settlement cycle |
| Efficiency layer | How well is it being used? | Task success rate, rework rate, manual adoption rate, first-token latency, throughput | Requires linking usage data with business outcomes |
| Reference layer | Where does it stand externally? | Industry valuations, market size, public benchmarks | Low update frequency; used only as background reference and not included in daily period-over-period comparisons |
Once metrics are layered, the reading order of the daily report becomes clearer: first review the overall trend of scale and cost, then check whether efficiency metrics have degraded, and finally use reference metrics to understand external positioning.
A particularly important point is that reference-layer metrics should not be mixed with daily or weekly metrics in a trend chart.
For example, the sample report includes “representative company valuations.” This metric is usually aggregated from the latest public or market-formed valuation data for selected companies, and it is often updated weekly or monthly. If it is placed alongside daily or weekly usage data and labeled “no period-over-period change,” readers may incorrectly assume that “nothing happened in the market during this period.”
A more reasonable approach is:
- Mark the update frequency and data cutoff date separately for each metric.
- Present reference-layer metrics as a “current reference value,” record changes, and indicate the data cutoff time.
- If a metric has not been updated in the current month, clearly mark it as “carried forward from the previous period” rather than displaying “unchanged.”
3. Metric Definition Management: Turn Definition Changes into a Release Process
The sample report includes a column named “composite score (new definition).” This practice is worth borrowing: it allows readers to compare old and new definitions while clearly explaining what has changed.
A metric definition is a set of rules for statistical measurement. At minimum, it should include:
- Metric definition
- Calculation formula
- Statistical scope, including which entries are included and how duplicates are removed
- Time window, such as calendar day, rolling 24 hours, or calendar week
- Data sources
In engineering practice, it is recommended to build a metric dictionary and register each metric in a structured way:
| Field | Example |
|---|---|
| Metric code | metric_agent_weekly_calls |
| Metric name | Weekly usage of Agent applications |
| Statistical object | Agent applications included in statistics |
| Calculation formula | Sum of valid calls of applications included in the period |
| Statistical scope | Applications connected to metering and in enabled status; deduplicated by unique application ID |
| Time window | Calendar week, from Monday 00:00 to Sunday 23:59 |
| Data sources | Metering details, application list |
| Current version | v2, effective from 2026-11-23 |
Metric definition changes should follow a version-management process. The order should not be reversed:
- Change review: Explain the reason for the change, such as an expanded statistical scope or an adjusted deduplication rule, and assess the impact on historical data.
- Parallel calculation: Run old and new definitions in parallel for at least one complete period and confirm that the differences can be explained.
- Official release: Increment the version number in the metric dictionary and record the effective time.
- Preserve the old version: Keep historical daily reports unchanged under the original definition, and provide an old-versus-new comparison in new reports.
- Backfill data: If continuous trends are required, recalculate historical data using the new definition and show both sets of curves.
In the sample, cost-related metrics use an “amount ± percentage range” definition, with an illustrative range from -2.8% to 40%. The composite score uses a weighted 100-point scale. These two types of metrics cannot be compared directly by magnitude. Labeling the metric definition separately for different leaderboards is a responsible practice for readers.
4. Collection and Computation Pipeline: Making the Daily Report Reproducible
4.1 Layered Architecture
| Layer | Main Responsibilities | Common Implementation Points |
|---|---|---|
| Collection layer | Applications, Agents, and model services generate invocation and task events | Collect at a unified access point; each event carries event time, creation time, source, and version |
| Access layer | Buffer traffic peaks and ensure no loss or duplication | Use a message queue; use at-least-once delivery plus consumer-side idempotency |
| Detail layer | Preserve traceable raw facts | Use partitioned detail storage, partitioned by statistical date and version |
| Aggregation layer | Aggregate by day or week and calculate metrics at each layer | Use scheduled jobs that support failure retry and partition-level backfill |
| Presentation layer | Generate the daily report and support dimensional drill-down | Use dashboards and report services; perform data quality checks before display |
4.2 Core Detail Table Design
| Field | Description |
|---|---|
event_id |
Unique event identifier, used for idempotent deduplication |
event_time |
Actual time the event occurred; the time zone must be globally consistent |
create_time |
Time the event was created or reported, used to detect delayed reporting |
source_type |
Event type, such as model call or Agent call |
subject_id |
Subject identifier, such as model identifier or application identifier |
dimension |
Business dimension, such as department, project, or scenario |
amount |
Measurement amount, such as number of calls or number of tokens |
cost |
Cost amount, if billing applies to the event |
status |
Execution result, such as success, failure, or canceled |
4.3 Four Statistical Details That Must Be Handled
Time attribution: Assign the statistical date based on
event_time, and reserve a late-arrival window, such as T+1 backfill. If an event arrives later than the window, the corresponding date must be recalculated. This also means that a “real-time daily report” represents interim data, and formal results should be based on the data after backfill.Idempotency and deduplication: Use
event_idas the idempotency key. Duplicate events generated by retries should be handled by taking the last valid status, avoiding inflated call volumes.Metric definition version binding: Each record in the summary table should store both the metric code and the version number, ensuring that the number for any given day can be traced back to the rules in effect at that time.
Data quality validation: Before publication, check for null values, negative values, duplicate keys, and abnormal spikes. If validation fails, block publication and trigger an alert instead of continuing to produce the report as usual.
5. Scoring and Period-over-Period Analysis: From Direction to Magnitude
5.1 Amount-Based Metrics and Weighted Scoring
Amount-based metrics are direct, additive, and suitable for measuring scale and cost. However, they are affected by unit price, billing method, and settlement cycle. Absolute amounts between different subjects should not be compared directly.
Weighted 100-point scoring normalizes metrics with different units and aggregates them into a 0–100 score. It is suitable for comprehensive evaluation. There are three key design points:
- Baseline source: Use a fixed baseline, such as an initial baseline, or use current-period horizontal ranking with range or percentile normalization. Horizontal ranking is inherently relative: if all subjects improve proportionally, the scores remain unchanged. This must be explained clearly when interpreting the score.
- Weight source: Weights may be derived from expert scoring, analytic hierarchy process, or business goals. Weights should also be versioned.
- Score calibration: When new metrics or new subjects are added, historical scores should be recalculated to avoid rank jumps.
5.2 Change Amount, Change Rate, and Fluctuation Range
The sample report states that the weekly usage of a certain category decreased by 560,000, or -0.8%. If 72.33 million is used as the value after the change, the previous value is approximately 72.89 million. Dividing 560,000 by 72.89 million gives approximately 0.77%. If the report directly labels this as -0.8% after rounding, there is a discrepancy with the reverse calculation.
The problem is usually that the change rate is calculated from an unrounded precise value, while the change amount is taken from a rounded display value. The two therefore use inconsistent precision. In engineering practice, the following rules should be applied consistently:
- All calculations should be based on unrounded raw values.
- Rounding should occur only at the presentation stage, and the change amount and change rate should use the same precision.
- When showing a negative change, the wording should remain consistent in direction, such as “decreased by 560,000” and “-0.8%.”
5.3 Reference Implementation for Period-over-Period Calculation
from decimal import Decimal, ROUND_HALF_UPdef mom(current: float, previous: float, digits: int = 4):"""Calculate period-over-period change.Returns (absolute change, percentage change).- All calculations use raw values; rounding happens only for display.- If the previous period is 0, the percentage change cannot be calculated.In this case, None is returned and the presentation layer should show a message.- Decimal is used to avoid binary floating-point errors and keep results reproducible."""if previous == 0:return None, Nonecur = Decimal(str(current))prev = Decimal(str(previous))delta = cur - prevrate = delta / prev * 100quantum = Decimal(1).scaleb(-digits)return float(delta.quantize(quantum, rounding=ROUND_HALF_UP)), float(rate.quantize(quantum, rounding=ROUND_HALF_UP))def weighted_score(values, weights):"""Normalize each metric to [0, 1] using range scaling and compute a 0-100 composite score.values and weights are dictionaries with the same length.If there is only one subject, the function returns 50, meaning the subject is in the middle of the reference group."""subjects = list(values.keys())if not all(w >= 0 for w in weights.values()) or abs(sum(weights.values()) - 1.0) > 1e-9:raise ValueError("Weights must be non-negative and sum to 1")score = {}for metric, w in weights.items():raw = [values[s][metric] for s in subjects]lo, hi = min(raw), max(raw)for s, v in zip(subjects, raw):norm = 0.5 if hi == lo else (v - lo) / (hi - lo)score[s] = score.get(s, 0.0) + w * normreturn {s: round(v * 100, 2) for s, v in score.items()}# Example: weekly usage of one type of application (illustrative data)delta, rate = mom(72_330_000, 72_330_000 + 560_000, digits=2)print(f"Change: {delta:+,.0f}, Rate: {rate:+.2f}%") # -560000, -0.77%# Example: composite score (illustrative data)# Weights: calls 0.4, success 0.3, adoption 0.3values = {"app_a": {"calls": 1200, "success": 0.96, "adoption": 0.72},"app_b": {"calls": 980, "success": 0.91, "adoption": 0.65},"app_c": {"calls": 1500, "success": 0.98, "adoption": 0.80},}weights = {"calls": 0.4, "success": 0.3, "adoption": 0.3}print(weighted_score(values, weights)) # {'app_a': 52.35, 'app_b': 0.0, 'app_c': 100.0}
6. Period-over-Period Fluctuations and Attribution: From “It Decreased” to “Why It Decreased”
6.1 Normal Fluctuations and Abnormal Fluctuations
In the sample, two weekly usage metrics decreased by 0.8% and 1.3%. By magnitude alone, these changes are not necessarily abnormal. To determine whether a change is abnormal, three references are needed:
- Historical distribution: Calculate the standard deviation from period-over-period data over previous periods. A change exceeding 2 to 3 standard deviations may be considered abnormal.
- Absolute threshold: Set a minimum fluctuation threshold, such as 1%, to filter out small relative changes caused by large base values.
- Business events: Check whether there were releases, policy changes, holidays, or other influencing factors during the statistical period.
Only by combining these three references can “fluctuations worth attention” be distinguished from normal noise.
6.2 Contribution Decomposition
When a significant change occurs, the report should not only state the total change. It should also break the change down by dimension:
- Volume effect: Changes caused by an increase or decrease in the number of entries.
- Structure effect: Changes caused by shifts in the share of each entry.
- Single-point effect: Extreme fluctuations in individual entries.
A simplified example is as follows: total usage = Σ entry-level usage. Then:
Total change = Σ (current usage_i − previous usage_i)= Σ entry-level contribution_i
After sorting by absolute contribution, the daily report can directly show “the top five entries with the largest contribution, together with each entry’s change amount and change rate.” This allows readers to identify the source of the problem immediately.
6.3 Reasonable Value Ranges and Anomaly Signals
If cost-related metrics are presented as percentage ranges, such as -2.8% to 40%, the meaning of the range must be explained. If the range represents the distribution of period-over-period change rates across entries, then an upper limit of 40% is itself a signal that requires attention. At least two areas should be checked:
- Metering definition: Determine whether new entries are being included for the first time or whether the metering method has changed.
- Cost structure: Determine whether call volume has increased for high-unit-price scenarios, whether retries have increased, or whether task complexity has increased.
The report should mark “cause to be confirmed” next to the corresponding entry so that readers do not misinterpret a definition issue as a cost surge.
7. Daily Report Output and Governance
7.1 Output Order
- Core conclusions: Keep it to three items or fewer. Directly answer “what happened,” “how large is the impact,” and “is action required.”
- Key metric table: Include current value, previous value, change amount, change rate, metric definition version, and data cutoff time.
- Anomalies and items to be confirmed: List entries with abnormal fluctuations or unclear causes, and specify the responsible owner.
- Metric definition change notes: Describe what changed, when it became effective, and how it affects historical data.
- Drill-down entry points: Allow readers to drill down from summary numbers to entry-level details and raw events.
7.2 Pre-Publication Checklist
- All data sources have arrived completely, and delayed backfill tasks are finished.
- All data quality checks pass, including null values, negative values, duplicate keys, and abnormal spikes.
- Every metric is labeled with its metric definition version and statistical cutoff time.
- Reference-layer metrics clearly indicate the data cutoff time and whether they are carried forward.
- Change amount and change rate use the same precision, and the direction of change is expressed consistently.
- Abnormal fluctuations include preliminary attribution or a “to be confirmed” mark.
- The previous report and current data can be compared and recalculated.
7.3 Technical Hosting
For architecture selection, mature industry patterns can be used:
- Define unified instrumentation standards at the collection side.
- Use a message queue to buffer reporting traffic.
- Use partitioned storage and batch processing to complete daily and weekly aggregation.
- Use object storage to archive daily reports and snapshots for traceability.
- Use logging, monitoring, and alerting to notify responsible owners promptly when data is delayed or abnormal.
Cloud platforms such as Baidu AI Cloud provide general-purpose cloud product categories covering the above stages and can be one optional foundation for enterprises building such daily-report systems.
8. Conclusion
The value of a daily report is not in how large the numbers are, but in whether the changes can be explained clearly.
By achieving metric layering, versioned metric definitions, reproducible pipelines, decomposable period-over-period changes, and attributable anomalies, a daily report can evolve from a simple information display page into a decision-making reference. For rapidly growing AI applications, this rigorous data governance capability is precisely the foundation needed to support healthy and controllable development.
