Open WebUI with a self-hosted Qdrant vector database

Connecting Open WebUI to a Qdrant server you run, with the VECTOR_DB and QDRANT_ settings, gRPC and private CA handling, multitenancy mode and collection naming checks before upgrades.

On this page

How Open WebUI connects to a self-hosted Qdrant server

Open WebUI selects Qdrant through its VECTOR_DB setting and reads the connection details from QDRANT_ settings, so switching away from the default Chroma store is a configuration change plus a reindex of existing knowledge bases. Your situation is likely one instance that has been storing retrieval data in Chroma and now needs that data served from a Qdrant server you operate. The integration covers the environment variables that point Open WebUI at your server, the transport choice between REST and gRPC, the trust chain for any private certificate authority, and the multitenancy setting that decides how collections are created. It does not cover moving old vectors across, because Open WebUI rebuilds them from the source files in each knowledge base.

Before any client connects, the Qdrant side must be secured. The Qdrant security documentation states that self-deployed instances listen on all network interfaces and have no authentication configured by default, so you need to set an API key and enable TLS on the Qdrant server first, then confirm that the key and certificate chain work from the Open WebUI container itself. Place the Qdrant server on a private network segment reachable only from the Open WebUI hosts. Ask your security team which certificate authority signs internal endpoints, since Open WebUI must trust that authority for a gRPC connection that uses a private CA, and confirm that the CA bundle is mounted into the container where Open WebUI runs.

Plan the change as a maintenance window with a rollback path. Record the current Chroma-backed knowledge bases, the Open WebUI version, and the exact environment values in use, then change one instance in a test environment first. After the switch, expect knowledge bases created under the other collection pattern to stay disconnected until you reindex them, so the reindex step belongs in the runbook with an owner and a check that retrieval returns results from the Qdrant collection. Confirm the Open WebUI release notes and the environment variable reference for the version you run, because the documentation specifies the defaults and naming behavior you must verify before the production change.

What you need running before you change Open WebUI

Changing Open WebUI from Chroma to Qdrant touches the application, the vector store and the network between them. Each card below is a prerequisite that should be confirmed in your environment before you edit any VECTOR_DB or QDRANT_ setting, because a mismatch shows up later as failed retrieval rather than a clear startup error.

Open WebUI version and install method

Record the exact Open WebUI version and how it is installed: Docker, Docker Compose, Kubernetes with Helm, or pip with open-webui serve. The docs list these as the official install methods, and the environment variables you set depend on which one you run. The latest release on the project's GitHub page is v0.12.3, published October 16, 2026, so confirm your current version against the release notes before planning the upgrade that follows the switch.

Open WebUI releases

Qdrant release line

Pin the Qdrant server to one release line and confirm the client expectations of your Open WebUI build. The latest GitHub release as of October 2026 was v1.19.2, published October 5, 2026. Do not assume the newest server works with an older Open WebUI image without checking, and write the chosen version into your change record so the same version is used for rollback.

Qdrant releases

Network path and API key handling

Map every hop between Open WebUI and Qdrant, including container networks, load balancers and firewalls. A default self-deployed Qdrant listens on all interfaces with no authentication, so the path should be private, and the API key should be set on Qdrant before Open WebUI is pointed at it. Confirm that Open WebUI can reach the Qdrant ports you intend to use and that nothing else on the network can.

Private CA and gRPC certificates

If Open WebUI connects over gRPC with TLS, the certificate Qdrant presents must chain to a CA that the Open WebUI container trusts. A private CA means you must install its root certificate into the Open WebUI runtime and confirm the certificate's subject alternative names match the hostname in your QDRANT_ URL. Test the handshake from the Open WebUI container itself, since a certificate that works from your workstation may still fail inside the container.

Block storage for Qdrant

Qdrant needs block-level storage with a POSIX-compatible file system. It cannot run on network file systems such as NFS or on object storage such as S3, and SSD or NVMe drives are recommended. Before the cutover, confirm the volume Qdrant will write to meets these rules, because a storage choice made for convenience can cause data problems that appear only under load.

Qdrant installation docs

Shared state for multiple replicas

