google genai endpoints
Google Count Tokens
Changed onreturn {
"totalTokens": 31,
"totalBillableCharacters": 96,
"promptTokensDetails": [
{
"modality": "TEXT",
"tokenCount": 31
}
]
}
post/models/{model_name}:countTokens
Request
- Base URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/models/{model_name}:countTokens
- AuthAPI key in header x-litellm-api-key
Path parameters
model_namestring required
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info