Why Open WebUI task models matter for a shared deployment
In a shared Open WebUI instance, every new chat can trigger background work on the model the user picked: generating a title, suggesting tags, proposing follow-up questions, and turning a question into a web search query. Open WebUI lets administrators set task models for these background tasks, separately from the chat models users select. The Open WebUI task models documentation describes this split, and it is the setting that determines which model runs that work. If you leave it unset, the chat model handles it, which means a large or paid model may be doing small jobs hundreds of times a day across the company.
The decision to separate them usually comes from two concerns. The first is cost: if the chat model is a metered API, every title and tag is billed as a request, and that spend grows with user count and chat volume even though the output is a few words. The second is data: these tasks read the start of a conversation, and a team may not want that metadata sent to an external provider when the chat itself is kept local. Before choosing a route, confirm which tasks your version of Open WebUI sends to the task model, since the set can change between releases, and measure how many background calls a typical user generates in a day.
There are two practical routes. One is a small local model served by Ollama, which keeps these requests on hardware you control. The other is a cheaper hosted model reached through any OpenAI-compatible endpoint that Open WebUI supports. Neither route comes with a savings figure in this guide, because the result depends on your model prices, traffic and hardware. Ask any partner or vendor for a cost estimate built on your own request logs, and confirm the task model setting and its provider behavior in a test instance before you change production.
Choosing a task model by where it runs
Running the task model on Ollama keeps title, tag and query generation inside infrastructure you control. Ollama binds to 127.0.0.1 on port 11434 by default, so Open WebUI must reach it over a deliberately configured address, and the local API does not require authentication. That makes network placement and access control your responsibility. Ollama states that when it runs locally it does not see your prompts or data.
- Data exposure: Prompts for titles and tags stay on hosts you operate, provided cloud features are turned off with
OLLAMA_NO_CLOUD=1or the server configuration file. - Network exposure: Changing
OLLAMA_HOSTto listen beyond localhost exposes an unauthenticated API, so restrict it to the Open WebUI network segment or a proxy that enforces authentication. - Operations: You patch Ollama, manage model files in the storage path and watch GPU or CPU load, since background tasks share capacity with chat.
- Concurrency: Defaults such as one parallel request per model (
OLLAMA_NUM_PARALLEL) can queue task calls behind chat traffic. - Cost: Ollama states that running models on your own hardware is always unlimited, so cost is driven by hardware, power and staff time.
Confirm the network path, the host that runs Ollama, and how queued requests affect response times for users.
A low-cost hosted model reached through an OpenAI-compatible provider lowers local hardware demand, but every task prompt leaves your environment. Open WebUI connects to OpenAI, Anthropic or any OpenAI-compatible provider, so you can point the task model at a smaller model on the same or a different provider. The data question becomes contractual and configuration-based rather than architectural.
- Data exposure: Titles and tags are built from conversation content, so the provider receives user text. Confirm its retention, training and region terms before approving it.
- Credentials: The provider API key is stored in Open WebUI, so it needs the same secrets handling as other integrations.
- Operations: The provider handles capacity and model updates, but a model change or deprecation can alter title and tag style without notice.
- Availability: A provider outage affects background tasks and may leave chats without generated titles.
- Cost: Per-token charges recur with usage. Ask the provider for its pricing for the specific task model and estimate volume from your own chat counts.
Confirm the provider's data processing terms, the approved region and whether your security team accepts that conversation text leaves the network for metadata.
Using the chat model for background tasks requires no extra model, so there is nothing new to approve or operate. The trade-off is that every title, tag and follow-up call uses the same model, quota and cost as user conversations. Where the chat model is already local, the data profile matches your chat policy. Where it is hosted, the task load is added to the same bill.
- Data exposure: The data profile is identical to chat, so no separate review is needed if the chat model is already approved.
- Operations: There is one model to monitor, update and troubleshoot, which keeps the stack simple for small teams.
- Capacity: Background calls compete with interactive use, which matters most on a single local GPU serving many users.
- Cost: Hosted chat models charge for task calls at the same rate as chat, so the saving from a cheaper task model is lost.
- Behavior: A large chat model may produce longer or less consistent titles than a small model tuned to short output.
Confirm whether the chat model's cost and capacity can absorb task traffic, and whether the admin panel setting for the task model is left at its default.
Task model configuration options and when each fits
This table compares the main task model choices in Open WebUI and the Ollama settings behind them, with the situation each one suits. Read it row by row against your own exposure, concurrency and data handling requirements, and confirm each setting against the current Ollama and Open WebUI documentation for your version.
| Setting or choice | What it does for task models | When it fits |
|---|---|---|
| Task model selector | Sets a model in Open WebUI admin settings for titles, tags, follow-ups and search query generation, separate from chat models. | Pick a small model for these jobs when chat models are large or expensive. Test that the chosen model returns clean, short output for each task. |
| Local Ollama on 127.0.0.1:11434 (default) | Keeps the Ollama API reachable only from the host itself. The local API does not require authentication. | Fits a single-host deployment where Open WebUI and Ollama run on the same machine or in the same container network namespace. |
| OLLAMA_HOST for exposure | Changes the bind address so Open WebUI on another host or container can reach Ollama. | Needed when Ollama runs on a separate server. Put it behind a reverse proxy or a private network, because the local API has no built-in authentication. |
| OLLAMA_NUM_PARALLEL | Sets parallel requests per model. The documented default is 1. | Raise it only when title and tag jobs queue behind each other during busy periods, and check memory use after the change. |
| OLLAMA_MAX_QUEUE | Sets how many requests Ollama holds while waiting. The documented default is 512. | Lower it to fail fast when background jobs pile up, or keep the default when short delays are acceptable for metadata. |
| OLLAMA_NO_CLOUD=1 | Turns off Ollama cloud features so requests stay on local models. | Fits deployments with data handling rules that forbid sending prompts or metadata to a provider. Confirm the setting covers every path your task model uses. |
| Cloud task model through an API key | Sends task prompts to a hosted provider, usually at a lower model size and per-request cost than chat models. | Fits when metadata content is low risk and cost matters more than locality. Confirm the provider's data retention terms before you enable it. |
How to set up a task model in Open WebUI
This sequence takes a team from an unconfigured Open WebUI instance to a small local or low-cost task model that handles titles, tags and search queries, with a check after each stage so problems surface before users see them.
Confirm version and install method
Confirm which Open WebUI version you run and how it was installed (Docker, Docker Compose, Kubernetes with Helm, or pip). Compare your version with the current release, v0.12.3, published on the project's GitHub releases page, and plan any upgrade through a test instance first. Check the admin panel's version information and record it in your change log. Done when you can name the version, the install method and the person who owns upgrades. Confirm the task model settings you see match the documentation for that release, since menu locations can move between versions.
Run or connect the model server
Choose the server that will run the small task model. For a local option, install Ollama and pull a compact model your hardware can run, or point Open WebUI at a provider you already approve. Ask your security team to confirm which provider and data terms apply if the task model is remote, because titles and search queries still contain user text. Confirm the model answers a simple prompt from the command line or API before you involve Open WebUI. Done when a direct test request returns text from the chosen model.
Restrict the model server network binding
By default Ollama binds to 127.0.0.1 on port 11434, and its local API does not require authentication. If Open WebUI runs in a container or on another host, you must change the bind address with the OLLAMA_HOST environment variable, which exposes the API beyond localhost. Limit that exposure with firewall rules that allow only the Open WebUI host, or place a reverse proxy with authentication in front of it, as the Ollama FAQ describes. Set OLLAMA_NO_CLOUD=1 if cloud features are not approved. Done when a request from an unapproved host is refused and the Open WebUI host can still reach the API.
Add the model connection in Open WebUI
In the Open WebUI admin settings, add a connection to the model server using its address and, where the provider requires one, an API key. For an Ollama server, use the address that the Open WebUI container or process can reach, which may differ from localhost. Keep the connection limited to administrators who manage providers. Save the connection and confirm the model list populates. Done when the compact model appears among the models available to Open WebUI and a test chat with it returns a response.
Set the task model in admin settings
Open the admin settings for task models and select the compact model for background tasks. Open WebUI keeps task models separate from chat models, so your main chat model does not need to change. Decide whether a separate model is used for web search query generation, since that setting can differ from the title and tag setting in your version. Save the configuration and record which model handles each background task. Done when the settings page shows the chosen task model and your change record names it.
Test title generation
Start a new chat, send a short question and wait for the chat title to update. Confirm the title is generated by the task model, not your chat model, by checking the model server logs or request counts for the task model's name. Try a second chat with a longer message to see whether the title stays short and relevant. Done when a new chat receives a sensible title and the server log shows a request from the task model.
Test tag and search query generation
Enable the tag feature if your deployment uses it, then open a chat and check that tags are suggested or stored in the expected place. Next, turn on web search for a question that needs current information and confirm the search query is generated and the results are used in the answer. Review the generated query text in the logs to make sure it contains only what a search needs. Done when tags appear for a test chat, a web search runs with a generated query, and the logs show the task model handled both requests.
Verify behavior after changes
Repeat the title, tag and search tests after each upgrade, model change or network change, because each can alter which model answers and where requests go. Record the test results with the Open WebUI version, the task model name and the server address. Ask your security team to review the outbound traffic from the Open WebUI host once. Done when the test record is saved and a repeat run after the next change passes without edits to the configuration.
How chat and task requests travel to different models
The diagram starts with a user message in Open WebUI, which goes to the chat model. Background work such as titles, tags, follow-ups and search queries goes to the task model you set in the admin panel, which can run on the local Ollama server or an external provider. Those two targets sit in separate trust boundaries. Generated metadata is written back to the Open WebUI database, so check which boundary each task model belongs to before you choose one.
Chat and background tasks can use different models, with different trust boundaries.
Where data goes when a task model runs
A task model receives prompt context from Open WebUI, so the destination of that context decides the privacy and security review. The cards below cover the local runtime, external providers, credentials, logs and multi-replica state that together determine where titles, tags and search queries travel.
Local Ollama keeps prompts on your hardware
Ollama states that when it runs locally it does not see your prompts or data, so a task model served from your own hardware keeps title and tag requests inside your environment. Confirm this against the version you deploy and check that cloud features are turned off with OLLAMA_NO_CLOUD=1 or the server configuration file. Record which model serves each background task so the review covers the actual route.
Unauthenticated local API needs network limits
The local Ollama API at localhost:11434 does not require authentication, and Ollama binds to 127.0.0.1 port 11434 by default. If you change the bind address with OLLAMA_HOST or place a proxy such as Nginx in front, anyone who can reach that address can send requests. Restrict the listener to the Open WebUI host or network segment and test that other hosts cannot connect.
External providers receive prompt context
If an admin sets a task model to a hosted provider, the title or tag request carries the conversation text that the model needs to summarize, so that text leaves your infrastructure. Check the provider's data handling and retention terms before choosing it for background work. Where policy requires local processing, limit task models to local routes only.
Cloud API keys sent as Bearer tokens
Direct cloud inference at ollama.com/api and ollama.com/v1 requires an API key sent as a Bearer token. Store that key in your secrets manager or environment configuration rather than in shared admin notes, rotate it on staff changes, and scope it to the models you approved. Any user who can read the connection settings may be able to reuse the key, so limit admin access accordingly.
Ollama API authenticationTask requests appear in logs
Each title, tag and search query generation is a model request, so it can appear in Open WebUI logs, proxy access logs and model server logs. Decide what is logged, for how long, and who can read it, and make sure those logs do not store full prompt bodies unless that is intended. Ask your team to confirm the logging behavior of each component in the request path during testing.
Multi-replica deployments need shared state
When Open WebUI runs several replicas, sessions, websocket connections and application state must be shared through Redis, and uploads and knowledge must sit on shared file storage. Without Redis, signing out does not revoke tokens, which remain valid until they expire, by default after 4 weeks. Confirm that every replica uses the same task model settings and reaches the same model endpoint.
Scaling Open WebUI docsQuestions buyers ask about task model cost and effort
What drives the cost of running a local task model compared with a hosted one?
The main difference is where the compute and the per-token bill sit. A local task model runs on hardware you already own or buy, so the recurring cost is power, rack space or cloud instance time, plus the staff time to keep it patched. A hosted task model bills per request or per token, so its cost grows with the number of chats, titles and search queries your users generate. Titles, tags and search query generation are short requests, so the bill is usually modest per user, but it multiplies with headcount. Ask any quote to separate one-time setup from recurring hardware, licensing and usage costs, and to state which model sizes it assumes.
How long does setting up a task model take with existing infrastructure?
The duration depends mainly on what already exists. If you run Open WebUI and have a model server you already operate, the work is mostly choosing a small model, assigning it as the task model in the admin settings and testing its output. If you need to add a model server, provision GPU or CPU capacity, or agree network access between the two services, the work grows accordingly. No fixed duration applies to every environment, so ask the partner for a timeline built from a written scope that names your existing components and any new ones.
What does the work need from our team?
Expect to provide access and decisions rather than hands-on build time. You need an owner for the model server and its hardware or cloud account, administrator access to Open WebUI, a list of the models your organization has approved for use, and someone who can confirm that task traffic may stay inside your network. Security or compliance staff should review where prompts and generated metadata are stored and logged. Your team also needs to agree who will monitor the model server after handover.
Can our own staff configure a task model without a partner?
Yes, for a single-team pilot, the configuration itself is small. Open WebUI lets administrators set a task model separately from chat models, so an engineer with admin access can select a small model once the model server is reachable. The harder parts are the surrounding decisions: model choice, capacity for concurrent requests, logging and data handling, and failure behavior when the model server is down. Staff who already run model servers and identity systems will usually find the configuration straightforward, while teams without that experience should budget time to learn the runtime's concurrency settings and security defaults.
Which model server setup changes the security review?
Security reviews focus on where task traffic goes. A local model server bound to the loopback address keeps prompts on the host, but Open WebUI running in a container or on another machine will need a reachable address, which means you must decide how that address is exposed and protected. A hosted task model sends the content of chats and search-related text to an outside provider, which usually requires a contract review and a data handling check. Ask any partner to document each network path, the authentication on it and what is logged.
What should a quote for task model work include?
A useful quote lists the written scope, the components covered, and the deliverables. Ask it to name the model server and Open WebUI versions in scope, the model sizes tested, the network paths and authentication to be configured, the logging and retention settings reviewed, and the testing performed against your real chat and search workload. It should separate one-time work from any recurring support, state what you must provide, and identify any costs that stay with you, such as hardware, cloud usage or hosted provider fees. Quotes should be fixed-scope and agreed in writing before work starts.
Does a small task model change the quality of titles and search queries?
It can, and the trade-off should be tested rather than assumed. Titles, tags and follow-up suggestions are short outputs where a small model often performs acceptably, but search query generation depends on how well the model understands the conversation and the search provider's syntax. Test a sample of your own conversations with the chosen model, check that outputs stay in the language your users write in, and confirm that search behavior remains acceptable before rolling the change out to all users.
How DeployOpen works on this
DeployOpen plans, implements, documents and supports self-hosted Open WebUI inside your own infrastructure, including the task model choice, its routing and its evidence. We start from the written scope for your task models, so the decision about which model handles titles, tags and search queries is tested against your environment before it reaches users.
How we scope
- Inventory which background tasks are enabled and which chat models users reach them from
- Confirm which provider or local Ollama endpoint will serve each task model and where it runs
- Record whether any task traffic may leave your network and which data it may contain
- Agree in writing the deliverables, testing and timeline before any configuration work starts
How we build
- Configure task models separately from chat models in the Open WebUI admin settings
- Set up the Ollama or OpenAI-compatible endpoint with access controls matched to your network design
- Test title, tag, follow-up and web search query output on your own sample conversations
- Check that outbound task requests reach only the providers and hosts your policy approves
How we hand over
- Provide a written configuration record naming each task model, endpoint and fallback choice
- Document how to change the task model and what to recheck after each Open WebUI upgrade
- Walk your platform and security teams through the logs and settings they need to review
- Deliver retest notes so your team can repeat the verification steps without DeployOpen
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover
- Retainers can cover task model review when Open WebUI or Ollama releases change behavior
- Support can recheck metadata locality and provider settings during your own compliance reviews
- Ask for a quote built from the written scope, since DeployOpen does not publish a price list