A single Open WebUI instance can run on SQLite, but multiple replicas need PostgreSQL, because SQLite does not handle concurrent writes from multiple processes well. Replicas also need Redis as a shared state store for sessions, websockets and application state, and shared file storage so uploads and knowledge stay reachable from every replica. Confirm all three exist before you scale out, since a vector store change alone will not fix session or upload problems across replicas.

Scaling Open WebUI docs

Configuration sequence from Qdrant to Open WebUI

This sequence moves Open WebUI off its default Chroma store and onto a self-hosted Qdrant server that is authenticated, encrypted, and trusted by the Open WebUI container. Each step ends with a check, so the team knows the connection works before users upload knowledge bases.

  1. Secure the Qdrant instance with keys and TLS

    The platform team secures Qdrant before anything connects to it, because self-deployed instances listen on all interfaces and ship without authentication. They create an admin API key, set up a read-only key for other consumers, enable TLS for REST and gRPC, and limit network access to the Open WebUI hosts. Open WebUI must write to its collections, so the key it receives needs write permission. Confirm the sequence is complete when an unauthenticated request to the collections endpoint is refused and the same request over HTTPS with the admin key succeeds.

  2. Set VECTOR_DB to Qdrant

    Set the vector database variable in the Open WebUI environment, whether that is a Docker Compose file, a Helm values file, or the service definition, to Qdrant. Open WebUI reads this value at startup and uses it to choose the retrieval backend for knowledge bases. Leaving it unset keeps the default Chroma store, so new uploads would still land there. Confirm the setting by checking the container environment after deployment, then confirm in the startup logs that Open WebUI reports Qdrant as the active store.

  3. Set the QDRANT_ connection keys

    Add the QDRANT_ keys for the server URL, the API key, and the gRPC option. Use the HTTPS address that matches the TLS certificate issued for Qdrant, and the write-capable key from the first step, stored as a secret rather than typed into a shared compose file. Gather the exact key names from the Open WebUI environment variable reference before editing, since the reference is the source of truth for each name and its default. Confirm the connection by calling Qdrant's health endpoint from the Open WebUI host with the API key header, which should return a healthy response.

  4. Mount the private CA into the container

    If Qdrant uses a certificate from a private certificate authority, the Open WebUI container must trust that authority, or the TLS handshake fails. The platform team copies the root or intermediate CA certificate into the image or mounts it as a read-only volume, then points the container at it using the CA trust setting documented in the environment variable reference. Confirm the exact variable name and path for your image version before editing. Check the result by running a TLS request from inside the running container to the Qdrant HTTPS and gRPC ports, which should succeed without skip-verify flags.

  5. Decide the multitenancy mode before first upload

    Choose the collection pattern before any knowledge base is created. The ENABLE_QDRANT_MULTITENANCY_MODE variable defaults to true and consolidates collections, and the documentation warns that switching modes disconnects collections created under the other pattern until the knowledge base is reindexed. Record the decision in the change ticket with the reason, and set the variable explicitly so the choice does not depend on a default that could change in a later release. Full details are in the Open WebUI environment variable reference. Confirm the value in the container environment.

  6. Restart Open WebUI and review startup

    Restart the Open WebUI service so it reads the new variables, mounted certificate, and mode setting. Review the startup logs for errors about the Qdrant connection, certificate validation, or authentication, since these usually appear before the first upload fails. A clean start with no connection errors shows that Open WebUI reached Qdrant with the configured key and trusted the certificate. If the service restarts in a loop, roll back the last change and check each key against the reference before trying again.

  7. Upload a test knowledge base and confirm collection

    Create a small test knowledge base in Open WebUI with one or two documents, then query Qdrant's collections endpoint with the API key. The collection should appear under the name the chosen multitenancy mode produces, and its point count should match the chunks Open WebUI reports for the uploaded files. Run a retrieval query in Open WebUI to confirm results come back from Qdrant. Record the collection names now, because the documentation tells operators to check collection naming before any Open WebUI upgrade. Delete the test knowledge base once the checks pass.

Choosing multitenancy mode and planning the reindex

