A vector database stores embeddings (lists of numbers that describe a text, an image or a sound) and finds the ones closest to a question. It is the memory behind chatbots that answer from your own documents (RAG) and behind "search by meaning". The Qdrant vector database template runs Qdrant, open-source software under the Apache 2.0 licence, locked with an API key. This guide is for developers who want their own Qdrant server without installing anything. You need an account with credit; you do not need an SSH key.
What it costs
You pay for the server by the second while it runs, plus its disk for as long as the server exists. Qdrant itself does not need a GPU, so pick the cheapest configuration in stock. The review step shows the price Per hour and Per day while stopped (disk only) before anything starts; the pricing page has the current prices of every GPU.
1. Start the server
Never started a server? Your first GPU server shows adding credit and Quick start step by step. Quick start offers the most common goals; Qdrant is in the full setup:
- Open Deploy. Under Sort by, choose Price, low to high, pick the first configuration and select Continue.
- Above the template cards, select Data and vector databases, then the Qdrant vector database card, then Continue.
- Name the server, for example
search-db. LeaveQDRANT_API_KEYempty: the platform creates a key for this server. - Select Continue. On the review step, check Per hour. On your first server Automation (optional) already stops it after a running time; keep that on while you try things out.
- Select Start my server.
Some new servers are reviewed by our team before they start; you are not charged until the server runs. See Why was my request reviewed?
2. Find the key and the address
When the server is running, open Servers, select it and open the Connect tab.
- Under Sign in with you see the API key. Press the eye button to show it, then copy it.
- Copy the App address. In the examples below it is
SERVER_ADDRESS, and the key isYOUR_KEY.
Under Try it from a terminal the tab has a ready command that lists your collections. Qdrant reads the key from a header called api-key.
3. Store and search a few vectors
Real embeddings come from an embedding model and have hundreds of numbers; four numbers are enough to see how it works. Create a collection for vectors of size 4, compared by cosine similarity:
curl -X PUT http://SERVER_ADDRESS/collections/notes \
-H "api-key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"vectors": {"size": 4, "distance": "Cosine"}}'Add three points, each with a small payload of your own data:
curl -X PUT "http://SERVER_ADDRESS/collections/notes/points?wait=true" \
-H "api-key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"points": [
{"id": 1, "vector": [0.9, 0.1, 0.1, 0.0], "payload": {"text": "How to stop a server"}},
{"id": 2, "vector": [0.1, 0.9, 0.1, 0.0], "payload": {"text": "How disk billing works"}},
{"id": 3, "vector": [0.8, 0.2, 0.0, 0.1], "payload": {"text": "Stopping saves compute"}}
]}'Ask for the two points closest to a new vector:
curl -X POST http://SERVER_ADDRESS/collections/notes/points/query \
-H "api-key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"query": [0.85, 0.15, 0.05, 0.05], "limit": 2, "with_payload": true}'The answer lists points 1 and 3 with a score: the closer to 1, the more similar. From Python, the official client does the same: QdrantClient(url="http://SERVER_ADDRESS", api_key="YOUR_KEY"). It prints a warning that the key travels over plain http.
4. Open the dashboard
Add /dashboard to the app address in your browser (http://SERVER_ADDRESS/dashboard) and paste the key when it asks. You see your collections, their points and a console for requests.
Common mistakes
- 401 or "Must provide an API key": the header must be
api-key: YOUR_KEY, notAuthorization. - "Wrong input: Vector dimension error": every vector in a collection has the size you set when you created it. Your embedding model decides that size.
- The address stopped working after a restart: the address can change after Start. Copy it again from the Connect tab.
- Expecting a GPU speed-up: this template runs Qdrant on the processor. The GPU is idle, so the cheapest configuration is the right one.
Keep it private
The API uses plain
http. Anyone who has the address and the key can read and change your data. Do not share the key, and do not store data that needs stronger protection unless you encrypt it.
When you are done: stop or destroy
- Stop ends the compute charge. Your collections are kept in
/workspace/qdranton the disk, which is still billed. - Destroy ends every charge and deletes the disk with your data. Open the server, go to Settings and choose Destroy server. See Start, stop and restart.
Next
- Turn PDFs into Markdown with Docling to get clean text for your embeddings.
- Serve an OpenAI-compatible API with vLLM for the model that answers from what you found.
- Control costs
Ready to try it?
Create a free account and add credit when you want to start a server. The smallest top-up is $10.
Was this helpful?