Tip
Intermediate
Check for Leading Spaces
August 12, 2025
Some tokenizers treat words with leading spaces differently. For example, ' hello' might be a different token than 'hello'. Be consistent with spacing, especially when providing examples, to ensure token efficiency.
Category: Token Optimization
Difficulty: Intermediate