estimate_job_cost
Calculates exact upload/download network bandwidth (MB), task count, GFLOPs, and satoshi cost estimates for a distributed matrix multiplication C (m x n) = A (m x k) x B (k x n).
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": {
"m": "<m>",
"k": "<k>",
"n": "<n>"
},
"name": "estimate_job_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | Inner dimension K (columns of A / rows of B). | |
| m | Yes | Rows of matrix A (M > 0). | |
| n | Yes | Columns of matrix B (N > 0). | |
| dtype | No | Precision format ('fp32', 'fp16', 'bf16'). | fp32 |
| grid_cols | No | Column partitions P_c when using output_grid_2d. | |
| grid_rows | No | Row partitions P_r when using output_grid_2d. | |
| tile_size | No | Tile block size dimension. | |
| num_strips | No | Strip count when using outer_product_1d. | |
| sats_per_gflop | No | Override worker price in satoshis per GFLOP. | |
| partitioning_strategy | No | Matrix partitioning strategy. | output_grid_2d |