Count response input tokens
Request body
Response
OK
Changes
Changed in 3 of the 53 revisions of this API.24
- ○
added the optional property
error/providerto the response with the400statusresponse-optional-property-added
- ○
added the optional property
error/providerto the response with the401statusresponse-optional-property-added
- ○
added the optional property
error/providerto the response with the501statusresponse-optional-property-added
- ○
added the optional property
error/providerto the response with the502statusresponse-optional-property-added
- ○
- ○
added the new optional request property
context_managementnew-optional-request-property
- ○
added the new optional request property
conversationnew-optional-request-property
- ○
added the new optional request property
includenew-optional-request-property
- ○
added the new optional request property
max_output_tokensnew-optional-request-property
- ○
added the new optional request property
parallel_tool_callsnew-optional-request-property
- ○
added the new optional request property
previous_response_idnew-optional-request-property
- ○
added the new optional request property
promptnew-optional-request-property
- ○
added the new optional request property
prompt_cache_retentionnew-optional-request-property
- ○
added the new optional request property
safety_identifiernew-optional-request-property
- ○
added the new optional request property
service_tiernew-optional-request-property
- ○
added the new optional request property
storenew-optional-request-property
- ○
added the new optional request property
temperaturenew-optional-request-property
- ○
added the new optional request property
textnew-optional-request-property
- ○
added the new optional request property
tool_choicenew-optional-request-property
- ○
added the new optional request property
toolsnew-optional-request-property
- ○
added the new optional request property
top_logprobsnew-optional-request-property
- ○
added the new optional request property
top_pnew-optional-request-property
- ○
added the new optional request property
truncationnew-optional-request-property
- ○
added the new optional request property
usernew-optional-request-property
- ○
- ○
endpoint added
endpoint-added
- ○