Skip to content

What extending a finished run would cost

POST
/v1/runs/{run_id}/extend/estimate
curl --request POST \
--url https://api.supposing.app/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/extend/estimate \
--header 'Content-Type: application/json' \
--data '{ "rounds": 4, "max_cost_usd": 1 }'
run_id
required
Run Id
string format: uuid
Media typeapplication/json
ExtendIn
object
rounds
Rounds

How many more rounds to run.

integer
default: 4 >= 1 <= 200
max_cost_usd
Max Cost Usd

A new spend cap for the whole run; default keeps the current one.

Any of:
number

Successful Response

Media typeapplication/json
Estimate

What a run would cost before it starts. Show this before every run.

object
type
required
Type
string
Allowed value: ranking
n_items
required
N Items
integer
max_calls
required
Max Calls

Calls if every round runs.

integer
min_calls
required
Min Calls

Calls if the run stops at the earliest point it can.

integer
est_input_tokens
required
Est Input Tokens

For max_calls.

integer
est_output_tokens
required
Est Output Tokens

For max_calls.

integer
billed
required
Billed

True when the run uses our OpenRouter key and is paid from the workspace’s credit. Runs on your own key, mock and claude_cli are never billed.

boolean
price_tier
required
Price Tier

The judge model’s price tier, for billed runs.

Any of:
string
price_per_call_usd
required
Price Per Call Usd

What one judge call costs a billed run. A call reads up to 24,000 characters of the two items; longer pairs count as more than one call.

Any of:
number
est_cost_usd
required
Est Cost Usd

What the run costs you at most, capped by max_cost_usd. Billed runs: credit, at price_per_call_usd. Your own key: the model’s list price, paid to OpenRouter. 0 for mock and claude_cli. Null when unknown.

Any of:
number
est_cost_usd_min
required
Est Cost Usd Min

The same for min_calls.

Any of:
number
balance_usd
required
Balance Usd

Billed runs: the workspace’s credit now, net of what running runs hold.

Any of:
number
balance_after_usd
required
Balance After Usd

Billed runs: balance_usd minus est_cost_usd, the credit left once this run holds its estimate. Below zero, starting the run is refused with insufficient_credit.

Any of:
number
est_seconds
required
Est Seconds

Rough wall-clock time for max_calls.

integer
data_policy
required
Data Policy

Zero_retention: every call goes only to providers that keep no data and don’t collect it. provider_default: the provider’s own terms. none: no outside model (mock).

string
default: provider_default
Allowed values: zero_retention provider_default none
zdr_available
required
Zdr Available

Under zero_retention, whether the model has a provider that complies; false means the run would be refused. Null when unknown or not needed.

Any of:
boolean
usd_per_mtok_input
required
Usd Per Mtok Input

Model list price per million input tokens, for runs on your own key; null for billed runs.

Any of:
number
usd_per_mtok_output
required
Usd Per Mtok Output

The same for output tokens.

Any of:
number

Example

{
"type": "ranking",
"billed": false,
"data_policy": "zero_retention"
}

Client error. Branch on code; show message and hint.

Media typeapplication/json
Error

The body of every non-2xx response.

object
code
required
Code

Stable machine-readable code, e.g. dataset_not_found.

string
message
required
Message
string
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}

Server error.

Media typeapplication/json
Error

The body of every non-2xx response.

object
code
required
Code

Stable machine-readable code, e.g. dataset_not_found.

string
message
required
Message
string
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}