Caching is not a discount: the real cost structure of Claude and GPT prompt caching
Caching splits a prompt prefix into three prices — normal input, cache write, cache read. You only start saving on the second reuse, and one channel switch on a gateway can reset your hit rate to zero.
Calling GPT models through a gateway: parameters, limits and the bill
The request shape does not change between direct access and a gateway. What changes is parameter strictness, how rate limits are layered, and how retries show up on the invoice.