Resolve a model price
Which price applies to a model in this workspace, and what a span with the given usage would cost
Request
This endpoint expects an object.
model
provider
usage
A span’s usage, with the keys an SDK sends; empty prices nothing
Response
The price that applies
model
provider
cost
What a span with this usage costs, in USD
cost_source
Allowed values:
list_version
The organization’s list version it was priced with; 0 for the built-in list only
match
Absent when no row prices the model
lines
The rates that went into the cost
Errors
503
Service Unavailable Error