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.
About Prompt Token Minifier
A lightweight Python minifier that strips formatting and comments from JSON and code blocks to drastically reduce LLM prompt token costs. Prompt Token Minifier is an open-source project by Encephos, first published in August 2026. It is written mainly in Python. Areas it covers: AI Tools, Context Window, Cost Ereduction, LLM, OpenAI, Prompt Engineering. Source code: https://github.com/Encephos/prompt-token-minifier
Highlights
- AI Tools
- Context Window
- Cost Ereduction
- LLM
- OpenAI
- Prompt Engineering