calculate_gpu_vs_api_arbitrage
Calculates GPU spot versus LLM API token arbitrage by applying VRAM physics, utilization caps, reliability haircut, and a 3:1 prompt-completion mix to reveal cost gaps.
Instructions
Run deterministic Gen-2 GPU spot vs LLM token API arbitrage math with hard VRAM physics, utilization ceiling, reliability haircut, and 3:1 prompt:completion mix.
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": {
"gpu": "<gpu>",
"model": "<model>"
},
"name": "calculate_gpu_vs_api_arbitrage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu | Yes | GPUOffer fields (provider, offer_id, gpu_name, num_gpus, vram_gb_total, usd_per_hour, reliability, inet_down_mbps, verified, interconnect) | |
| model | Yes | LLMModelQuote fields (model_id, name, prompt_usd_per_1m, completion_usd_per_1m, is_open_weight, param_billions_est) | |
| utilization | No | ||
| quantization | No | int4 | |
| prompt_to_completion_ratio | No |