PrivateGPT with a Qdrant server

Moving PrivateGPT from embedded local Qdrant storage to a Qdrant server changes how it connects, authenticates and stores data. This page covers the settings to confirm, the order of the change and the point where embedded mode stops being enough.

On this page

PrivateGPT with a Qdrant server: what changes when you leave embedded storage

Moving PrivateGPT from embedded Qdrant storage to a Qdrant server changes where vectors live and who can reach them. Embedded mode keeps the index in a local path inside the PrivateGPT process, so only that process touches it. A Qdrant server turns the same data into a network service that needs its own authentication, TLS and storage rules, and that several users or applications may query at once. The change is a configuration step, but it moves responsibility for access control and data protection from the application to the server you run.

The supported method is to set the vector store options in PrivateGPT's settings.yaml so they point at a Qdrant URL instead of a local storage path. The exact key names, the vector store identifier and the way the client connects over HTTP or gRPC depend on the PrivateGPT release you run, and this material does not confirm them. Before you edit any file, read the settings.yaml reference in the PrivateGPT version you have deployed, and check the sample configuration shipped with that release. Record the key names in your change request so the next upgrade does not silently revert to embedded storage.

Decide early whether the server will hold the same collections the embedded store did, or whether you will re-ingest documents into fresh collections. Re-ingestion is the cleaner path when the old local data was created without access in mind, because it lets you set collection names and permissions on the new server from the start. Confirm with your Qdrant administrator how the server will be secured before PrivateGPT points at it, since a default Qdrant instance listens on all interfaces without authentication. The Qdrant security documentation is the reference for that baseline.

Prerequisites before you point PrivateGPT at a Qdrant server

Moving PrivateGPT off embedded storage changes where vectors live, who can reach them and how the two services talk. The cards below cover the decisions and checks that should be settled before any settings file is edited, so the connection is tested against a server that is already secured and sized for the job.

PrivateGPT version and documented settings

Confirm which PrivateGPT release your team runs and read the Qdrant keys its documentation describes for that exact version. Vector store setting names and the way the Qdrant client is selected can change between releases, so a settings file copied from another version or a forum post may silently fall back to local storage. Record the version in your change ticket so the configuration can be reproduced and reviewed later.

Block storage with a POSIX file system

A self-hosted Qdrant server needs block-level storage with a POSIX-compatible file system. Network file systems such as NFS and object storage such as S3 are not supported for its data directory, so a server built on a share that looks convenient will fail or run unreliably. Ask your infrastructure team which volume backs the Qdrant host and whether SSD or NVMe drives are available for it.

Qdrant installation docs

Tested Qdrant release line

Pick one Qdrant release line and test it with your PrivateGPT version before production. The latest release in the supplied facts is v1.19.2, published October 5, 2026, following v1.19.0 on August 5, 2026. Confirm the client library bundled with PrivateGPT works against the server version you deploy, and write down the minor version so later upgrades follow a planned path.

Qdrant release notes

Secure the server before it accepts connections

A self-deployed Qdrant instance listens on all network interfaces and has no authentication configured by default. Plan the API key, read-only key and interface binding before the server is reachable from the PrivateGPT host or any other network. Treat the first start as a configuration step, not a connection test, and confirm that an unauthenticated request is rejected before PrivateGPT is pointed at the server.

Qdrant security docs

Network paths between PrivateGPT and Qdrant

Map every route between the PrivateGPT host and the Qdrant server, including firewalls, load balancers, container networks and DNS names. Open only the port used for REST or gRPC and only from the PrivateGPT host. Confirm that both services sit on the same private segment, since a route that traverses a shared network undermines the access model you designed for the vector data.

Certificate plan for HTTPS and gRPC

Decide which protocol PrivateGPT will use to reach Qdrant and where its certificates come from. Name the certificate authority, the server name each certificate must match, the renewal owner and how the PrivateGPT host will trust the CA. Settle this before editing the configuration, because a mismatched name or missing trust chain produces connection errors that look like network faults.

How PrivateGPT reaches a Qdrant server inside your network

Users reach the PrivateGPT service inside the internal network, and PrivateGPT sends vector requests to the Qdrant server over its API, protected by an API key and TLS listeners. The Qdrant server writes collection data to a storage volume on its own host, which sits inside the same trust boundary. The dashed embedded branch shows the single-process local storage that the server replaces. Check that the storage volume is block-level, that no Qdrant listener is reachable from outside the boundary, and that the key and certificates are set on both sides.

