Langfuse JS/TS SDKs
GitHub
Docs
Preparing search index...
@langfuse/core
OpenAiResponseUsageSchema
Interface OpenAiResponseUsageSchema
OpenAI Usage schema from Response API
interface
OpenAiResponseUsageSchema
{
input_tokens
:
number
;
input_tokens_details
?:
Record
<
string
,
undefined
|
number
>
;
output_tokens
:
number
;
output_tokens_details
?:
Record
<
string
,
undefined
|
number
>
;
total_tokens
:
number
;
}
Index
Properties
input_
tokens
input_
tokens_
details?
output_
tokens
output_
tokens_
details?
total_
tokens
Properties
input_
tokens
input_tokens
:
number
Optional
input_
tokens_
details
input_tokens_details
?:
Record
<
string
,
undefined
|
number
>
output_
tokens
output_tokens
:
number
Optional
output_
tokens_
details
output_tokens_details
?:
Record
<
string
,
undefined
|
number
>
total_
tokens
total_tokens
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
input_
tokens
input_
tokens_
details
output_
tokens
output_
tokens_
details
total_
tokens
GitHub
Docs
Langfuse JS/TS SDKs
Loading...
OpenAI Usage schema from Response API