Account balance
get_balanceRetrieve your Vast.ai prepaid credit, cash balance, lifetime spend, and convert to GPU-hours at a specified hourly rate.
Instructions
Prepaid credit, cash balance, lifetime spend, and how many GPU-hours that buys at a given rate. Returns JSON: {ok, message, next_tool, next_args, ...tool-specific fields}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usd_per_hour | No | Rate to convert the balance into hours, default 0.40 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false only when the tool itself failed (bad input, missing key, API error). | |
| message | Yes | Human-readable summary to relay to the user. | |
| next_args | No | Suggested arguments for next_tool. | |
| next_tool | No | Suggested next tool, or null when nothing else is needed. |