Skip to main content
POST
Estimate packs against a model

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Packs to estimate, against a model.

model
string | null
packs
PackAttachment · object[]
Maximum array length: 20

Response

Successful Response

How much of a model's window some packs would take.

model
string
required
tokenizer
string
required
approximate
boolean
required
context_window
integer
required
window_budget
integer
required
packs
Packs · object[]
required