Choose the multitenancy mode before any production knowledge is loaded into Open WebUI. ENABLE_QDRANT_MULTITENANCY_MODE defaults to true, which consolidates knowledge into shared Qdrant collections. Open WebUI's environment variable reference warns that switching modes disconnects collections created under the other pattern until the knowledge base is reindexed. The setting is therefore a day-one decision, not a tuning knob. Set it in the same configuration change that points Open WebUI at Qdrant, record the value in your deployment repository, and confirm the default that your installed version uses by reading the Open WebUI environment variable docs before the first upload.

For a single team or a small group of users who share one body of knowledge, the default shared pattern is usually the simpler starting point, because there is one set of collections to back up, monitor and size. For many groups that need their knowledge bases kept apart by policy, such as separate business units or customers with different data handling rules, decide with your security team whether the shared pattern still gives the isolation you need, or whether you need a separate collection layout and access model. Ask Open WebUI's maintainers or your own tests to confirm exactly how collection names are generated in the mode you choose, since that naming drives isolation and the upgrade check covered elsewhere on this page.

Test the choice on a copy of real data before production. Restore a copy of your Open WebUI database and a Qdrant snapshot into a separate environment, upload representative documents, and run retrieval queries that you already know the answers to. Then switch the mode on the copy and confirm which knowledge bases disconnect. Time the reindex for each knowledge base, note which embeddings must be regenerated, and confirm that users in each group still see only their own sources. Record the reindex steps as a runbook with an owner for every knowledge base, so a later mode change is planned work rather than an outage found by users.

How Open WebUI knowledge maps to Qdrant collections

This table compares how Open WebUI concepts such as knowledge bases, users, groups and chunks land in Qdrant collections, payload fields and filters under each multitenancy setting. Read each row against the mode you plan to run, and confirm the collection naming pattern in your installed version before you load data. The main takeaway is that switching modes does not move existing data, so the mapping must be decided before the first knowledge base is built.

Open WebUI conceptMultitenancy mode enabled (default)Multitenancy mode disabled
Knowledge baseChunks are stored in a shared consolidated collection, separated by a payload field that identifies the knowledge baseEach knowledge base gets its own dedicated collection, named by the Open WebUI version's naming pattern
Users and groupsAccess is enforced by Open WebUI RBAC before any query reaches Qdrant, not by Qdrant collection rightsAccess is still enforced by Open WebUI RBAC, and collection separation does not add user-level isolation in Qdrant
Embedded chunksEach vector is stored as a point with its text and metadata in the payloadEach vector is stored as a point with its text and metadata in the payload, in the per-knowledge-base collection
Metadata filtersFilters must target the tenant or knowledge base payload field so queries stay scopedFilters are applied to the dedicated collection, so scope comes from the collection name
Collection namingConfirm the exact consolidated collection name in your installed version's documentation and logsConfirm the per-knowledge-base naming pattern in your installed version, since it may change between releases
Switching modesCollections created under the other pattern are disconnected until the knowledge base is reindexedCollections created under the other pattern are disconnected until the knowledge base is reindexed
Qdrant-side enforcementQdrant API keys and JWT per-collection permissions can restrict the service account, but not individual Open WebUI usersPer-collection JWT permissions can limit the service account to specific collections, but not individual Open WebUI users

Securing the link between Open WebUI and Qdrant

Open WebUI talks to Qdrant with credentials and a network path you configure yourself, and self-deployed Qdrant ships with no authentication. The cards below cover the Qdrant side of the connection, the network path between the two services, how the API key is handled, and the controls Open WebUI applies to the people who use it.

Set Qdrant API keys first

The Qdrant security docs state that self-deployed instances listen on all network interfaces and have no authentication configured by default. Before Open WebUI is pointed at the server, set an admin key and a read-only key, and confirm that unauthenticated requests are rejected from a host other than Open WebUI. Give Open WebUI the key it needs for reads and writes, and keep the admin key out of the application entirely.

Qdrant security docs

Enable TLS for REST and gRPC

