OpenAI charges per token — understanding tokenization is essential for cost management.
Reference:
OpenAI pricing
TaskLoco™ — The Sticky Note GOAT