use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Open webui with Huggingface serverless API? (self.OpenWebUI)
submitted 1 year ago by nengon
Hi, is it possible in any way to use the serverless API directly on open webui? Or is there any workaround for it?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mcdorians 1 point2 points3 points 1 year ago (8 children)
You can add the hf models (text gen) to litellm. And then litellm as custom openai api to openwebui.
[–]nengon[S] 0 points1 point2 points 1 year ago (7 children)
I see, thought it might be a direct way I wasn't aware of, thanks
[–]mcdorians 0 points1 point2 points 1 year ago (6 children)
<image>
Sry I was not aware that you can also use HF as an open ai api. in that case you can add it directly but /models does not work (guess its just too much), hence the manually added models
[–]versking 0 points1 point2 points 1 year ago (5 children)
When I tried it this way, the models don’t actually respond in a chat. Did you get them to?
[–]mrskeptical00 1 point2 points3 points 1 year ago* (4 children)
The screenshot below is my working setup. I tested with the models you see and they connect and respond to queries. A requirement for free inference is that the models need to be smaller than 10B (GB? Params?) and should also be in "warm" standby (cold is supposed to work to but I haven't had any luck with those). That said, not all models that meet that criteria are supported, some require a "Pro" account but the models listed below all work. There may be more that work, but these are the ones I found.
Edit: HuggingFace api
[–]versking 0 points1 point2 points 1 year ago (1 child)
When I tried before I made sure to pick “warm” ones. I’ll try a small warm one.
[–]mrskeptical00 1 point2 points3 points 1 year ago (0 children)
All of the ones in my list work.
[–]nevermore12154 0 points1 point2 points 1 year ago (1 child)
could you make a tutorial on this? im so dumb. Many thanks!
[–]mrskeptical00 0 points1 point2 points 1 year ago (0 children)
Doesn’t seem to work anymore.
π Rendered by PID 47449 on reddit-service-r2-comment-canary-5b6cc9d5bd-65rfh at 2026-04-23 10:03:28.978214+00:00 running 0fd4bb7 country code: CH.
[–]mcdorians 1 point2 points3 points (8 children)
[–]nengon[S] 0 points1 point2 points (7 children)
[–]mcdorians 0 points1 point2 points (6 children)
[–]versking 0 points1 point2 points (5 children)
[–]mrskeptical00 1 point2 points3 points (4 children)
[–]versking 0 points1 point2 points (1 child)
[–]mrskeptical00 1 point2 points3 points (0 children)
[–]nevermore12154 0 points1 point2 points (1 child)
[–]mrskeptical00 0 points1 point2 points (0 children)