Table of Contents

Class PerplexityUsage

public class PerplexityUsage
Inheritance
object
PerplexityUsage
Extension Methods

Properties

CitationTokens

Optional. Number of citation tokens used.

public int? CitationTokens { get; set; }

Property Value

int?

CompletionTokens

Required. Number of completion tokens used.

public int CompletionTokens { get; set; }

Property Value

int

NumSearchQueries

Optional. Number of search queries issued.

public int? NumSearchQueries { get; set; }

Property Value

int?

PromptTokens

Required. Number of prompt tokens used.

public int PromptTokens { get; set; }

Property Value

int

ReasoningTokens

Optional. Number of reasoning tokens used.

public int? ReasoningTokens { get; set; }

Property Value

int?

SearchContextSize

Optional. The search context size used.

public SearchContextSize SearchContextSize { get; set; }

Property Value

SearchContextSize

TotalTokens

Required. Total number of tokens used.

public int TotalTokens { get; set; }

Property Value

int