Count Response Input Tokens
Counts response input tokens in Open AI.
GET
Query
Arguments
stringrequired
Input content to count tokens for.
stringrequired
Model ID used to count input tokens.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.