RubyGems Navigation menu

llm_optimizer 0.1.0

llm_optimizer reduces LLM API costs by up to 80% through semantic caching (Redis + vector similarity), intelligent model routing, token pruning, and conversation history summarization. Strictly opt-in and non-invasive.

Gemfile:
=

install:
=

Versions:

  1. 0.1.7 May 05, 2026 (25 KB)
  2. 0.1.6 May 04, 2026 (25 KB)
  3. 0.1.5 April 22, 2026 (24 KB)
  4. 0.1.4 April 13, 2026 (22 KB)
  5. 0.1.3 April 10, 2026 (21 KB)
  6. 0.1.0 April 09, 2026 (17 KB)
Show all versions (8 total)

Runtime Dependencies (3):

logger ~> 1.6
msgpack ~> 1.7
redis ~> 5.0

Development Dependencies (2):

mocha ~> 2.0
prop_check ~> 1.0

Owners:

Pushed by:

Authors:

  • arun kumar

SHA 256 checksum:

=

Total downloads 1,364

For this version 140

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Links: