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).
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 |