Langfuse JS/TS SDKs
GitHub
Docs
Preparing search index...
@langfuse/core
OpenAiUsage
Interface OpenAiUsage
Usage interface of OpenAI for improved compatibility.
interface
OpenAiUsage
{
completionTokens
?:
number
;
promptTokens
?:
number
;
totalTokens
?:
number
;
}
Index
Properties
completion
Tokens?
prompt
Tokens?
total
Tokens?
Properties
Optional
completion
Tokens
completionTokens
?:
number
Optional
prompt
Tokens
promptTokens
?:
number
Optional
total
Tokens
totalTokens
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
completion
Tokens
prompt
Tokens
total
Tokens
GitHub
Docs
Langfuse JS/TS SDKs
Loading...
Usage interface of OpenAI for improved compatibility.