Trillion-Call Data Reveals How AI Is Actually Used

    An analysis of trillions of real API calls shows that AI usage is dominated by roleplay and companionship rather than pure productivity, that heavy users rarely optimize for price, and that open-source models have grown to roughly a third of token volume. The article explains the engineering implications for capacity planning, routing, and model gateways, and how to correct for sample bias in this kind of report.

    Introduction: When the Productivity Narrative Meets Real Call Logs

    Product demos always look polished: code generated automatically, documents summarized in one click, meeting notes produced in seconds. But when researchers aggregate trillions of real API call records and run statistical analysis, the picture shifts noticeably. A behavioral research report jointly published by a model aggregation platform and an investment firm shows that the sample covers more than 300 models from over 60 providers, with users outside North America accounting for more than half. The value of this kind of data lies not in confirming marketing claims, but in exposing the real distribution of demand that never makes it into a whitepaper.

    The sample boundary needs to be stated first. The main users of such aggregation platforms are individual developers, small teams, and open-source enthusiasts. Compute consumed by large enterprises through private deployment or dedicated channels typically does not enter the statistics. As a result, the report systematically amplifies three conclusions in specific directions: a higher share of open-source solutions, higher usage frequency of low-cost models, and a higher share of entertainment and companionship scenarios. Understanding this is what allows the conclusions to be applied correctly.

    Conclusion 1: Compute Flows to Companionship and Roleplay, Not Pure Productivity

    The statistics show that on the open-source model side, more than half of compute consumption is concentrated in three scenario types: roleplay, virtual companionship, and adult-oriented content, with code generation following behind. This result is not absurd. Roleplay interactions have three technical characteristics: extremely long context, very many conversation turns, and relatively long single outputs. Combined, these make per-user token consumption naturally higher than in tool-type scenarios. By comparison, code completion is called densely, but each input and output is short, so cumulative tokens are actually smaller.

    For engineering implementation, this means capacity planning cannot look only at request count (QPS) and must use token throughput as the primary metric. A usable estimation framework is as follows:

    1. # Illustrative: estimate capacity by tokens rather than request count
    2. def estimate_daily_tokens(dau, turns_per_session, in_tok, out_tok, ratio):
    3. per_user = turns_per_session * (in_tok + out_tok)
    4. return dau * per_user * ratio # ratio is the scenario share weight

    At the same time, long context brings KV cache expansion, first-token latency jitter, and memory pressure. Common mitigation approaches include paged cache management, prefix reuse, conversation summary compression, and sliding-window truncation. Content safety must also be built in upfront: traffic involving adult-oriented and anthropomorphic interaction needs tiering, age verification, and compliance auditing at the entry point, not remediation after the fact.

    Conclusion 2: High-End Users Ignore Unit Price, and Nearly Free Models Exit First

    Another counterintuitive finding in the report is that retention is not negatively correlated with price. Models that are extremely cheap or even free churn faster, while heavy users willing to pay for quality almost never compare unit prices. The reason lies in the total cost of ownership structure: the cost of retries, manual review, and workflow rework caused by a single failed call is far higher than the token price difference. For production systems, stability, rate-limiting strategy, output format adherence, and predictable latency are the actual decision variables.

    In engineering terms, cost should be understood as a multidimensional function:

    1. Total cost ≈ call fees + failed-retry cost + manual correction cost + integration maintenance cost + migration cost

    The corresponding strategy is tiered routing: use a small-parameter model for high-confidence short requests first, then escalate to a large-parameter model when confidence is low or the task is complex, forming a cascade. In addition, a model embedded in business workflows early on creates switching barriers, because prompts, evaluation sets, and upstream and downstream logic have all been built around it, making migration cost far higher than a subscription price difference.

    Conclusion 3: Open-Source Share Jumped From Single Digits to About 30% in One Year

    Summer 2024 was the watershed. Before that, closed-source APIs accounted for the vast majority of call volume. After that, as a batch of high-performance open-weight models were released in quick succession, the open-source share of tokens rose to about one third of the total, with a steep growth rate. The catch-up of representative open-source models (including several weight-open projects led by Chinese teams) in coding and multilingual capabilities was the key driver of this diversion.

    The real driver of open-sourcing is controllability: private deployment to meet data-residency requirements, quantization and fine-tuning, version pinning to avoid upstream behavior drift, and predictable unit cost. The typical implementation path is to abstract a model gateway layer that hides differences at the bottom:

    1. # Illustrative: a unified gateway hides different model sources
    2. def route(task):
    3. if task.is_sensitive: return local_cluster # private cluster
    4. if task.is_complex: return strong_model # high-capability model
    5. return small_model # low-cost model

    Supporting this requires building an offline evaluation set, online A/B testing and canary releases, token-level cost accounting, and a logging, monitoring, and alerting system. On general capabilities such as model services and container platforms, log services, and monitoring and alerting, Baidu AI Cloud can serve as one infrastructure option for hosting this kind of tiered architecture.

    How to Use This Kind of Report Correctly

    Treat the conclusions as directions rather than final values: a high share of entertainment scenarios means long context and content safety are hard requirements; retention decoupled from price means a quality evaluation system matters more than price comparison; a rising open-source share means the architecture must keep models replaceable. At the same time, always correct for sample bias, since the real usage of enterprise private deployments needs to be filled in with your own telemetry data. Truly reliable judgment comes from comparing public statistics with your own call logs side by side.