| Name | Type | Description |
|---|---|---|
model_name* | str | The model that served this request. Combined with
|
input_toks* | int | Input tokens for this request. |
output_toks* | int | Output tokens for this request. |
provider | str | Default: '' |
Accumulate token counts for one completed LLM request.
Updates both the session totals and the per-model breakdown.
Provider that served the model (e.g. openai). Combined
with model_name to form the per-model key, so the same model
served by different providers is tracked separately.