TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: LLM Router Recommendations

3 pointsby iknownthing8 months ago
Basically I have a use-case where I am building an llm-based tutor where some questions you ask the tutor can be adequately answered by gpt-4o-mini but others required gpt-4o. I'm looking for a router that can route to gpt-4o only when necessary and otherwise route to the cheaper gpt-4o-mini. First of all, is this even something that can be done reliably at this point? If so, are there any recommendations for LLM routers that can do this?

3 comments

LifeOverIP8 months ago
I would check out if Not Diamond (no personal affiliation) [0] fits your use case. They had a really interesting blog post recently where they open sourced their older model router [1].<p>[0] <a href="https:&#x2F;&#x2F;www.notdiamond.ai&#x2F;features" rel="nofollow">https:&#x2F;&#x2F;www.notdiamond.ai&#x2F;features</a><p>[1] Blog - Routing on Random Forests - <a href="https:&#x2F;&#x2F;www.notdiamond.ai&#x2F;blog&#x2F;rorf" rel="nofollow">https:&#x2F;&#x2F;www.notdiamond.ai&#x2F;blog&#x2F;rorf</a>
phren0logy8 months ago
The best option I have seen for routing is LiteLLM. Worth a look.
gbertb8 months ago
try <a href="https:&#x2F;&#x2F;github.com&#x2F;lm-sys&#x2F;RouteLLM">https:&#x2F;&#x2F;github.com&#x2F;lm-sys&#x2F;RouteLLM</a> video: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=mcZKQe2pUA0" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=mcZKQe2pUA0</a>
评论 #41721324 未加载