io.enterpriseai.model.TokenUnits
Source: sdks/java/enterprise-ai-java/src/main/java/io/enterpriseai/model/TokenUnits.java. Back to the Java SDK reference index.
note
This page is generated by tools/docs/gen_sdk_reference.py from the SDK sources and the OpenAPI text folders. Do not edit it by hand: change the source and regenerate.
Class TokenUnits
Usage Event token units following the FinOps rule: input_tokens already includes the cached tokens and output_tokens already includes the reasoning tokens (provider totals).
Constructor TokenUnits
TokenUnits()
Private constructor: the class only exposes the static of method.
This element takes no parameter.