Prompting's Hidden Cost: Few-Shot's Token Tax

While few-shot prompting improves accuracy by providing examples, it significantly increases token consumption and computational cost compared to zero-shot, which relies solely on the model's pre-trained knowledge without any in-context examples.

Sources

Open the full topic