Why Output Tokens Cost More & Slow Response

Output tokens typically cost 3-5 times more than input tokens and significantly impact latency because the LLM's 'decode phase' generates tokens sequentially, requiring more intensive computational work for each word produced compared to processing input.

Sources

Open the full topic