OpenAI charges per token — understanding tokenization is essential for cost management.
Reference:
OpenAI pricing