← Cenk Akın's projects
Sends each question to the cheapest model that can answer it, and skips the model when the same question was already answered. Explainable difficulty rules, a cascade with escalation and fallback, and a semantic cache that never mixes up numbers. Measured on 40 questions with local models, tokens priced at Anthropic list prices: the rules kept the same 100% accuracy as always using the large model at 58% lower cost. The cache answered 14 of 15 reworded questions and was fooled by 0 of 5 number traps.
Python standard library
OllamaGemma 4Qwen 3.8EmbeddingGemma 2llm-routingsemantic-cachellmopscostopen-source
More from members
All projectsSee what other members are building and what each project is looking for.
Comments · 0