Qdrant supports TLS for both REST and gRPC, and Open WebUI can use gRPC for its connection. Enable TLS on both protocols you intend to use, then test the exact URL and port that Open WebUI's Qdrant settings will contain. If your certificate comes from a private CA, the CA certificate must be trusted by the Open WebUI container, not only by your workstation. Check this path during the test, because a certificate that works in a browser can still fail in the application.

Restrict the network path

Only the Open WebUI service should reach the Qdrant ports. Place both services on a private network or subnet, and block the Qdrant REST and gRPC ports from user networks, other applications and the public internet with firewall rules or security groups. Because Qdrant listens on all interfaces by default, the restriction must be applied at the network layer as well as through keys. Confirm the rule by testing the connection from a host that is not Open WebUI and checking that it fails.

Handle the API key as a secret

The Qdrant API key is a credential for the whole collection set that Open WebUI uses. Store it in your secrets manager or an orchestrator secret, and pass it to the container at runtime rather than writing it into Compose files, images or shared environment files. Restrict who can read the container environment, since anyone with Docker or Kubernetes inspect rights can often see it. Plan a rotation procedure that changes the key in Qdrant and in Open WebUI in one window.

Apply Qdrant JWT and audit controls

Qdrant supports JWT-based access control with per-collection read or write permissions from v1.9.0, and JSON audit logging of authenticated API operations from v1.17.0. A single shared key gives Open WebUI full reach over every collection on the node. If your Qdrant version supports JWT, consider scoping Open WebUI's token to the collections it uses, and check that audit logs record the operations you need to review. Confirm the version you run before designing around either feature.

Enforce SSO, RBAC and MFA in Open WebUI

Open WebUI documents SSO through OIDC and LDAP, SCIM 2.0 provisioning, role-based access control with groups and per-resource permissions, API keys and authenticator-app MFA. Use these to decide which users can open knowledge bases that sit on Qdrant, which can create them, and which can change retrieval settings. Qdrant protects the vector store, but it does not know which user asked a question, so the application layer is where per-user access to documents is decided. Test one restricted account against a knowledge base it should not see.

Checking collection naming before an Open WebUI upgrade

Before any Open WebUI upgrade, confirm how your Qdrant collections are named and whether the new release changes that naming. The Open WebUI environment variable docs warn that changes to collection naming can break existing knowledge bases, and that switching the ENABLE_QDRANT_MULTITENANCY_MODE setting disconnects collections created under the other pattern until the knowledge base is reindexed. Start by inventorying every collection in the Qdrant instance Open WebUI uses, and record the Open WebUI version, the multitenancy value in effect, the Qdrant version and the knowledge base names that map to each collection. The version you are moving to, such as v0.12.3 published October 16, 2026, must be checked against its own release notes on the Open WebUI releases page. Read the notes for every release between your current version and the target, not only the last one, because naming changes can appear in an intermediate release.

Test the upgrade on a copy before touching production. Restore a Qdrant snapshot of the production collections into a separate test instance, or point a copy of Open WebUI at a disposable Qdrant node, then run the upgrade with the same environment variables. Snapshot restore is limited to matching or adjacent minor Qdrant versions, so keep the test cluster on a compatible release. Confirm that each knowledge base still resolves by running a retrieval query against a known document in each one, and compare the returned sources with the pre-upgrade results. Any knowledge base that returns no results, or that now points at an empty collection, needs a reindexing plan before the production upgrade is scheduled.

Record the outcome as an upgrade sign-off: versions tested, the snapshot used, the knowledge bases checked and the reindexing steps, if any, with an owner for each. Confirm with your own test results and the vendor documentation rather than assuming the naming behavior from a previous release. Keep the pre-upgrade snapshot until the upgraded system has run normally for a period your team sets, so a rollback to the earlier version has the data it needs.

Common failures when Open WebUI and Qdrant do not connect

This table pairs each common failure with its likely cause, the check to run and the fix, so you can work through a broken connection in order. Start with the symptom you see, then use the logs column to decide whether the Open WebUI logs or the Qdrant logs hold the answer. The main takeaway is that most failures trace back to settings that changed between modes, versions or certificates, so compare the configuration against what the collections were created with before changing anything.

