Table of Contents

Class UsageSummary

Namespace
JD.AI.Core.Usage
Assembly
JD.AI.Core.dll

Aggregated usage summary for queries.

public sealed record UsageSummary : IEquatable<UsageSummary>
Inheritance
UsageSummary
Implements
Inherited Members

Properties

ByProvider

public IReadOnlyDictionary<string, ProviderUsageBreakdown> ByProvider { get; init; }

Property Value

IReadOnlyDictionary<string, ProviderUsageBreakdown>

EstimatedCostUsd

public decimal EstimatedCostUsd { get; init; }

Property Value

decimal

TotalCompletionTokens

public long TotalCompletionTokens { get; init; }

Property Value

long

TotalPromptTokens

public long TotalPromptTokens { get; init; }

Property Value

long

TotalTokens

public long TotalTokens { get; }

Property Value

long

TotalToolCalls

public int TotalToolCalls { get; init; }

Property Value

int

TotalTurns

public int TotalTurns { get; init; }

Property Value

int