Prompt, messages, tool definitions, and uncached context are multiplied by the selected model's input price.
Reusable prompt prefixes can use cached-input pricing when the API request qualifies, so this calculator keeps those tokens separate.
Generated response tokens use output pricing. Optional Batch mode applies only to async workloads where a delayed result is acceptable.