Request path from users through PrivateGPT to the Qdrant server, with the embedded branch it replaces.

Configuration sequence for the switch to a Qdrant server

This sequence moves PrivateGPT off embedded local Qdrant storage onto a self-hosted Qdrant server, with a check at each step so the team knows the old path is safe to retire. It produces a working server connection, a settings file that points at it, and a verified test ingestion and retrieval.

  1. Back up the embedded data directory

    Before changing anything, stop PrivateGPT and copy the embedded Qdrant data directory to a separate location the application cannot write to. Confirm the path in your PrivateGPT settings.yaml and your own deployment notes, since the location depends on how PrivateGPT was installed. Done means the copy exists, its size matches the original, and you can list the collection files from the backup. This copy is your rollback point if the server switch fails.

  2. Stand up the Qdrant server with keys and TLS

    Deploy a self-hosted Qdrant server on infrastructure you control, following the installation guidance for Docker or Kubernetes and its storage rules. Qdrant ships with no authentication and listens on all interfaces by default, so configure an admin API key, a read-only key if your design needs one, and TLS for REST and gRPC as described in the Qdrant security documentation. Done means the server starts with the key and certificate settings applied and rejects a request that carries no key.

  3. Confirm REST and gRPC reachability from PrivateGPT

    From the host that runs PrivateGPT, send an authenticated health request to the REST port and confirm the gRPC port accepts a connection over TLS, using the certificate chain your PrivateGPT host trusts. Run this from the same network segment and firewall rules PrivateGPT will use, not from your workstation. Done means both ports respond with the expected status and an unauthenticated request is refused. If the certificate fails, resolve it now rather than inside the application.

  4. Point settings.yaml at the server

    Edit the vector store section of PrivateGPT's settings.yaml to switch from the local embedded path to the server URL and API key, and set the gRPC and HTTPS options that match the server you configured. Confirm the exact key names against the PrivateGPT version you run, because they change between releases. Store the API key in your secrets mechanism or a file with restricted permissions rather than in plain text in shared configuration. Done means PrivateGPT starts and logs a connection to the server, not to a local path.

  5. Choose and create the collection name

    Pick a collection name that identifies the PrivateGPT deployment and its embedding model, so a later model change or second instance does not collide with existing data. Record the name and the embedding dimension in your runbook, since vectors of different sizes cannot share one collection. Create or let PrivateGPT create the collection, then list collections on the server. Done means the chosen name appears in the server's collection listing with the expected vector configuration.

  6. Run a test ingestion and retrieval

    Ingest a small, known document set that you have approved for this environment, then ask PrivateGPT a question whose answer appears only in one of those documents. Check the server's point count for the collection against the number of chunks you expected from the test set. Done means the query returns the expected source document and the collection count matches. If retrieval misses, check the embedding model and collection name before changing anything else.

  7. Retire the embedded path

    Once the test passes and the team has reviewed the results, remove or disable the embedded storage path in configuration so no instance can write to the old files by accident. Keep the backup from the first step for the period your retention policy requires, and record the cutover date and the server version in your change log. Done means PrivateGPT restarts cleanly with only the server connection configured and the backup is stored under your normal controls.

Choosing gRPC, HTTPS or both for the PrivateGPT connection

When PrivateGPT and Qdrant run on one host or in one private subnet, the traffic between them stays on a segment you control, so the main job is keeping Qdrant unreachable from everywhere else. Self-deployed Qdrant listens on all network interfaces and has no authentication configured by default, so binding and API keys still matter here. Confirm in PrivateGPT's documentation whether its Qdrant connection offers a gRPC option, an HTTPS option, or only a single URL, and which key names it reads for each.

  • Bind scope: confirm Qdrant listens only on the interface PrivateGPT uses, and that host firewall rules block the Qdrant service from other networks.
  • API key: enable an admin or read-only API key on Qdrant and confirm PrivateGPT can send it, so other local processes cannot read collections.
  • Protocol choice: if PrivateGPT exposes a gRPC setting, check its documentation for the toggle and the port field, and use REST only where gRPC is unavailable or a client needs it.
  • Encryption need: TLS is optional on a single host, but if the stored documents are sensitive, confirm whether your policy requires encryption in transit even locally.

