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

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