How do I compare the total cost of two models?
Compare input and output rates separately, then apply them to your typical token counts. For example, 100,000 input tokens at $0.20 per million and 25,000 output tokens at $0.80 per million add up to $0.04 before any applicable minimum charge. These are illustrative rates. Cached input can change the estimate.
See how billing works