Before loading production documents, compare the listening sockets on the host with what you intended, and confirm that the PrivateGPT settings point to the address you expect.

When embedded Qdrant stops being enough

The trigger for moving PrivateGPT off embedded Qdrant is a change in who needs the data and how it must be protected, not the number of months the pilot has run. Move when one of four conditions appears: more than one process or user needs the same collections, access must be limited per collection or audited, data must survive a host failure or be backed up on a schedule, or the team needs replication across nodes. Any one of these is enough to justify a server. None of them is solved by changing a setting in settings.yaml alone.

Embedded mode keeps the vector store inside the PrivateGPT process and its local storage directory. That works while one person runs one instance on one machine. It breaks down when a second PrivateGPT instance, an indexing job or a colleague's script needs the same collections, because the local files are not a shared service. A Qdrant server accepts connections from several clients, and the Qdrant security docs make clear that a self-deployed instance has no authentication until you configure it, so the move also brings the API key and TLS work described elsewhere on this page. Confirm with your security team which collections, roles and audit records they expect before you open the server to more than one client.

A single Qdrant server is a reasonable step for many shared pilots, but it is not a high-availability design. The Qdrant distributed deployment docs recommend at least three nodes for a production cluster so that quorum survives a node failure, and they treat distributed mode as a separate design with its own shard count, replication factor and consistency choices. If your requirement is replication or survival of a node loss, plan the cluster as its own project rather than adding a second server to the existing configuration. Ask your team to write down the recovery time and data loss they can accept, then pick the topology that meets those numbers. The calendar should not decide the move.

Mapping embedded settings to server settings in settings.yaml

This table compares how PrivateGPT's embedded local Qdrant storage differs from a Qdrant server connection, row by row, across storage, network, authentication, transport, and collection settings. Treat every PrivateGPT key name as a placeholder to confirm against the release you run, and use the Qdrant column to see which Qdrant-side rule each change depends on.

ConceptEmbedded settingServer settingWhat to confirm
Storage location or modeLocal path on the PrivateGPT host where Qdrant stores data in embedded modeServer mode with a network endpoint, so data lives on the Qdrant node's block storage instead of the application hostConfirm the PrivateGPT key that switches vector store mode, and that the Qdrant data directory sits on local block storage, not NFS or S3
Server host and portNot applicable in embedded modeHost name or IP and the REST port of the Qdrant server, reachable only from the PrivateGPT hostConfirm the PrivateGPT host and port keys for your release, and confirm Qdrant listens only on the interfaces you intend
API keyNot applicable, no authentication in embedded modeAdmin or read-only API key sent by the client, following the Qdrant API key rules in the security docsConfirm the PrivateGPT key that accepts an API key, and confirm which key type (admin or read-only) the application needs
TLS or certificate pathNot applicableTLS on the Qdrant server for REST and gRPC, with the CA trusted by the PrivateGPT host, following the Qdrant TLS rulesConfirm whether PrivateGPT exposes an HTTPS option or CA path key, and test the certificate chain before go-live
gRPC preferenceNot applicableUse gRPC only where the Qdrant port and TLS setup for gRPC are open between the two hostsConfirm the PrivateGPT key that selects gRPC or REST, and confirm the gRPC port is reachable through your firewall
Collection nameDefault collection created in local storageNamed collection on the server, which must not clash with collections used by other applicationsConfirm the PrivateGPT collection name key, and check whether the collection already exists before first ingestion
Vector size and distanceSet implicitly by the embedding model at ingestionVector size must match the embedding model output, and distance metric must match what the collection was created withConfirm the embedding model dimension for your release, and confirm the distance setting before reusing an existing collection

Securing the Qdrant server that PrivateGPT calls

A self-hosted Qdrant instance ships without authentication and listens on every network interface, so PrivateGPT's connection is only as safe as the server around it. The controls below cover who can call the API, how traffic is encrypted, where the port is reachable, and what gets logged. Together they turn a default-open vector store into one that only the PrivateGPT host can reach with the keys it needs.

Separate admin and read-only API keys

Qdrant supports an admin key and a read-only key. Give PrivateGPT the read-only key wherever it only runs searches, and keep the admin key for the people who create collections and run ingestion. If your ingestion job writes vectors, give that job its own admin-level credential rather than sharing one key across both roles. Confirm the key names and placement against the current security docs for your version before you rotate anything.

