v7_llm
Llm Messages Count Tokens
Llm Messages Count Tokens. OpenAI- and Anthropic-compatible LLM endpoint on /v7/llm/messages/count_tokens. Authenticate with Authorization: Bearer <key>, x-api-key, or the key header. Discover model ids with GET /v7/llm/v1/models. Failures arrive on HTTP 200 with status: "error".
post/v7/llm/messages/count_tokens
Request body
Response
OpenAI-compatible chat completion. Errors also arrive on 200 with status: "error".
Example response
{
"object": "chat.completion"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.