messages
Count message tokens (Anthropic Messages API)
Changed onCounts the input tokens of a Messages request. Exact when the provider that owns the model has a token counting endpoint (Anthropic); otherwise a calibrated estimate.
post/v1/messages/count_tokens
Request
- Base URLhttp://localhost:8080
- URLhttp://localhost:8080/v1/messages/count_tokens
- AuthHTTP bearer
Request body
Response
OK
Changes
- info
added the new optional request property
//
- info
- info
added the new optional request property
- info
added the new optional request property
- info