Proxy Bedrock Count Tokens
Changed onBedrock CountTokens — optional for Claude Code (/context), not a generation.
post/gateway/model/{model_id}/count-tokens
Request
- Base URLhttps://api.ai21.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.ai21.com/gateway/model/{model_id}/count-tokens
- Authnone declared
Path parameters
model_idstring required
Headers
X-AI21-Keystring
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info