Table of Contents

Class Usage

Namespace
AnthropicClient.Models
Assembly
AnthropicClient.dll

Represents the usage of a response.

public class Usage
Inheritance
Usage
Inherited Members

Properties

InputTokens

Gets the number of input tokens used.

[JsonPropertyName("input_tokens")]
public int InputTokens { get; init; }

Property Value

int

OutputTokens

Gets the number of output tokens used.

[JsonPropertyName("output_tokens")]
public int OutputTokens { get; init; }

Property Value

int