latens_calculate_compute_cost
Calculate total GPU rental costs by combining hourly compute, persistent storage amortization, and outbound egress for accurate budgeting.
Instructions
Deterministic GPU rental total cost calculation combining hourly compute, persistent storage amortization, and outbound network egress.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hourly_rate_usd": "<hourly_rate_usd>",
"duration_hours": "<duration_hours>"
},
"name": "latens_calculate_compute_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| egress_gb | No | ||
| storage_gb | No | ||
| duration_hours | Yes | ||
| instance_count | No | ||
| hourly_rate_usd | Yes | ||
| egress_cost_per_gb_usd | No | ||
| storage_cost_per_gb_month_usd | No |