Qdrant security docs

Keep keys out of settings.yaml

PrivateGPT reads its Qdrant connection from settings.yaml, which is easy to copy into tickets, backups and container images. Load the API key from a file or from a secrets manager your team already operates, and mount it into the PrivateGPT container at runtime. Restrict read access to the file on the host, and plan a rotation procedure that updates the key on both the Qdrant side and the PrivateGPT side in the same change window.

Encrypt REST and gRPC traffic

Enable TLS on both the REST and gRPC ports so API keys and document vectors do not cross the network in clear text. Decide which port PrivateGPT uses, then confirm the certificate chain is trusted by the PrivateGPT host, including any private CA your organization runs. A certificate that fails verification is a common reason teams turn verification off, which removes the protection the setting was meant to give.

Restrict the listening interface and port

Qdrant listens on all interfaces by default. Bind the service to the address your private network uses, then allow the Qdrant REST and gRPC ports only from the PrivateGPT host or its subnet. Check the rule from a second host to confirm it is actually blocked, since container port publishing can bypass host firewall rules unless you configure it deliberately. Do not expose the port to the internet or to user workstations.

Use JWT collection access when services share a server

If PrivateGPT shares a Qdrant server with other applications, a single shared key gives every service full reach over every collection. JWT-based access control lets you grant read or write permissions per collection, so PrivateGPT can be limited to its own collection. This adds token issuance and rotation work, so use it when the number of consumers justifies that effort, and test the restricted role before relying on it.

Qdrant security docs

Enable JSON audit logging

Turn on JSON audit logging so authenticated API operations on the Qdrant server are recorded. Send those logs to the same store your team uses for application logs, and check that entries show which key made each call and which collection it touched. Audit logs help you answer who deleted or queried a collection, but they do not replace the access controls above, and they need retention settings that match your policy.

Common failures after switching PrivateGPT to a Qdrant server

This table maps the failures teams most often hit after moving PrivateGPT from embedded Qdrant storage to a Qdrant server, with the likely cause and the check that confirms it. Work through the rows in order, because a connection or certificate problem can look like an empty collection. Each fix points to a check you can run, so confirm the cause before changing any setting.

SymptomLikely causeFix and check
Requests return unauthorized after the API key was changedPrivateGPT still sends the old key, or the key is set in one place but not the otherCompare the key in settings.yaml with the key the server was started with, then call the server's collections endpoint with that key to confirm it is accepted
Connection refused when PrivateGPT startsQdrant binds to localhost or another interface, so the PrivateGPT host cannot reach itCheck the interface and port the Qdrant container or process listens on, then test reachability from the PrivateGPT host on the same port and protocol
Certificate verification errors over HTTPS or gRPCThe server certificate was issued by a private CA that the PrivateGPT host does not trustConfirm the CA bundle is available to the PrivateGPT runtime and that the certificate's subject names match the host name in the URL
Collection is empty after the switchEmbedded storage was never copied to the server, so the server starts with no dataCount points in the old embedded collection and in the server collection before use, then run the Qdrant Migration Tool or re-ingest the documents
Errors or failed inserts about vector sizeThe embedding model changed, so new vectors have a different dimension than the existing collectionCompare the embedding model's output dimension with the collection's configured vector size, and recreate the collection if the model changed
Server fails or loses data on restartStorage is on NFS or an S3-backed volume, which the Qdrant install rules do not allowCheck the mount type of the storage path on the host, and move data to a block device with a POSIX file system on SSD or NVMe
Search results differ from the embedded setupCollection name, distance metric or payload fields differ between the old and new setupsCompare the collection configuration and a sample point's payload between the two setups before tuning retrieval settings

Questions teams ask before moving PrivateGPT to a Qdrant server

How much effort does moving PrivateGPT to a Qdrant server take?

The effort depends on how much PrivateGPT data already sits in embedded local storage and how many controls the new server must meet. A single-host pilot with one collection and no TLS or identity requirements is the smallest case. Effort grows with the number of collections, the data volume that must be moved or re-ingested, the TLS and identity requirements (API keys, HTTPS, gRPC, and any private certificate authority), and whether existing embedded data must be preserved rather than rebuilt from source documents. Ask for a written scope that lists each collection, the data size, the controls the Qdrant server must meet, and whether re-embedding is acceptable. A quote follows from that written scope.

