Models API
The chat request and its reply.
API
The cost of a request is in its reply, so you never have to look it up afterwards.
usage: the tokens used, the credits charged and the credits you have left.GET /v1/agents/:slug/runs/:runId.GET /v1/credits/balance.The app’s Usage page shows the same account, with its history. A request that fails is not charged. Rates per model are in the Model Hub.
In a chat reply's usage, in each step of an agent run, and on your balance. The Usage page in the app shows the same account with its history.
No. The credits set aside for a failed request go back to your balance.
Send a GET request to /v1/credits/balance.
The cost of a request is in its reply, so you never have to look it up afterwards.
Existing accounts can sign in. To ask about access, contact us.