SymptomLikely cause and checkFix and where to look
Knowledge bases missing after changing multitenancy modeENABLE_QDRANT_MULTITENANCY_MODE was switched. Collections created under the other pattern are disconnected until reindexed. Check the flag value against the mode used when the knowledge was built.Restore the original flag value, or reindex the knowledge bases under the new mode. Open WebUI logs show the retrieval errors; Qdrant logs show which collection names are requested.
Collections disappear or are not found after an upgradeThe upgrade changed collection naming, so Open WebUI now looks for names that do not exist. List collections on the Qdrant server and compare names with those in the Open WebUI knowledge records.Set the naming behavior back to match the existing collections, or reindex the knowledge bases. Check the release notes before upgrading. Qdrant logs confirm whether a collection was deleted or never found.
gRPC handshake fails against a private CAThe Open WebUI container does not trust the internal certificate authority, or the certificate does not cover the host name in the Qdrant URL. Check the TLS settings and the certificate subject names.Mount the CA bundle into the Open WebUI container and make the host name match the certificate. Open WebUI logs show the TLS error; Qdrant logs show whether a connection reached the server at all.
API key rejectedThe key is missing, copied with extra whitespace, or belongs to a read-only role when write access is needed. Confirm the key value Open WebUI loads and the permissions attached to it on the Qdrant side.Use an admin key for ingestion and a permissioned key for retrieval where your design allows it. Qdrant logs record authentication failures; Open WebUI logs show the rejected request.
Replicas show different knowledgeReplicas do not share state or file storage. Sessions, uploads and knowledge metadata may sit on one instance only, so a user sees different results depending on the replica that answers.Use PostgreSQL, Redis and shared file storage as the scaling guide requires, and confirm all replicas point at the same Qdrant URL and collections. Open WebUI logs on each replica show which backend handled a request.
Connection refused or timeouts to QdrantThe Qdrant URL, port or protocol does not match what the server exposes, or a network policy blocks traffic between the containers. Test reachability from the Open WebUI container first.Correct the host, port and protocol, and open the path in your network policy. Qdrant logs show whether the server accepted the request; Open WebUI logs show the client-side error.
Vector search returns no results after a reindexThe reindex was started but not finished, or the embedding model changed, so new vectors do not match the query embeddings. Compare the embedding setting with the one used to build the collection.Finish the reindex with the same embedding model used at ingestion, then rerun a test query. Open WebUI logs show embedding errors; Qdrant logs show collection size changes.

Questions teams ask before connecting Open WebUI to Qdrant

What drives the cost of connecting Open WebUI to Qdrant?

The cost depends mainly on how many knowledge bases you run, which multitenancy mode you choose, how much certificate work the private CA needs, how many Open WebUI replicas sit behind the service, and how much upgrade testing you require. Each knowledge base and each mode switch adds reindexing and validation work. Certificate setup is one-time work, while upgrade testing recurs with every Open WebUI release you adopt. A fixed-scope quote should list each of these items separately so you can see which ones your environment triggers. Ask for the scope in writing before work starts.

How long does an Open WebUI and Qdrant integration take?

Duration depends on scope rather than on a single fixed number. A single Open WebUI instance pointed at one Qdrant server with the default settings is a smaller job than a multi-replica deployment with a private CA, gRPC, a chosen multitenancy mode and a reindexing plan for existing knowledge bases. Migrating knowledge bases that already exist in Chroma adds time because each one must be reindexed and checked. Ask for a timeline tied to the written scope and to the test environment you will provide.

Can our team connect Open WebUI to Qdrant alone using the docs?

Many teams can, provided they have engineers comfortable with Docker or Kubernetes, TLS and Qdrant API keys. The Open WebUI environment variable reference covers the VECTOR_DB and QDRANT_ settings, and the Qdrant security documentation covers API keys and TLS. The risky parts are the ones that are easy to miss: the multitenancy mode switch disconnects collections created in the other pattern until reindexing, and collection naming changes must be checked before an upgrade. Decide early whether your team will own those checks or want an outside review.

What do we need to provide for the integration?