Can our team move PrivateGPT to Qdrant without outside help?

Yes, for a single-host pilot, if the team can read the PrivateGPT configuration and the Qdrant documentation and can run a Qdrant server on infrastructure it controls. The work becomes harder when several teams share the deployment, when the data is subject to audit, or when the server must follow a documented access model. In those cases the team needs staff to own the configuration, the keys, the network exposure and the evidence trail. Qdrant's documentation states that self-deployed instances are not secure by default, so the hardening steps must be planned, not assumed. DeployOpen can plan and implement the change in a fixed-scope engagement if the team prefers a partner.

What does the team need to provide for the switch?

The work needs four inputs from the client. First, a named owner who can make decisions about configuration, access and cutover. Second, access to the PrivateGPT configuration, including the settings.yaml file and the environment where PrivateGPT runs. Third, a host for the Qdrant server that meets the storage rules in the installation documentation, which require block-level storage with a POSIX-compatible file system and do not allow NFS or S3. Fourth, a test dataset that represents real documents, so retrieval quality and access controls can be checked before cutover. Confirm each item with your own environment owners before the scope is agreed.

Which costs are one-time and which recur after the switch?

The open-source Qdrant engine is licensed under Apache-2.0 and is free to self-host, so the license itself is not a cost. The one-time costs are planning, configuration, data movement, testing and the initial hardening work. The recurring costs are the infrastructure that hosts Qdrant, its storage (which needs SSD or NVMe drives according to the installation documentation), monitoring, backups, certificate renewal, staff time for upgrades and any support contract. Storage cost also grows with the replication factor, since a factor of 2 doubles storage. Ask any provider for a quote that separates one-time work from recurring hosting, support and retainers.

Does Qdrant Cloud or Hybrid Cloud change the approach?

Yes, it changes who runs the server and where the data sits, so the settings in PrivateGPT stay the same in principle but the hosting plan changes. Qdrant Cloud is a managed service with pricing tiers, and Qdrant Hybrid Cloud runs managed clusters on your own infrastructure, with pricing set through Qdrant sales. Qdrant Private Cloud is a dedicated, fully isolated enterprise deployment. Each option moves responsibilities for patching, backups and availability between the vendor and your team. Confirm with Qdrant which tier provides the identity, network and uptime features you require, and confirm the data location before choosing a model.

When does embedded Qdrant stop being enough for PrivateGPT?

Embedded local storage is usually enough for one user on one machine with a small document set. It stops being enough when more than one person or service needs the same index, when access must be controlled per user or per collection, when the data must be backed up and restored on a schedule, or when audit records of API operations are required. Qdrant's security documentation describes admin and read-only API keys, per-collection JWT permissions and JSON audit logging of authenticated API operations, which are only available once a server is run. Move to a server before those requirements appear, because adding them later means migrating live data.

How DeployOpen scopes and delivers the PrivateGPT and Qdrant change

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For PrivateGPT with a Qdrant server, we start from your current embedded storage, agree the target server design in writing, then move the configuration and access controls into your environment with a handover your team can run.

How we scope

  • We inventory the current PrivateGPT install, its embedded Qdrant data path and the collections it holds before any change.
  • The written scope names the Qdrant server topology, gRPC or HTTPS choices, API key handling and the settings.yaml changes.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts, and a quote follows from that scope.

How we build

  • We deploy the Qdrant server inside your infrastructure, following the storage rules in the Qdrant installation documentation.
  • We point PrivateGPT at the server, set the connection and key values, and test retrieval against a copy of your real collections.
  • We test that the server is not exposed without authentication and that API keys and TLS are in place before cutover.

How we hand over

  • You receive the final settings.yaml, the network and key layout, and a record of each change made during the move.
  • We document the rollback path to embedded storage and the steps for taking a snapshot before any future upgrade.
  • We walk your platform and security teams through the setup so they can review it against their own controls.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the handover is complete.
  • Retainer work can cover Qdrant minor-version upgrades, key rotation and checks on snapshot and restore procedures.
  • Before any retainer starts, confirm with us which PrivateGPT and Qdrant versions your environment runs and who owns each change.

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.