A New Paradigm for AI Application Evaluation: From User Scale to Compute Output

    Summary: This article examines why traditional metrics like daily active users and downloads fail to capture the true value and cost of modern AI applications. As interaction shifts from single-turn chat to multi-step autonomous agents, token consumption becomes a better indicator of resource usage than user count. The article proposes a three-layer evaluation framework covering resource consumption, task completion, and value output, introduces the metric of compute efficiency (verified tasks per million tokens), identifies four common sources of token leakage, and outlines engineering practices for observability, alerting, regression testing, and scheduling. It also warns against token-only, success-rate-only, and cross-paradigm comparisons. The key takeaway: track whether compute output keeps rising, not just how many people use a product.

    Introduction: A Counterintuitive Observation

    After a recent quarterly earnings release, the industry’s hottest discussion was not about revenue figures, but about the compute consumption of an intelligent coding and office agent product: its daily active users had just crossed the ten-million mark, yet its daily token consumption reached the order of a hundred trillion, surpassing a general-purpose chat application with two hundred million daily active users. One twentieth of the user base was consuming more compute.

    This phenomenon deserves serious attention because it directly challenges the evaluation metrics the industry has defaulted to over the past three years—user count, downloads, and monthly active users. This article does not discuss any specific product. Instead, it abstracts the phenomenon into an engineering question: when the interaction paradigm shifts from “one question, one answer” to “multi-step autonomous execution,” what metrics should we use to measure the real value and real cost of an AI application?

    1. Why Chat Product Metrics Break Down

    The cost model of chat is approximately linear: one request corresponds to one conversation turn, the context is mainly historical dialogue, and output length is naturally constrained by human reading speed. Its capacity bottleneck lies in concurrency and time-to-first-token.

    The agent paradigm is completely different. Behind a single user intent, there are a dozen or even dozens of model calls, tool calls, and result backfills. The context is no longer just conversation history; it also includes code repository snippets, full documents, retrieval results, tool return values, and intermediate reasoning traces. Cost shifts from “per request” to “per task,” with enormous variance: the same task implemented in different ways can differ in token consumption by one to two orders of magnitude.

    Using daily active users to compare these two types of applications horizontally is like comparing “restaurant foot traffic” to “factory operating hours.” The metric itself is not wrong; the dimension is simply mismatched.

    2. A New Metric System: Three Layers of Measurement

    It is recommended to break evaluation into three layers, converging layer by layer.

    Layer 1: Resource Consumption. The core is tokens and compute, but it must be broken down: input tokens, output tokens, cache-hit tokens, number of tool calls, retrieval recall volume, average context length, and average rounds per task. A total without structure makes it impossible to locate optimization points.

    Layer 2: Task Completion. This includes task success rate, first-pass rate, human takeover rate, average completion time, and rework rate. This layer determines whether Layer 1 is “worth it.”

    Layer 3: Value Output. This is how many accepted tasks are produced per unit of compute, expressible as:

    1. # Illustrative metric definitions, not any specific platform API
    2. def cost_efficiency(done_tasks, human_verified=True):
    3. """Compute output: number of tasks completed per million tokens that pass human or automated acceptance"""
    4. verified = sum(1 for t in done_tasks if t.accepted)
    5. return verified / (total_tokens / 1_000_000)
    6. def task_success_rate(tasks):
    7. return sum(1 for t in tasks if t.accepted) / max(len(tasks), 1)
    8. # Counter-example: tokens tripled, but accepted tasks did not increase, indicating wasted consumption

    The judgment criterion is simple: if rising token consumption is accompanied by a proportional increase in accepted tasks, that is value growth; if not, it is an architectural flaw.

    3. Why Tokens Spiral Out of Control: Four Common Leakage Points

    Unbounded context accumulation. Stuffing an entire long document or a whole directory tree into the context is the most common waste. A viable approach is to first perform structured chunking and retrieval, injecting only the snippets relevant to the current subtask, and proactively compressing history as rounds progress.

    Untrimmed tool returns. Raw tool output is often verbose. Summarization, pagination, and field whitelisting should be applied at the tool layer, returning only the information needed for decisions.

    Lack of cache reuse. Stable prefix content such as system prompts, project conventions, and dependency lists is suitable for prefix cache reuse, which can significantly reduce repeated input overhead; the actual hit rate depends on the implementation and runtime environment and must be measured.

    Loops without budget constraints. The most dangerous thing for an agent is a runaway loop. Hard budgets must be set:

    1. MAX_TOKENS_PER_TASK = 400_000
    2. MAX_TOOL_ROUNDS = 25
    3. WALL_CLOCK_LIMIT_SEC = 180
    4. def guard(state):
    5. if state.tokens > MAX_TOKENS_PER_TASK or state.rounds >= MAX_TOOL_ROUNDS:
    6. return "escalate_to_human" # hand off to a human instead of burning more
    7. return "continue"

    Escalating to a human when the budget is exhausted, rather than continuing to make calls, is the key design for controlling cost variance.

    4. Observability and Engineering Implementation

    Without measurement, there is no optimization. The recommended implementation order is as follows:

    1. Instrumentation. Use the “task” rather than the “request” as the Trace primary key, linking every model call and tool call, and recording tokens, latency, and failure reasons.
    2. Attribution. Break consumption down across three dimensions—scenario, tenant, and task type—to identify high-consumption, low-output groups and scenarios.
    3. Alerting. Set threshold alerts for per-task tokens, loop rounds, and failure rates; automatically sample and retain anomalous tasks.
    4. Regression. Build a fixed task set for offline evaluation. After every prompt change, model swap, or retrieval strategy adjustment, run it and compare the joint curve of success rate and tokens.
    5. Scheduling. Tier tasks by value: route low-value tasks to smaller-parameter models or more aggressive caching strategies, and reserve full budgets for high-value tasks.

    On the infrastructure side, general-purpose capabilities are sufficient: object storage holds task artifacts and traces, message queues handle task peak shaving and asynchronization, container platforms host elastic inference and tool sandboxes, and logging services with monitoring and alerting handle observability. Baidu AI Cloud offers corresponding capabilities in these general categories and can serve as a reference for architecture selection.

    5. Three Pitfalls to Watch Out For

    Token-only thinking. Tokens are a cost, not a value. Focusing only on reducing tokens sacrifices success rate, and compute output per unit ultimately declines.

    Success-rate-only thinking. Looking only at success without considering cost breeds pseudo-optimization that trades ten times the compute for a one-percentage-point gain in success rate.

    Direct cross-paradigm comparison. The token dimensions of chat and agents cannot be compared directly; each should establish its own baseline before examining trends and unit output.

    Conclusion

    The migration of evaluation criteria has already begun: from “how many people use it” to “how much compute was used and how many things got done.” For developers, this means architecture design must optimize two curves simultaneously—rising success rate and declining cost per task. For decision-makers, more worth watching than profit figures is whether the compute output curve continues to trend upward.