Skip to main content
POST
/
cursor
/
model
/
{modelId}
/
count-tokens
Error
A valid request URL is required to generate request examples
{
  "inputTokens": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.getbifrost.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Path Parameters

modelId
string
required

Body

application/json
input
object

Response

200 - application/json

Successful response

inputTokens
integer