CmdID

CmdID / aws / aws bedrock-runtime

aws bedrock-runtime count-tokens

Returns the token count for a given inference request. AWS CLI reference

2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--inputThe input for which to count tokens.
--model-idThe unique identifier or ARN of the foundation model to use for token counting.