PT
Prompt Token Minifier
A lightweight Python minifier that strips formatting and comments from JSON and code blocks to drastically reduce LLM prompt token costs.
Pros
- Source code is public
- Free to use under an open-source arrangement
- Built with Python
Cons
- Setting it up may need technical knowledge
- Check that it handles your data the way you need