LLM Tokens & API Pricing Explained
How BPE tokenization, input vs. output multipliers, 1M+ context windows, and prompt caching actually determine your monthly LLM API bill.
- 1,000 English words roughly equals 1,300–1,350 BPE tokens, while JSON, TypeScript, and non-Latin text consume significantly more tokens per character.
- Output tokens typically cost 3x to 5x more than input tokens, and hidden reasoning tokens count as output tokens on reasoning models.