get_task_price
Get the charge for a finished AI task. Billing applies only to tasks that completed successfully (exit code 0).
Instructions
Get the cost of a completed task. Returns the total cost charged for the run. Only successful tasks (pexit "0") are billed — failed tasks are not charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasktoken | No | The task token returned from run_model | |
| taskid | No | The task ID (alternative to tasktoken) |