batch_savings
Calculate cost savings from using Batch API with 50% discount on input and output tokens for recurring, non-realtime workloads.
Instructions
Compute Batch API savings (50% off input+output) for a recurring workload. Use when work is async/non-realtime (≤24h SLA acceptable).
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": {
"input_tokens": "<input_tokens>",
"output_tokens": "<output_tokens>",
"calls_per_day": "<calls_per_day>"
},
"name": "batch_savings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_tokens | Yes | Input tokens per call | |
| output_tokens | Yes | Output tokens per call | |
| calls_per_day | Yes | Daily call volume | |
| model | No | sonnet-4.5 |