Count Response Input Tokens
Code Mode: praxis.model.responses.inputTokens.create
HTTP: POST /model/v1/responses/input_tokens
Request an input-token count for Responses input. Unlike OpenAI, this operation is unavailable and returns 501; use the documented Messages token-count operation only when its input shape and estimation limits fit your task.
Signature
praxis.model.responses.inputTokens.create(args:{body:{[key:string]:unknown}}):Promise<{[key:string]:unknown}>;Request body
| Required | Content types | Description |
|---|---|---|
| yes | application/json |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | Native Responses API input token count |
| 400 | application/json | Unsupported Idempotency-Key or invalid native request. |