TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: LLM Router Recommendations

3 点作者 iknownthing8 个月前
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 条评论

LifeOverIP8 个月前
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 个月前
The best option I have seen for routing is LiteLLM. Worth a look.
gbertb8 个月前
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 未加载