Live data from Hacker News

AI Proxy to swap in any LLM while using OpenAI's SDK

twitter.com

1–7 of 7 posts

Re: AI Proxy to swap in any LLM while using OpenAI's SDK

#3

How does this compare to LocalAI? https://github.com/mudler/LocalAI

The AI Proxy from the post is for using multiple local and remote LLMs over the OpenAI API (along with API key management apparently), while LocalAI is only for using local LLMs.

Re: AI Proxy to swap in any LLM while using OpenAI's SDK

#4
Been meaning to build similar. Specifically with a view towards mixing local LLMs and openAI. Locals are cheaper and more interesting but less powerful. eg some tasks will need gbnf grammar some won’t. Some can get away with 3.5 others need 4

Suspect I’ll end up duplicating OPs efforts though because hosted doesn’t really work for that.

Re: AI Proxy to swap in any LLM while using OpenAI's SDK

#5
post #4

Been meaning to build similar. Specifically with a view towards mixing local LLMs and openAI. Locals are cheaper and more interesting but less powerful. eg some tasks will need gbnf grammar some won’t. Some can get away with 3.5 others need 4 Suspect I’ll end up duplicating OPs efforts though because hosted doesn’t really work for that.

Sounds interesting - feel free to reach out or discuss on the Braintrust discord :)!

Re: AI Proxy to swap in any LLM while using OpenAI's SDK

#7
post #3

How does this compare to LocalAI? https://github.com/mudler/LocalAI

The AI Proxy from the post is for using multiple local and remote LLMs over the OpenAI API (along with API key management apparently), while LocalAI is only for using local LLMs.

promptfoo and ChainForge do multi-LLM comparisons and benchmarking: https://news.ycombinator.com/item?id=37447885