You will need administrator access to the Open WebUI deployment and its environment configuration, and administrator access to the Qdrant server, including the API keys it uses. A test environment that mirrors production versions is strongly advisable so that upgrades and mode changes can be rehearsed. For TLS with a private CA, you need the CA certificate chain, a server certificate for the Qdrant gRPC endpoint and the trust path Open WebUI's container uses. Confirm with your security team who issues and rotates these certificates before the work begins.

Does using Qdrant Cloud or the open-source engine change the setup?

The Open WebUI side stays the same: you point the QDRANT_ settings at a reachable URL and supply an API key where the server requires one. What changes is where the server runs and who operates it. Qdrant Cloud is a managed service with its own tiers and uptime terms, while the open-source engine is free to self-host under Apache-2.0 but leaves installation, storage rules, TLS, backups and upgrades with your team. Self-hosted Qdrant ships with no authentication by default, so the hardening work applies in either case you run it yourself. Check the Qdrant pricing page for current tier details.

Does an Open WebUI enterprise license change the integration?

The license terms affect branding, not the vector database connection. The Open WebUI License requires that Open WebUI branding stay in place for deployments above 50 users in any rolling 30-day period, unless you hold an enterprise license or written contributor permission. Enterprise licenses allow white-labeling and custom branding and include dedicated support options, and pricing is quoted after you contact enterprise sales with an expected seat count. Confirm which license applies to your user count before you plan the rollout, because the licensing question is separate from the Qdrant settings.

What should we check before an Open WebUI upgrade changes collection naming?

Read the Open WebUI environment variable documentation for the release you plan to adopt, and confirm whether ENABLE_QDRANT_MULTITENANCY_MODE is set to true or false in your deployment. The default is true. Record the existing collection names in Qdrant, test the upgrade against a copy of your data, and confirm that knowledge bases still resolve after startup. If a naming change appears, plan the reindexing step before cutover rather than after users report missing knowledge. Keep Qdrant snapshots of affected collections before the upgrade starts.

How the Open WebUI, Qdrant and CA trust boundaries fit together

The diagram starts with users in a browser reaching Open WebUI, which sits inside the organization's network boundary. From there Open WebUI reaches PostgreSQL for application data, Redis for shared state when it runs multiple replicas, and shared file storage for uploads and knowledge. The key hand-off is the call from Open WebUI to Qdrant, which should run over TLS or gRPC with certificates issued by your private CA. Check that every Open WebUI replica trusts that CA and that the Qdrant API key is set, because Qdrant ships with no authentication by default.

Trust and data paths between Open WebUI, its shared state and a self-hosted Qdrant server.

How DeployOpen scopes and delivers this integration

DeployOpen plans and builds the Open WebUI to Qdrant connection inside infrastructure you control, from the Qdrant server and its access settings to the knowledge base migration and upgrade checks. Each step is written down, tested against your own environment and handed over with the steps your team needs to operate it.

How we scope

  • Engagements are fixed-scope, with the Open WebUI version, Qdrant topology and deployment platform agreed in writing before work starts.
  • We confirm whether the Qdrant server is single-node or a distributed cluster, since that changes the multitenancy and snapshot plan.
  • We record which existing Chroma knowledge bases must move, so reindexing time and user impact are agreed before any change.

How we build

  • We configure the VECTOR_DB and QDRANT_ settings and test gRPC connectivity, including a private CA chain if your internal policy requires it.
  • We choose multitenancy mode deliberately, then run the reindexing step in a staging copy to confirm knowledge bases reconnect as expected.
  • We set Qdrant API keys and network exposure so the server is not reachable without authentication from outside the intended network.

How we hand over

  • You receive a written configuration record covering environment variables, certificate paths, collection names and the multitenancy setting chosen.
  • We document a pre-upgrade checklist that compares collection naming against the Open WebUI release notes before each upgrade.
  • Your team receives a tested runbook for reindexing, Qdrant snapshot restores and rollback to the previous vector database setting.

How we support

  • Ongoing support, Open WebUI upgrades and continuous testing are available as retainers, agreed in writing separately from the build.
  • Retainer work can include checking collection naming on each Open WebUI release before your team applies the upgrade.
  • Confirm with DeployOpen which support hours, response paths and upgrade windows apply to your retainer before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.