Optimizing Input Token Usage in API Conversations

Hello everyone,

I am currently using the API and I’m wondering if there is a way to reduce the number of input tokens. During a typical conversation with the API, the input tokens tend to be too extensive, so I’m seeking a solution to this issue.

@stevenic frequently mentions this tool that he made:

I haven’t tried it, but it could be a start if you don’t intend to roll your own solution :thinking:

Welcome to the forum.

Great tools by @stevenic …

Try paring down the system prompt small enough so that it still works.

If you share the prompts, we can probably help tighten them up.

Moving this to Prompting category.