
TwoTrim AI
Cut LLM API costs by 65%. No GPU. No code changes.
20 followers
Cut LLM API costs by 65%. No GPU. No code changes.
20 followers
TwoTrim is an open-source prompt compression middleware for LLM applications.
What it does:
β Strips filler words, redundant sentences, and formatting noise (lossless)
β Semantic sentence scoring + Lost-in-the-Middle reordering (balanced)
β BART summarization for long documents (aggressive)
β FAISS semantic cache β works on similar queries, not just identical ones
Open source. Apache 2.0. Free forever.
github.com/overseek944/twotrim
TwoTrim AI Reviews
Reviews
Most Informative
