Skip to main content
POST
Get the models a benchmark of these calls can run on, with each deployment’s price per 1M tokens, the ones recommended for the optimization objectives, and why the others are blocked: a capability your calls used that the model lacks, an input limit smaller than your largest call, or a price the objectives cannot route to. Also returns the models production served the calls with, and their price. Then save the setup with set_benchmark, with the recommended deployments that are not blocked and evaluators from get_evaluators.

Parameters

Passed in the request body.
string[]
required
The call names the benchmark would replay, as get_calls lists them.
string
required
Start of the period, inclusive. YYYY-MM-DD.
string
End of the period, inclusive. YYYY-MM-DD. Defaults to today.
string[]
The optimization objectives the benchmark would run, which decide what is recommended and what is blocked. Defaults to the first two. One of same_quality_lowest_cost, same_cost_best_quality or best_quality.
object
The deployment the candidates would be compared with. Omit it to compare with the answers production logged.
object[]
The price of each production model nothing prices.
The response also carries blockers (what prevents the usual next step), in plain words. It is empty when the usual workflow applies.