Re:Show HN: Route your prompts to the best LLM
by danlenton on Wednesday May 22, 2024 @05:18PM
(#40446698)
Great question! Generally the neural network used for the router takes maybe ~20ms during inference. When deployed on prem, in your own cloud environment, then this is the only latecy. When using the public endpoints with our own intermediate server, it might add ~150ms to the time-to-first-token, but inter-token-latency is not affected.
We generally see the router being useful when the LLM application is being scaled, and cost and speed start to matter a lot. However, in some cases the output quality actually improved, as we're able to squeeze the best of GPT4 and Claude etc.
Long-term plan for profitability would come from some future version of the router, where we save the user time and money, and then charge some overhead for the router, but with the user still paying less than they would be with a single endpoint. Hopefully that makes sense?
Happy to answer any other questions!
Re:Show HN: Route your prompts to the best LLM
by jonahx on Thursday May 23, 2024 @01:52AM
(#40450947)
Do you save the user data, ie, the searches themselves? What do your TOS guarantee about the use of that data?
Re:Show HN: Route your prompts to the best LLM
by danlenton on Thursday May 23, 2024 @04:43AM
(#40452169)
We use this data to improve the base router by default. It's fully anonymized, and you can opt out.
Re:Show HN: Route your prompts to the best LLM
by ColinHayhurst on Thursday May 23, 2024 @11:18AM
(#40455788)
Without opt out it would be a no go, so that's great to hear. What's the downside of opting out?
Re:Show HN: Route your prompts to the best LLM
by danlenton on Thursday May 23, 2024 @01:02PM
(#40457142)
no down side
If I was doing this I'd negotiate a volume discount, charge the clients the base rate and pocket the difference.
The pattern I often see is companies prototyping on the most expensive models, then testing smaller/faster/cheaper models to determine what is actually required for production. For which contexts and products do you foresee your approach being superior?
Given you're just passing along inference costs from backend providers and aren't taking margin, what's your long-term plan for profitability?