OpenAI pricing is calculated based on the number of tokens used, including tokens input (prompt) and output (response).
4.61K+