An API request that looks cheap on a pricing page can become much more expensive inside a real product.

The pricing page normally gives you the unit rate:

Price per million input tokens

Price per million output tokens

Price per generated image