Skip to Content
SdkClientInternalType AliasesLlmapiEmbeddingUsage

LlmapiEmbeddingUsage

LlmapiEmbeddingUsage = object

Defined in: src/client/types.gen.ts:636 

Usage contains token usage information

Properties

cost_micro_usd?

optional cost_micro_usd: number

Defined in: src/client/types.gen.ts:640 

CostMicroUSD is the inference cost for this embedding request


credits_used?

optional credits_used: number

Defined in: src/client/types.gen.ts:644 

CreditsUsed is the number of credits consumed by this embedding request


prompt_tokens?

optional prompt_tokens: number

Defined in: src/client/types.gen.ts:648 

PromptTokens is the number of tokens in the prompt


total_tokens?

optional total_tokens: number

Defined in: src/client/types.gen.ts:652 

TotalTokens is the total number of tokens used

Last updated on