Skip to main content
POST
Estimate a run's cost

Authorizations

session
string
cookie
required

The session cookie set when you sign in to AgentHub or ModelHub in a browser. The cookie name shown here is illustrative. There are no API tokens for these endpoints.

Path Parameters

projectId
string<uuid>
required

Project id.

Body

application/json
agent_config
object
required

The agent the Cost Calculator simulates.

model_config_id
string<uuid> | null

Model from Model Manager to price against.

scenario_count
integer
default:3
Required range: x >= 1

Response

Estimate.

data
object
required

Offline cost estimate. Key fields shown; the object carries more detail for the UI.