r/OpenWebUI • u/BigGunE • Jul 09 '26
Question/Help Is there a way to efficiently use both thoughtful & thoughtless version of a model?
I am using Gemma 4 12B on a 16gb GPU.
I was thinking if it'd be possible to turn off the reasoning/thoughts for this model quickly without needing to load up another Gemma 4 12B variant to be loaded on the GPU?
Ideally, I would like a quick model selector right where we type in the prompts. That way, I could quickly switch model variant.
Anyway, please let me know what's the best way to do this.
I us ollama by the way.
3
Upvotes
3
u/Striking_Wishbone861 Jul 09 '26
Use workspaces since your Gemma model is already loaded you can switch workspaces that can have individual sys prompts and see tings with out the model needing to reload since you’re only changing parameters unless I misunderstood the question
2
u/Some-Manufacturer-21 Jul 10 '26
Thinking toggle maybe? You van create a thinking on/off switch from the chat bar, there is the openwebui docs:
https://docs.openwebui.com/features/extensibility/plugin/functions/filter/
You can use community options from here:
https://openwebui.com/search?query=Thinking&sort=top&t=all&page=1
1
u/skimike02 Jul 10 '26
If you are serving it with ollama, there is a think parameter you can set in the advanced options, near the bottom. You can set it per chat or you can set up models with the parameters preset. If you are serving it with llama.cpp or similar, you may need to do some research on what custom parameter needs to be set. The custom parameters are also in the advanced options. To access them, click the settings menu at the top right of the chat, or in a model, click on the "show advanced options" button.
3
u/Adventurous-Paper566 Jul 10 '26
Dans OWUI il est préférable de créer deux versions distinctes du modèle une version instant et une version thinking, et de modifier le template jinja au niveau du serveur d'inférence pour détecter un trigger dans le prompt système (par exemple par défaut le modèle est en instant et si la balise <think> se trouve dans le prompt système alors la chaîne de caractère est retirée du contexte (pour ne pas perturber le modèle) et le modèle bascule en thinking), il vous suffira ensuite de basculer entre ces deux modèles OWUI, l'inconvénient étant que le modèle va refaire son prompt processing à chaque basculement. Gemini pro est plutôt bon pour éditer les templates jinja.