<?xml version="1.0" encoding="US-ASCII"?>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.2.13 -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY RFC4760 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.4760.xml">
<!-- ENTITY USECASES PUBLIC ''
      'https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.draft-geng-rtgwg-cfn-dyncast-ps-usecase-00.xml'-->
]>
<?rfc compact="yes"?>
<?rfc text-list-symbols="o*+-"?>
<?rfc subcompact="no"?>
<?rfc sortrefs="no"?>
<?rfc symrefs="yes"?>
<?rfc strict="yes"?>
<?rfc toc="yes"?>
<rfc category="info" docName="draft-wang-token-aware-usecases-requirements-00"
     ipr="trust200902" submissionType="IETF">
  <front>
    <title
    abbrev="Token Service Flow Awareness: Use Cases and Requirements">Token
    Service Flow Awareness: Use Cases and Requirements</title>

    <author fullname="Jing Wang" initials="J." surname="Wang">
      <organization>China Mobile</organization>

      <address>
        <postal>
          <street>No.32 XuanWuMen West Street</street>

          <city>Beijing</city>

          <code>100053</code>

          <country>China</country>
        </postal>

        <email>wangjingjc@chinamobile.com</email>
      </address>
    </author>

    <date day="6" month="July" year="2026"/>

    <workgroup/>

    <abstract>
      <t>This document outlines the use cases and requirements for token
      service flow awareness, providing the IETF working group with a
      standardized reference to better support the assurance of the
      user&rsquo;s end-to-end experience.</t>
    </abstract>
  </front>

  <middle>
    <section anchor="introduction" title="Introduction">
      <t>In recent years, there has been a significant increase in the use of
      generative AI, LLM MaaS platforms, and autonomous AI Agents as
      mainstream internet services. Unlike traditional web, video, and file
      transfer traffic, AI services generate unique token-bearing flows. These
      include prompt/output token streaming, cross-Agent A2A collaborative
      token packets, and authorization tokens carried in JWT/OAuth
      headers.</t>

      <t>AI token flows have distinct business attributes, such as ultra-low
      Time-To-First-Token (TTFT) latency for interactive Agent dialogue,
      longer transmission delay tolerance for offline batch inference, and
      stable cross-domain connectivity for cross-industry multi-Agent
      collaboration. However, current network traffic classification systems
      only identify generic application domains through SNI and DNS
      fingerprints, lacking fine-grained awareness of token volume, task
      priority, and Agent identity. This lack of dedicated token flow
      identification capabilities hinders operators from deploying
      differentiated QoS strategies, implementing token-based metering
      billing, and executing compute-aware routing optimization. As a result,
      there are consequences such as inconsistent dialogue latency, unfair
      bandwidth resource contention, inability to quantify AI service revenue,
      and unmonitored abnormal token consumption attacks.</t>

      <t>Against this background, this document outlines the use cases and
      requirements for token service flow awareness, providing the IETF
      working group with a standardized reference to better support the
      assurance of the user&rsquo;s end-to-end experience..</t>
    </section>

    <section anchor="conventions-and-definitions" title="Conventions">
      <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
      "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
      "OPTIONAL" in this document are to be interpreted as described in BCP 14
      <xref format="default" target="RFC2119"/> <xref format="default"
      target="RFC8174"/> when, and only when, they appear in all capitals, as
      shown here.</t>
    </section>

    <section title="Use Cases">
      <t>This document categorizes use cases into service identification,
      operation &amp; management and routing,</t>

      <section title="Service Identification">
        <t>The core goal of sevice identification is to map raw packet flows
        to standardized token service types to deliver differentiated user
        experience and tiered service packages. For example, personal
        multi-modal assistants, vehicle-mounted MUI Agents and customer
        service Agents generate low-latency interactive token streams. After
        identification, the network can implement various optimization
        measures to reduce TTFT jitter.</t>
      </section>

      <section title="Operation Management">
        <t>The use case of operation management focus on full lifecycle
        monitoring, risk control and statistical analysis based on identified
        token flow tags. Network management platforms aggregate identified
        token flow data to analyze industry distribution of Agent services,
        and forecast token traffic growth for capacity planning of edge
        computing and backbone links.</t>
      </section>

      <section title="Routing">
        <t>The use case of routing realize compute-network collaborative
        steering by leveraging token flow business attributes. For example,
        after marking interactive token flows, routing planes dynamically
        select nearby edge computing gateway links, avoiding long-distance
        backbone transmission to cut end-to-end latency. This enables
        latency-priority routing of real-time token streams.</t>
      </section>
    </section>

    <section title="Requirements">
      <t>Corresponding to the three use cases, this chapter defines mandatory
      and optional requirements for service identification, operation
      management and routing steering respectively.</t>

      <section title="Service Identification">
        <t>Identification equipment SHALL parse plaintext token count headers
        in SSE/gRPC/MCP streaming protocols, and extract Agent ID, task type
        and authorization token fields. For fully encrypted TLS traffic, the
        system MUST implement traffic fingerprint recognition based on packet
        interval, burst small-packet characteristics and TTFT statistical
        features to classify token flows without payload decryption.</t>
      </section>

      <section title="Operation Management">
        <t>To ensure the smooth operation of the service, the operations
        management platform should support the ability to record service logs.
        All identified token flows SHALL generate structured logs containing
        five-tuple, token label, total token volume, start/end timestamp and
        Agent identity information, , stored for no less than user service
        period for audit.</t>
      </section>

      <section title="Routing">
        <t>It should support different routing policies for different services
        to provide differentiated service guarantees and meet the needs of
        different users. In addition, routing nodes supporting KV context
        cache reuse shall match token flow labels to cache corresponding
        prompt data, reducing repeated token transmission volume and link
        load.</t>
      </section>
    </section>

    <section anchor="Conclusion" title="Conclusion">
      <t>This document outlines the use cases and requirements for token
      service flow awareness and provides an overview from three perspectives:
      service identification, operation management and routing,</t>
    </section>

    <section anchor="security-considerations" title="Security Considerations">
      <t>TBD.</t>
    </section>

    <section anchor="iana-considerations" title="IANA Considerations">
      <t>TBD.</t>
    </section>
  </middle>

  <back>
    <references title="Informative References">
      <?rfc include="reference.RFC.2119.xml"?>

      <?rfc include="reference.RFC.8174.xml"?>
    </references>
  </back>
</rfc>
