AxAIOpenAIUsage Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxAIOpenAIUsage.md type AxAIOpenAIUsage

AxAIOpenAIUsage

TypeScript
type AxAIOpenAIUsage = object;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/openai/chat_types.ts#L114

Properties

completion_tokens

TypeScript
completion_tokens: number;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/openai/chat_types.ts#L116


completion_tokens_details?

TypeScript
optional completion_tokens_details: object;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/openai/chat_types.ts#L121

reasoning_tokens?

TypeScript
optional reasoning_tokens: number;

prompt_tokens

TypeScript
prompt_tokens: number;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/openai/chat_types.ts#L115


prompt_tokens_details?

TypeScript
optional prompt_tokens_details: object;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/openai/chat_types.ts#L118

cached_tokens?

TypeScript
optional cached_tokens: number;

total_tokens

TypeScript
total_tokens: number;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/openai/chat_types.ts#L117

Docs