Skip to content

ModelUsage

Namespace: E2E

public sealed class ModelUsage

Inheritance: object

View source

public int? CacheReadTokens { get; init; }

Input tokens the provider served from its prompt cache, when it reports the split. A part of InputTokens.

Value: int?

View source

public int? CacheWriteTokens { get; init; }

Input tokens the provider wrote to its prompt cache, when it reports the split. A part of InputTokens.

Value: int?

View source

public double? EstimatedCostUsd { get; init; }

The billed cost of the call in US dollars, when the provider reports one.

Value: double?

View source

public int InputTokens { get; init; }

Value: int

View source

public int OutputTokens { get; init; }

Value: int

View source