/api/orgs/{org_id}/datasets/{dataset_id}/runs/estimatePrice a dataset run
A run sends each item as a real request on the model you name, so it costs credits. The estimate prices it at list prices with every output bounded by max_output_tokens, and its token is valid for 15 minutes. Org admins and the organization's own key.
Authentication: Bearer API key in the Authorization header
Path parameters
org_idstringrequiredYour organization id (uuid).
GET /api/whoamireturns it.dataset_idstringrequiredThe dataset id.
Request body
modelstringrequiredA catalog model.
tag_idsarray<string>Trace tags to score each output with, at most 8.
max_itemsinteger1 to 5,000.
max_output_tokensinteger1 to 32,768.
Responses
200The estimate.
Response
itemsintegerestimated_nano_usdintegerestimate_tokenstringexpires_atstring
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
403The key is valid but may not perform this action (for example an inference key on a provisioning-key route, or a feature outside your plan).
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404The resource does not exist or belongs to another organization.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
422The dataset is empty (
dataset_empty) or the model has no priced lane (model_unavailable).Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
Request
curl -X POST 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/datasets/1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/runs/estimate' \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-luna",
"tag_ids": [
"0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90"
],
"max_items": 120,
"max_output_tokens": 1024
}'Response
{
"items": 120,
"estimated_nano_usd": 640000000,
"estimate_token": "00000000-0000-4000-8000-000000000000",
"expires_at": "2026-11-18T14:47:07Z"
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/datasets/1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/runs/estimate