Responses
Count input tokens
Count the input tokens a Responses request would use, without running the model. Takes the same body as Create a response and counts it with the model tokenizer: exact for text and tools, estimated for images and for models whose tokenizer we do not carry. Free.
post/responses/input_tokens
Request
- Base URLhttps://api.openscale.so/v1
- URLhttps://api.openscale.so/v1/responses/input_tokens
- AuthHTTP bearer
Request body
object required
Response
The input token count.
Changes
No recorded changes to this operation across all 1 revision of this API.