OpenAI Integration
Count input tokens
Counts the number of tokens in a Responses API request.
post/openai/v1/responses/input_tokens
Request body
Example request
{
"model": "gpt-4"
}Response
Successful response
Counts the number of tokens in a Responses API request.
{
"model": "gpt-4"
}Successful response