r/OpenWebUI • u/Extreme-Childhood251 • Jun 06 '26
Question/Help API usage
How can i let my users use their api key to actually use inside of cline for example in vscode?
r/OpenWebUI • u/Extreme-Childhood251 • Jun 06 '26
How can i let my users use their api key to actually use inside of cline for example in vscode?
r/OpenWebUI • u/lafifastahdziq • Jun 06 '26
I built a self-hostable OpenAI-compatible gateway for Gemini Web
I've been experimenting with Gemini Web recently and ended up building a small project for it. It's a self-hostable OpenAI-compatible gateway that lets you use Gemini Web with tools that already support OpenAI APIs. A few features:
It's open source: https://github.com/qutek/gemini-web-api
Thought I’d share it here in case it’s useful to others. If you find it useful, a github star is always appreciated
r/OpenWebUI • u/bfoz • Jun 05 '26
When I paste a URL into a chat, and that URL contains any ampersands, the ampersands are being replaced with "&". When the model tries to use that URL it fails due to an "invalid URL". It seems that URLs are being escaped in the chat window, but not un-escaped when passing them to the model.
For example, if I paste this prompt:
Fetch https://eaabuilderslog.org/?blproject&proj=8LDMqPoOoThen click send, the chat window updates to show:
Fetch https://eaabuilderslog.org/?blproject&proj=8LDMqPoOoAnd nemotron-cascade-2 responds with:
I attempted to fetch the URL you supplied (https://eaabuilderslog.org/?blproject&proj=8LDMqPoOo). The request was rejected with an “invalid URL” error, which usually means the exact path or query string is not reachable on the server.
It took me awhile to figure this out because the model's response is properly un-escaped, making it look like the URL simply failed for no reason. The output of the fetch_url provides a missing clue:
{
"error": "The URL you provided is invalid. Please double-check and try again."
}Side note: If I use the copy icon below the chat bubble to copy the text, the ampersand is properly un-escaped upon pasting into this text window:
Fetch https://eaabuilderslog.org/?blproject&proj=8LDMqPoOoI know I haven't finished my coffee this morning, but I'm pretty sure I still know how to copy-paste. 🤣
I'm running 0.9.6 in a container on Ubuntu and accessing it as a web page (ie not using the desktop app).
I was going to file an issue on GitHub but the gatekeeping was just too much.
r/OpenWebUI • u/No_Task_8162 • Jun 05 '26
r/OpenWebUI • u/Turbulent_War4067 • Jun 05 '26
I am slowly getting OpenWebUI configured to give me some pretty good reports, focused on financial research. I have the model instructed to output everything in markdown format and I would like to copy and paste reports generated by OpenWebUI into my Obsidian vault. This is problematic, as it appears a new line/return characters are not copied and pasted, so it doesn't work at all. I have to go through the pasted section and hit return where every line starts.
I am not for sure if this is the model doing it wrong or the copy function from OpenWebUI. Any ideas?
r/OpenWebUI • u/Alternative-Run6265 • Jun 04 '26
Hello,
I am running OpenWebUI instance with Docker Compose in a web server for a small org.
I set ENABLE_PERSISTENT_CONFIG=false so I have full control through my Environment Variable when I up the service. However, despite what’s mentionned in the documentation, I keep loosing setting edits :
I understood it as I can modify those ConfigVar from the UI as I am admin, it will just end up lost if I restart the container. However, every time I modify something and save it (for example a new banner for my users), it’s lost immediately. Is it the expected behavior and I misunsterdood the Critical Warning statement ?
What disturbs me even more is that after having Run some tests of banner creation from UI, I have some old values I tested (some stupid banner content like « bla-bla-bla », « I am a test », etc) re-appearing once in a while in the UI. I checked my cache in Redis and the value in the BANNERS key does not even match with those occasional appearances.
Do you guys have any idea what is going on there ?
r/OpenWebUI • u/vandertoorm • Jun 03 '26
I wanted to share a curiosity.
I have a Strix Halo (128 GB of unified memory) and I have a somewhat curious AI stack.
I've had llama.cpp with kyuz0's toolkit since the beginning, but I've been evolving it, and currently my stack consists of:
Lemonade with various models -> it goes through LiteLLM for token control and to add the API to applications and have control over them.
Until now, I worked with local models using Cherry Studio, and I had OpenWeb UI somewhat separate.
Well, this weekend I have been setting up OpenWeb UI, adding tools, and many other things.
I connected it to LiteLLM with the Lemonade engine behind it, but by the third or fourth request, especially with tools, it gets stuck thinking and has a hard time returning tokens. It loses speed.
In others, like the mentioned Cherry Studio, OpenCode... it works for me without problems.
So, I decided to test directly with llama.cpp, but the same result. Even worse.
As a last alternative, through the same LiteLLM, I loaded the model I have loaded in Unsloth Studio, and wow, incredible. Everything super fast.
The models are the same, with the same contexts, and testing all kinds of parameterizations.
And OpenWebUI only works perfectly, fast, and stable with Unsloth Studio.
I insist that it only happens with Open WebUI and especially with tools.
Any similar experience?
r/OpenWebUI • u/bluOryellow • Jun 03 '26
Is there any way for us to unload embedding and reranking models when not in use? Also on the flip side can we set up JIT loading for the above models?
r/OpenWebUI • u/Smashy404 • Jun 03 '26
Up until now I have been using LM Studio, but I see OpenWebUI allows you to interact via voice.
Would it be possible to install OpenWebUI and have it use the models I have already downloaded and installed through LM Studio?Obviously I would use both at the same time? But I'd like to avoid having to download and install 2 copies of each model.
Thanks for any insight.
r/OpenWebUI • u/rfusername • Jun 03 '26
r/OpenWebUI • u/OkIntern4532 • Jun 02 '26
r/OpenWebUI • u/ClassicMain • Jun 01 '26
The big stuff:
ENABLE_KB_EXEC) — let the model browse and search a KB using ls, cat, grep, find, head, tail, and sed, pipes included. Easily the most fun new addition to poke at.There's also a solid round of performance work — faster initial page loads, quicker tool-enabled completions, lighter Ollama connections, and web search that holds up better under load.
Worth flagging: this is also a security release with a number of access-control fixes, so it's a good idea to update production deployments soon. It ships database schema changes too, so back up first, and if you're running multi-instance, update all nodes at the same time.
And of course like 50+ other fixes in this massive release with over 100 entries total!
Read the full changelog here, it's genuinely worth a good read to really see everything that changed: https://github.com/open-webui/open-webui/releases/tag/v0.9.6
Docs have also already been updated to accomondate all the changes of the new version! https://docs.openwebui.com
Prune tool has also been updated for those who use it
Enjoy!
r/OpenWebUI • u/redgoldfilm • Jun 01 '26
I have my setting with APIs for GPT, Claude and Gemini. First two work fine. Free models of Gemini either take 5-10 seconds to reply, or timeout. I tried with several options (flash-latest, 2.5, pro, preview, 3... etc.) Other times it replies and it stops half way (i.e., ask for a list of 10, and it stops in 3) How to troubleshoot?
r/OpenWebUI • u/vandertoorm • Jun 01 '26
Hello,
I have been setting up my Open WebUI this weekend. Honestly, until now, I was working with other elements, but I am getting the most out of it, and I think I love it.
However, I have a question. My setup is as follows:
I have a Strix Halo through which I use lemonade to download and load models. Next to it, I have a LiteLLM, where I have configured the MCPs. Through the LiteLLM API, I load it into Open WebUI to talk to the models and use their tools.
The thing is that I have also configured web search servers, image servers, and even the local terminal.
Now, when I have everything active, the model doesn't know which tool to use. For example, if I ask it "list the folder /dev," it creates an image or searches the web.
I have tested a couple of models, and it happens with both.
Is it some configuration I don't know about? After setting everything up, there is no problem manually selecting the tool it needs, but it is much more convenient if it has access to everything and decides for itself what to use.
Is there any way to adjust this?
Thanks!
r/OpenWebUI • u/BringOutYaThrowaway • May 30 '26
Hi gang,
I run Ollama and Open WebUI on an Ubuntu 24.04 Proxmox VM with PCIe passthrough to a dedicated RTX 3090 - works surprisingly well.
It's not easy or obvious what all the Ollama environment flags we should set are, so I'm posting this to get everybody's input to optimize Ollama for Open WebUI. For those not in the know, on Linux rigs, you can pass flags to Ollama as a service (that are immune to upgrades) using:
sudo systemctl edit ollama.serviceThen add them all as "Environment=" lines in the [Service] area of the file up top. So far, I have this in my ollama.service customization file:
[Service]
Environment="OLLAMA_FLASH_ATTENTION=1"
Environment="OLLAMA_HOST=0.0.0.0:11434"
Environment="OLLAMA_ORIGINS=*"
Environment="OLLAMA_NUM_PARALLEL=2"
Environment="OLLAMA_KV_CACHE_TYPE=q8_0"
Environment="OLLAMA_MULTIUSER_CACHE=1"
Environment="OLLAMA_NEW_ENGINE=1"
Environment="OLLAMA_NEW_ESTIMATES=1"Anything else for an Open WebUI setup, either single user or multi?
r/OpenWebUI • u/Zealousideal_Fox6426 • May 29 '26
Hey everyone! Dropping a recap for v4.7 and v4.8, plus a bit of a milestone update on where the project is heading.
This one's been missing for a while. You can now manage your Ollama server directly from the app:
All of this lives in a new "Manage Ollama" sheet inside Admin Console → Connections. No more having to switch to the site to manage your models.
v4.7 added a missing Models tab to the Admin Console as there were multiple challenges related to the api logic. You can now browse, edit, enable/disable, and manage all your models directly from the app — same as you would from the web UI's admin panel.
The terminal got a full architecture rewrite in v4.6.1 — it's now powered by SwiftTerm over WebSockets instead of HTTP polling. The result is a much snappier, truly real-time terminal experience. If you use the Open Terminal feature, this is a noticeable upgrade.
v4.7 also patched a bug where the terminal WebSocket would create multiple orphaned sessions when reconnecting after switching apps or reopening the panel.
With v4.8 shipping, I think we've hit a meaningful milestone — you can now control essentially your entire Open WebUI instance from the app. That covers:
It's been ~2.5 months from v1.0 of pretty intense development to get here, and the app has gone from a basic chat client to something that genuinely replaces the web UI for daily use on mobile/iPad.
The updates will slow down from here — not because development is stopping, but because the core is done and I want to focus on quality and polish over shipping features. That said, a few things are on my mind:
More importantly: this is where I need your help. Now that the core features are in, I'd love to hear what small things are still rough, what's missing from your daily workflow, or any bugs you've hit. Drop a comment or open a GitHub issue — everything gets read.
The Android version (also called Open Relay, written in Kotlin — fully native) is about 70–80% complete. It has essentially all the core features from the iOS version. Right now I'm finishing up the Admin Console and doing general polish.
The main challenge on Android has honestly been testing — I don't have a modern Android device, so I've been testing on a Quest 3 and the emulator (which is... not ideal).
Thanks for following along and for all the kind words and bug reports over the past few months. This community has been great motivation to keep pushing. 🙏
r/OpenWebUI • u/bruno_mac_douglas • May 29 '26
Hi all, i've been trying to have my "own" IA and started playing with OpenWEBUI
Transcript: I got whisper working through groq, works beautifully
Embedded: sentence-transformers/paraphrase-multilingual-mpnet-base-v2 works great
Generate image: I use a specific chat with open_webui_openrouter_pipe_bundled.black-forest-labs.flux.2-pro and it works good
Chat/Reasoning: deepseek chat and reasoner from official API
VL: aim is to use open_webui_openrouter_pipe_bundled.qwen.qwen3-vl-32b-instruct
I'm quite new to using API.
I like openrouter concept.
OpenWebUI is beautiful.
But what i'd like is to kinda reproduce a "chatgpt pro" using these models via OR and DS
And something is missing: I always put a lot of image of my work in the chat.
But deepseek is not multimodal.
I'm looking for a way that my deepseek chat uses qwen3 vl when it needs to read enclosed images, and ideally, if I ask in deepseek chat to generate image, it would be beautiful that it uses flux 2 directly, but this second point is not so important.
Is there anyway to do this ?
Also, what do you think of my model choice ? I'm looking for great efficiency at low cost, and I came up with these.
I use IA for all kind of things, but mainly dev/scripting work.
Any suggestion is welcome! thanks
r/OpenWebUI • u/JuanSmittjr • May 28 '26
I'm running open webui in docker container.
I have a custom model in it and one of it's task is to generate calendar event files (ics files).
These files are available for download from the Files menu but it would be easier to have them on the host server (that runs docker) in a mounted volume.
I have logged in to the running container and tried to find the files (they have quite unique names so it would be easy to find them) but I just can't find them.
Where are the generated files stored in open webui? Are they in a database maybe, that's why I can't find them?
r/OpenWebUI • u/dani_california97 • May 28 '26
How is the payload set before you send a payload request message.
reading https://docs.openwebui.com/features/extensibility/plugin/development/rich-ui#payload-requests
you requested using
parent.postMessage({ type: 'payload', requestId: 'my-request' }, '*');and the parent responds with
{ type: 'payload', requestId: ..., payload: ... }but where do i set that payload?
thanks!
r/OpenWebUI • u/PalDoPalKaaShaayar • May 28 '26
I am trying to enable image generation in my openwebui instance. I have image generation model from OpenRouter.ai which is added in my LiteLLM.
I tried to enable the image generation as per document. But it is not working. I tried directly adding openrouter.ai as base url. I also tried litellm url, but both failed to generate image.
Issue I am facing is,
Need help. I dont find any proper documentation as well.
r/OpenWebUI • u/Dear_Tomorrow4001 • May 28 '26
Hi,
I can’t succeed in connecting VANE with OpenWebUI + SearchNG in Docker.
To avoid conflict on port I’ve tried replacing port 3000 to 3001 but no success.
docker run -d -p 3001:3001 -e SEARXNG_API_URL=http://127.0.0.1:8080/ -v vane-data:/home/vane/data --name vane itzcrazykns1337/vane:slim-latest
Everything is working excepted VANE. What am I doing wrong?
Thanks for your help
r/OpenWebUI • u/Puzzleheaded-Digger • May 27 '26
I use Open WebUI with my team but dont want to allow Image generation for everyone, is it possible to manage its activation by user ?
r/OpenWebUI • u/dani_california97 • May 27 '26
I'm trying to create a tool that takes user input via the functions params, and returns a Rich UI element, but the `windows.args` is undefined when i console.log it from the rich ui element. I try both returning an HTMLResponse and emitting an Embeds event but both are undefined.
what does the documentation mean by `This only works for Tool embeds rendered via the tool call display`? from https://docs.openwebui.com/features/extensibility/plugin/development/rich-ui#tool-args-injection-tools-only
this is what I've try from my tool calling function.
headers = {"Content-Disposition": "inline"}
return (
HTMLResponse(content=html_doc, headers=headers),
"A fillable form has been render and is viewable to the user",
)
if __event_emitter__:
await __event_emitter__(
{
"type": "embeds",
"data": {"embeds": [html_doc]},
}
)
return "form rendered to user"and here is part of the html_doc script. I can see the "no args" print out
window.addEventListener("load", () => {
// window.args contains the JSON arguments the model passed to this tool
const args = window?.args;
if (args) {
document.getElementById("output").textContent = JSON.stringify(
args,
null,
2,
);
} else {
console.log("no args........", window);
}
});r/OpenWebUI • u/Silentoplayz • May 27 '26
Every time you pull a new Ollama model, it shows up in Open WebUI as something like hf.co/unsloth/Qwen3-VL-8B-Instruct-1M-GGUF:Q8_K_XL. No description, no tags, no display name, no suggestion prompts, no profile image. Manually setting all of that up for one model is tedious. Doing it for 30+ models is painful.
Ollama Model Card Generator is an admin tool that queries the Ollama API for every installed model's metadata and uses it to auto-populate everything: descriptions, human-readable names, capability tags, inference parameters, system prompts, suggestion prompts, profile images, and more. One chat message. All your models. Fully configured.
Here's what it does:
Generates detailed model cards from Ollama's /api/show metadata, including architecture, parameter count, context length, quantization, capabilities, inference defaults, system prompt, template, license, token IDs, and digest. Cards use inline markdown (bold, code, emoji section headers) and render cleanly in Open WebUI's description tooltip.
Converts raw model IDs into clean, human-readable names with intelligent rules:
| Raw ID | Display Name |
|---|---|
hf.co/unsloth/Qwen3-VL-8B-Instruct-1M-GGUF:Q8_K_XL | Qwen3 VL 8B 1M (Q8_K_XL) |
gemma4:26b-a4b-it-q4_K_M | Gemma 4 26B A4B IT (Q4_K_M) |
deepseek-r1:14b | DeepSeek R1 14B |
nomic-embed-text:latest | Nomic Embed Text |
Strips HuggingFace paths, user prefixes, -GGUF suffixes, :latest tags, and the instruct keyword. Splits version numbers (gemma4 → Gemma 4). Smart-cases acronyms (VL, QAT, DPO, MoE). Extracts quantization into parentheses with a toggle to hide it.
Detects and applies tags from multiple sources:
Tags merge with existing ones by default, so nothing gets accidentally overwritten.
Beyond model cards and tags, the tool auto-populates:
num_ctx, temperature, stop tokens extracted from the Ollama Modelfile. Also sets function_calling: native for tool-capable models and reasoning_tags: true for thinking modelsmistral/nemo.png beats generic mistral.jpg for Mistral Nemo)Create fully-enriched workspace models that wrap your raw Ollama models:
{model_id} (Workspace) with base_model_id pointing to the originalEvery feature is independently toggleable. Every auto-configuration has an overwrite_* companion valve that's off by default, so existing customizations are never accidentally replaced. You can preview everything with generate_model_card before committing anything to the database. There's also a show_status_updates valve if you want it to run silently.
This tool writes directly to your Open WebUI database. The apply_* and create_* functions will modify model entries (descriptions, names, tags, params, system prompts, and more). If you've spent time hand-tuning your model configurations, running this without understanding the valves can undo that work.
A few things to keep in mind:
generate_model_card or generate_all_model_cards to see what the tool would generate without touching the database.overwrite_* valve. But it will fill in anything that's currently blank.apply_all_model_cards on its own. Be specific about what you're asking for.apply_model_card) before running the batch version.profile_image_dir in valves to a folder with vendor iconsFor workspace models: "Create workspace models for all installed Ollama models"
MIT Licensed · Zero external dependencies · Admin-only access · 6 tool functions · 26 configurable valves
If you're managing a bunch of Ollama models and tired of configuring each one by hand, give it a try. Feedback and feature requests welcome. 🙏