Token Efficiency
The ability to achieve the desired result with the minimum number of tokens. It affects cost, delay, and context limits.
How to Improve
- Remove unnecessary details from prompt;
- Provide a clear instruction instead of a long description;
- Use few-shot only where it is actually needed;
- Ensure that the fragments found in RAG are short and relevant.
Why
Every token is money and time. For mass calls, saving tokens directly reduces costs.