Developer Guides · Guide
How to Calculate Responses API Token Usage: Input, Output, Caching, and Reasoning
We explain Responses API counters, repeated context accounting, and the cost formula. Reasoning is already included in output_tokens; cached tokens are included in input, while cache writes may be billed separately.

