responses
Count response input tokens
GoModel API reference for POST /v1/responses/input_tokens: Count response input tokens.
POST
Error
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response input token request
Conversation accepts either a conversation ID string or an object with id.
string or []ResponsesInputElement — see docs for array form
Gateway routing hint; stripped before upstream execution.
string or object
Last modified on August 22, 2026
Error