Scaling AI in the Workplace: Understanding DAU and Token Metrics

    As large language models move from trials into daily office work, teams need reusable metrics beyond registrations and cumulative API calls. This article explains how to define and combine daily active users (DAU) and token usage, interpret usage breadth and depth, avoid common metric misreadings, design collection and reporting architecture, and plan retention, capacity, cost, and data governance.

    1. Background: AI in the Workplace Moves from Trials to Scale

    As large language model capabilities enter daily office work, scenarios such as document drafting, meeting-notes summarization, spreadsheet analysis, and coding assistance are generating steady usage demand. In the early stage, teams focused on whether anyone was using the tools. In the scaling stage, the question becomes how deeply the tools are used, where they are used, and how many resources they consume.

    This shift requires technical teams to establish a reusable metric system. Looking only at registered users or cumulative call counts cannot answer three key questions: whether the tool has formed a sustained usage habit, whether the resource cost per use is reasonable, and how much value differs across business scenarios.

    This article focuses on two foundational metrics: daily active users (DAU) and token usage. Used together, they describe both usage breadth and usage depth.

    2. Core Metric Definitions and Calculation Scope

    2.1 Daily Active Users (DAU)

    DAU refers to the number of deduplicated users who complete at least one valid interaction each day during the measurement period. Three scope decisions must be clarified before calculation:

    1. Definition of a valid interaction. Logging in does not equal valid usage. A common definition is “initiating a request and receiving a complete response” or “completing a task.”
    2. Granularity of user identity. Counting by account is closer to the real number of users. Counting by device can be inflated by multi-device usage.
    3. Measurement time zone. Cross-regional teams should use the same time zone to split calendar days. Otherwise, the same batch of requests may fall into different dates and cause daily metric fluctuations.

    2.2 Token Usage

    A token is the basic unit used by large language models to process text. Both input and output are split into tokens. Average daily token usage is calculated as follows:

    Average daily token usage = sum of input tokens and output tokens during the measurement period ÷ number of measurement days

    Note that different models use different tokenization rules. The same Chinese text may produce significantly different token counts under different models. Therefore, comparing token counts across models requires conversion first, or trends should be compared only within the same model.

    2.3 Interpreting the Two Metrics Together

    Token usage per user can be derived from the following relationship:

    Token usage per user = total token usage for the day ÷ DAU for the day

    This ratio reflects the average usage intensity per user:

    • High DAU and low token usage per user: Most users are in a light trial stage. Scenario guidance can be used to increase deeper usage.
    • Low DAU and high token usage per user: A small number of users are using the tool intensively. Teams should check whether usage is concentrated in a few business scenarios and whether the input-output balance of those scenarios is reasonable.
    • DAU and token usage per user rising together: This usually indicates that product value has been confirmed, and it also means costs are entering a period of rapid growth. Capacity and cost planning should be done in advance.

    3. Common Misreadings and How to Avoid Them

    The following misreadings appear frequently in practical reviews.

    Misreading 1: Looking only at peak DAU and ignoring retention. DAU on a single day may spike because of an event, training, or notification. Next-day retention and 7-day retention should also be observed to determine whether growth is sustainable.

    Misreading 2: Treating total token volume as an outcome metric. More tokens do not necessarily mean higher value. Repeatedly submitting long contexts, retrying failed requests, and overly long model outputs can all increase token usage. Outcome evaluation should combine business metrics such as task completion rate and human adoption rate.

    Misreading 3: Comparing across systems with inconsistent definitions. One system may count “opening a page” as active, while another counts “completing a task” as active. The numbers are not comparable. Definitions must be documented and aligned before comparison.

    Misreading 4: Ignoring the cost-side relationship. Token consumption is directly tied to inference cost. Focusing only on user growth without calculating unit cost can lead to a situation where scale expands but profit declines.

    4. Technical Architecture for the Metric System

    A usable metric system usually contains four layers.

    Layer Main responsibility Common implementation approach
    Collection Record events such as request start, model call, response end, and task completion Instrument business services and standardize the event format
    Storage Store raw logs and aggregated results Write raw logs to object storage and aggregated results to a data warehouse
    Computation Aggregate metrics by day, user, and scenario Scheduled jobs or stream processing
    Presentation and alerting Present dashboards and notify abnormal fluctuations Configure monitoring alert thresholds, such as token usage spikes exceeding the baseline by a certain percentage

    4.1 Example Code: Daily Metric Aggregation

    The following example uses the Python standard library to demonstrate how to calculate daily DAU, total token usage, and token usage per user from event records. The code is only intended to illustrate the calculation logic. A production system needs to choose batch or stream processing frameworks based on data volume.

    1. from dataclasses import dataclass
    2. from datetime import date
    3. from collections import defaultdict
    4. @dataclass
    5. class UsageEvent:
    6. user_id: str
    7. day: date
    8. input_tokens: int
    9. output_tokens: int
    10. scene: str # Business scenario, e.g., documents, spreadsheets, meeting notes
    11. def daily_metrics(events: list[UsageEvent]) -> dict:
    12. """Aggregate DAU, total tokens, and tokens per user by calendar day."""
    13. active_users = defaultdict(set)
    14. total_tokens = defaultdict(int)
    15. for e in events:
    16. active_users[e.day].add(e.user_id)
    17. total_tokens[e.day] += e.input_tokens + e.output_tokens
    18. result = {}
    19. for day in sorted(active_users):
    20. dau = len(active_users[day])
    21. tokens = total_tokens[day]
    22. result[day] = {
    23. "dau": dau,
    24. "total_tokens": tokens,
    25. "tokens_per_user": round(tokens / dau, 2) if dau else 0.0,
    26. }
    27. return result

    The set in the code deduplicates multiple interactions by the same user, ensuring that DAU is calculated by user count rather than by request count.

    4.2 Example Code: Scenario Share and Percentile Analysis

    The average token usage per user can be pulled up by a small number of heavy users. Therefore, analysis should also examine the median and percentiles. The following example calculates token share by scenario and computes the median daily usage per user.

    1. import statistics
    2. from collections import defaultdict
    3. def scene_share(events) -> dict:
    4. """Calculate the token share of each business scenario."""
    5. by_scene = defaultdict(int)
    6. for e in events:
    7. by_scene[e.scene] += e.input_tokens + e.output_tokens
    8. grand_total = sum(by_scene.values())
    9. if grand_total == 0:
    10. return {}
    11. return {
    12. scene: round(tokens / grand_total, 4)
    13. for scene, tokens in sorted(by_scene.items(), key=lambda x: -x[1])
    14. }
    15. def median_tokens_per_user(events) -> float:
    16. """Calculate the median token usage per user within a single day."""
    17. per_user = defaultdict(int)
    18. for e in events:
    19. per_user[e.user_id] += e.input_tokens + e.output_tokens
    20. if not per_user:
    21. return 0.0
    22. return statistics.median(per_user.values())

    If the median is significantly lower than the average, it usually means heavy users account for a high proportion of usage. The usage scenarios of this group should be analyzed separately.

    5. Interpreting Retention and Growth

    Retention is a core metric for judging growth quality. Two common definitions are:

    • Next-day retention: The proportion of users acquired on a given day who still have valid interactions the next day.
    • 7-day retention: The proportion of users acquired on a given day who still have valid interactions on day 7.

    A retention curve that levels off indicates that some users have formed a long-term usage habit. If retention continues to decline, the first-time experience or scenario fit for new users may have problems. In that case, simply expanding promotion will only increase costs without bringing stable active users.

    When interpreting DAU, teams should also distinguish organic growth from event-driven growth. If a DAU peak drops quickly afterward, it is likely related to a one-time event. If the peak remains near a new baseline afterward, it indicates that product value has been continuously validated.

    6. Cost and Capacity Planning

    There is a direct relationship between token usage and cost. Cost estimation can be performed as follows:

    Period cost ≈ total tokens during the period × unit token price

    The unit price is based on the prices published by the service provider. Prices may differ by model and by input and output type. Planning should calculate input and output costs separately and reserve some margin for fluctuation.

    Capacity planning also needs to account for peaks. A common approach is to take request volume during weekday peak hours, multiply it by average token consumption per request, and add a safety factor. This becomes the basis for quotas and concurrency limits.

    Common approaches to reducing token costs include:

    1. Streamline prompts: Remove repeated background descriptions and keep only the information required to complete the task.
    2. Trim context: Keep only recent key turns in long conversations and replace historical content with summaries.
    3. Cache results: Cache stable outputs for identical inputs to avoid repeated calls.
    4. Choose model specifications by task: Use lightweight models for simple classification, format conversion, and similar tasks. Call higher-capability models for complex reasoning tasks.
    5. Limit output length: Set a reasonable maximum output token count based on task type to prevent ineffective long text.

    7. Data Security and Compliance

    A metric system that collects user behavior can introduce privacy risks. The following principles should be followed during implementation.

    • Use only aggregated data for statistics: After metrics are calculated, raw request content should not enter the analytics database.
    • Desensitize logs: Sensitive fields such as personal information, credentials, and internal addresses in requests and responses should be replaced or masked before being written to logs.
    • Least privilege: Only roles that need to review metrics should have access to aggregated results. Access to raw logs requires separate authorization and audit records.
    • Retention period: Set a retention period for raw event logs according to compliance requirements and delete them automatically when they expire.

    8. Implementation Recommendations

    Building an AI workplace metric system can be advanced in four steps:

    1. Align definitions first. Write a metric document that clarifies the definitions and calculation methods for DAU, token usage, token usage per user, and retention. Have product, engineering, and finance teams confirm it together.
    2. Run a small pilot. Select one or two departments or scenarios to verify whether instrumentation is complete and whether the data matches business logs.
    3. Build dashboards and alerts. Put core metrics into a unified dashboard and set alert thresholds for sudden token usage spikes and sharp retention drops.
    4. Review periodically. Review metric changes weekly or monthly, and use business feedback to decide whether to adjust scenario investment, model selection, or quota strategy.

    9. Conclusion

    Measuring the effectiveness of AI workplace tools requires looking at both usage breadth and usage depth. DAU reflects how many people are using the tool, while token usage and token usage per user reflect how deeply it is used and how much it costs. Both types of metrics must be calculated under consistent definitions and combined with business metrics such as retention and task completion rate to support reliable decisions.

    As teams scale adoption, they should establish the full pipeline for collection, computation, presentation, and alerting as early as possible. Data security and cost control should be included in the same system to avoid an imbalance between growth and cost.