Skip to content
Tracon

ToolUsageUnits

Namespace Tracon · Assembly Tracon.Abstractions.dll

The known unit names for ToolCallUsage.Unit.

public static class ToolUsageUnits
Inheritance
object ← ToolUsageUnits
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

The list is not closed: the field is free text, and a tool may report its own unit. These constants only keep the names Tracon’s own tools use in one place.

Calls. Used when a provider bills a hosted tool, such as a web search, by the call.

public const string Calls = "calls"

string

Characters. Used in text-to-speech generation.

public const string Characters = "characters"

string

Generated images. Used when an image provider bills per image.

public const string Images = "images"

string

Seconds. Used in speech-to-text conversion.

public const string Seconds = "seconds"

string

Tokens. Used when an image provider bills image generation by output tokens, and by the knowledge search for the input tokens of the query it embeds.

public const string Tokens = "tokens"

string