@akincenk2
Cenk AkınDeveloper▲5
Python / AI Developer, Independent
36m ago · Ship · Agents · Vancouver

Shipped: llm-router: cheaper LLM answers at equal accuracy

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.

llm-router: cheaper LLM answers at equal accuracy logollm-router: cheaper LLM answers at equal accuracy@akincenk/llm-router · github.com/akincenk/llm-router
llm-routingsemantic-cachellmopscostopen-source

Comments

No comments yet
Start the conversation.
Log in to join the thread.