SurrealDB vs Pinecone

SurrealDB fits teams that want one self-hostable database for documents, graphs and vectors under a Business Source License. Pinecone fits teams that want a hosted vector service billed by usage. If license terms or exit rules decide the choice, a self-hosted vector store such as Qdrant is the route to test.

On this page

SurrealDB vs Pinecone: when each one fits your workload

Choose SurrealDB when you want one store for vectors and other data models, including full-text indexes, graph and relational data, and the row-level permissions that govern them, and when you want that store in your own infrastructure or on SurrealDB Cloud. Choose Pinecone when your team needs a hosted vector index it can use without operating a database, and it accepts a vendor-run service billed on usage. SurrealDB's README lists full-text, vector and hybrid retrieval, live queries, ACID transactions and row-level permissions, and it can run embedded, as a single node, as a distributed cluster, or on Kubernetes. Pinecone's free Starter plan runs only on AWS us-east-1, while its Standard and Enterprise plans run on AWS, Azure or GCP. Enterprise also offers BYOC, which runs Pinecone in your own cloud account at a quoted price, so ask for that quote if data location is a hard requirement. Compare the current plan terms on the Pinecone pricing page.

The first factor is licensing. The LICENSE file in the SurrealDB repository is the Business Source License 1.1 for SurrealDB 3.0, and the file states that it is not an Open Source license. Its Additional Use Grant permits use of the Licensed Work provided it is not used as a Database Service, and the Change Date is 2030-01-01, after which the Change License, Apache License 2.0, applies. The README says certain core database components are Apache License 2.0, and libraries and SDKs are Apache License 2.0 or MIT, so confirm which component each part of your stack depends on. Have counsel read the SurrealDB repository license text against your plans, especially if you would offer a database-backed service to your own customers. Pinecone is a vendor-operated service, so its subscription and any BYOC agreement set the terms you accept instead of a license you can run yourself.

The second factor is where data must sit and how you would leave. With SurrealDB, you choose the host, so the data stays in storage you control, and you should confirm the export and dump options for the version you plan to deploy before go-live. With Pinecone, the documented way to read vectors back is to list record IDs, which works only on serverless indexes at up to 100 IDs per page with a pagination token, and then to fetch records by ID. Pinecone does not describe a dedicated export operation in its docs, so a full export means scripting that loop and checking vector counts and metadata against the source. Before you commit, ask Pinecone whether a bulk export exists for your index type and deployment model, including BYOC, and run a test export of a full index into your own storage.

Which of SurrealDB or Pinecone fits each scenario

This table compares which product fits each common scenario, with a self-hosted route for cases where neither fits. Check the condition in each row first, because the answer depends on whether you need one data model or several and where your data must sit. The main takeaway is that SurrealDB suits teams that want vector, document, graph and relational data in one self-hosted store under BSL 1.1 terms, while Pinecone suits managed vector search or a BYOC deployment in your own cloud account.

ScenarioBetter fitCondition that must holdSelf-hosted route when neither fits
Vector search only, no other data modelsPinecone, if a hosted service is acceptableYour data may leave your network and you need no relational or graph queriesSelf-host Qdrant (Apache-2.0) or pgvector if vectors must stay in your account
Vectors plus relational or graph data in one storeSurrealDB, self-hostedLegal accepts the BSL 1.1 terms and you will not offer SurrealDB as a database servicePostgreSQL with pgvector for relational data, plus a separate graph store if needed
Hybrid keyword and vector retrievalSurrealDB, whose README lists full-text, vector and hybrid retrievalConfirm Pinecone's current keyword search support before choosing itOpenSearch (Apache-2.0), or Meilisearch and Typesense for keyword-first search, after confirming vector support
Already running hosted Pinecone and want to keep itPinecone, the existing indexMigration effort and contract terms outweigh the benefit of moving nowPlan a later move with Qdrant's migration tool, which can import vectors from Pinecone serverless indexes
Regulated team that needs data in its own cloud accountSurrealDB self-hosted, if BSL 1.1 is accepted; otherwise Pinecone BYOCData must stay in your account, and Pinecone BYOC is an Enterprise option at quoted pricesSelf-host Qdrant, Milvus, Weaviate or pgvector in your own cloud account

The decision path from workload to product or self-hosted route

The diagram starts with workload scope. A vector-only workload moves to a hosted-only check: if a managed service is acceptable, Pinecone fits, and if data must stay in your own environment, self-hosted Qdrant or pgvector is the route. A workload that spans several data models moves to a license and exit review. SurrealDB's Business Source License 1.1 permits use unless the software is offered as a Database Service, and it converts to Apache License 2.0 on the change date, so confirm with counsel whether your planned use qualifies. If license or exit terms conflict with your data control requirements, the path ends at self-hosted Qdrant or pgvector.

Decision path from workload scope to Pinecone, SurrealDB, or self-hosted Qdrant or pgvector.

SurrealDB vs Pinecone capabilities, deployment and operating effort side by side

This table compares SurrealDB and Pinecone on deployment, licensing, data models, retrieval, transactions, permissions, managed options, export and operating effort. Read each row as a question for your own workload, and treat cells that say to confirm as open items for the vendor. The main takeaway is that SurrealDB runs in your infrastructure under a restricted source-available license, while Pinecone's documented export path is listing and fetching record IDs.

DimensionSurrealDBPinecone
Deployment modelEmbedded, single node, distributed cluster, Docker, Homebrew or Kubernetes; also SurrealDB CloudHosted on AWS, Azure or GCP in available regions; BYOC runs in your own cloud account at quoted prices
LicenseBusiness Source License 1.1 for SurrealDB 3.0, not open source; use allowed except as a Database Service; Apache 2.0 from 2030-01-01Proprietary hosted service; confirm the terms in your agreement
Data modelsDocument, graph, relational, time-series, geospatial and key-value, queried with SurrealQLVector records addressed by ID; confirm whether other data types are supported in current docs
Vector, full-text and hybrid retrievalFull-text, vector and hybrid retrieval listed in the README; check index options in the docsVector retrieval is the core use; confirm full-text and hybrid support in Pinecone's current docs
Transactions and row-level permissionsACID transactions and row-level permissions listed in the READMEConfirm transaction semantics and per-record access controls in Pinecone's current docs
Live queriesLive queries listed in the README; test latency and behavior at your data volumeConfirm whether change notifications or live subscriptions exist before planning around them
Managed optionsSurrealDB Cloud is mentioned in the README; confirm its plans, regions and terms with the vendorFree Starter on AWS us-east-1; Builder $20 a month; Standard $50 monthly minimum; Enterprise $500 monthly minimum (Pinecone pricing page)
Export pathConfirm the export command and output format in the SurrealDB docs for your versionListing record IDs (serverless only, 100 per page) then fetching by ID; no dedicated export
Operating effortYou run upgrades, backups, scaling and monitoring; a cluster adds coordination workVendor runs the service on hosted plans; BYOC shifts some work into your cloud account

How Pinecone's plans and usage fees compare with SurrealDB terms

Pinecone prices by plan tier and metered usage, while SurrealDB's terms depend on whether you run its server yourself or buy SurrealDB Cloud. The cards below set out each Pinecone tier from the public pricing page, then the terms to request from SurrealDB before you compare totals. Confirm current figures on the day you compare, because published prices and limits can change.

Pinecone Starter plan

Pinecone's free Starter plan includes up to 2 GB of storage, 2M write units and 1M read units a month, and it runs only on AWS us-east-1. For a SurrealDB comparison, check whether a proof of concept fits these limits and whether that single region meets your data residency rules. Starter cannot host a workload outside us-east-1, so a regulated dataset in another region needs a paid plan from the start. Confirm the limits on Pinecone's pricing page before you plan a test.

Pinecone pricing page

Pinecone Builder plan

Builder is a flat $20 a month with up to 10 GB of storage, according to Pinecone's pricing page. Because the fee is fixed, the cost question shifts to storage growth and to whether your query volume stays within what the plan covers. On the SurrealDB side, the equivalent cost is a single node you run yourself, paid for in infrastructure, backups and operator time, which appears as separate lines rather than one vendor invoice. Ask Pinecone what happens to billing once storage passes the 10 GB ceiling.

Pinecone Standard plan

Standard has a $50 monthly minimum and pay-as-you-go usage: $0.33 per GB-month of storage, $4 to $4.50 per million write units and $16 to $18 per million read units, varying by cloud and region. Read units cost more than write units at every published rate, so read volume usually drives the bill. Model your monthly read and write counts for each region you need before comparing. Standard runs on AWS, Azure or GCP in all available regions.

Pinecone Enterprise plan

Enterprise has a $500 monthly minimum, writes at $6 to $6.75 per million and reads at $24 to $27 per million. Its BYOC option runs the service in your own cloud account at quoted prices, so you pay Pinecone for the service and the cloud provider for the infrastructure in your account. Ask for the BYOC quote in writing, with each cost component listed separately, and confirm who holds the operational responsibilities for upgrades, backups and access control. Compare that total with a self-hosted SurrealDB cluster in the same account.

SurrealDB license and cloud terms

The SurrealDB repository LICENSE is Business Source License 1.1, and the file states it is not an Open Source license. It sets a Change Date of 2030-01-01 with Apache License 2.0 as the Change License, and its Additional Use Grant allows use only if the software is not offered as a Database Service. Request current SurrealDB Cloud and self-hosted license terms in writing, including the price of each option, the support scope and whether your planned use qualifies. Do not finalize a Pinecone comparison until those terms are in hand.

SurrealDB license file

What running each option takes in staff time and infrastructure

The one-time work on both sides is design, mapping and testing, but the staff time differs. On the Pinecone side, the main job is index design and export planning: list the indexes, namespaces and metadata filters your application depends on, then decide how vectors will leave Pinecone. Pinecone documents listing record IDs only for serverless indexes, at up to 100 IDs per page with a pagination token, followed by fetching records by ID, and it does not describe a dedicated export operation. Plan that extraction early and test it against a full copy of your data. On the SurrealDB side, one-time work covers mapping vector metadata into SurrealDB tables, defining the vector and full-text indexes, and testing retrieval quality and latency against your current results. Confirm that your team has SurrealQL skills before you estimate that effort.

Recurring cost works differently on each side. Pinecone bills on usage. On the Standard plan, storage is $0.33 per GB-month, writes are $4 to $4.50 per million and reads are $16 to $18 per million, varying by cloud and region, with a $50 monthly minimum (Pinecone pricing page). The Enterprise plan has a $500 monthly minimum, and its BYOC option runs in your own cloud account at quoted prices, so ask whether the quote covers support and what your team still operates. On SurrealDB, the recurring lines are compute and storage for a single node or a distributed cluster, backups, monitoring, access control, upgrade testing and on-call coverage. A single node is simpler to run but carries one point of failure. A cluster adds nodes to patch, monitor and back up, so the staff time grows with the node count.

Four factors drive most of the cost: write and read volume, storage size, cloud region and the number of environments. On Pinecone, every write and read is billed, so re-embedding jobs and high-traffic query paths move the bill directly, and each extra environment adds its own indexes and minimums. On SurrealDB, the same volume shows up as compute, disk and backup capacity, so size nodes against peak query load and your backup retention period. Ask any Pinecone quote for a per-region breakdown of storage, write and read rates, and the BYOC terms in writing. Before a self-hosted build, have counsel check that your planned use fits the Additional Use Grant in the SurrealDB licence file, since the licence restricts use as a Database Service.

Where data sits and how each product's export and exit work

Where SurrealDB and Pinecone store your data, and how each one lets you get it out, decides how hard a move is. SurrealDB's deployment mode and license terms set who operates the data and what you can offer to others. Pinecone's hosting options and its record listing limits set how an extract is built and what a Qdrant exit must cover.

SurrealDB data location

SurrealDB can run embedded in an application, as a single self-hosted node, as a distributed cluster, or on Kubernetes, and it is also offered as SurrealDB Cloud. Embedded and self-hosted modes keep data inside your own servers or cloud accounts. For SurrealDB Cloud, confirm the hosting regions with the vendor and ask whether backups stay in those regions. Confirm the deployment mode first, since it determines who operates storage, backups and upgrades.

SurrealDB repository

SurrealDB license constraint

SurrealDB 3.0 is licensed under the Business Source License 1.1, and its license file states that it is not an Open Source license. The Additional Use Grant permits use provided the software is not used as a Database Service, so offering SurrealDB to third parties as a hosted database needs legal review. The Change Date is 2030-01-01, and the Change License is Apache License 2.0. The README says certain core components are Apache License 2.0, so have counsel map each component you deploy to its license.

License file

Pinecone data location

Pinecone's Standard and Enterprise plans run on AWS, Azure or GCP in all available regions, so you can match a provider and region to your residency rules. The free Starter plan is limited to AWS us-east-1. Pinecone also offers BYOC, which runs in your own cloud account, so the infrastructure sits in an account you already govern. Ask Pinecone which regions and BYOC terms apply to your contract and confirm them in writing before you commit.

Pinecone pricing

Pinecone export path

Pinecone documents listing record IDs only on serverless indexes, at up to 100 IDs per page with a pagination token. You then fetch the records by ID, so a full export is a loop over list and fetch calls. Pinecone does not describe a dedicated export operation, so ask your account team whether one exists before you plan a bulk extract. Test the loop on a copy of a production index to measure throughput and read units before relying on it.

Pinecone list record IDs docs

Qdrant as the exit route

Qdrant's Apache-2.0 migration tool moves vectors from Pinecone serverless indexes into Qdrant, and it also reads Milvus, Weaviate, Chroma, Elasticsearch, OpenSearch and pgvector. Transfers can be resumed after an interruption, which matters for large indexes. Confirm whether metadata fields and namespaces carry over into Qdrant payloads before cutover. Run a full test transfer and compare counts and sample queries against the source.

Qdrant migration repository

Confirm the SurrealDB export path

The export path from SurrealDB is an open item, so confirm it in the vendor documentation before scoping any exit. Ask which export formats exist, whether they carry graph relations, live query definitions, permissions and index definitions, and how long a full export takes at your data volume. Record the answers beside the Pinecone steps so both exits are checked against the same list. Put the answers in your exit plan before any engineering estimate is made.

What a move between SurrealDB and Pinecone involves, step by step

The sequence moves vectors, metadata and any linked records from one system to the other without losing track of what was copied. Each step ends with a check you can verify, so the cutover happens only after both stores return matching results.

  1. Inventory data, links and queries

    List what the current store holds: vectors and their dimensions, metadata fields, source documents, IDs, and any graph or relational links between records. Add the queries the application runs, including filtered, full-text and hybrid searches, because those define what the target must support. The inventory is done when the data owner and application team have both signed off on it and every query has a named owner.

  2. Choose the target and confirm its license

    Select the destination and confirm its license, hosting model and export options before any data moves. SurrealDB 3.0 is under the Business Source License 1.1, and its repository states it is not an open source license, so check your use against the Additional Use Grant with counsel. Pinecone's Standard and Enterprise plans run on AWS, Azure or GCP, and BYOC runs in your own cloud account, so confirm which option meets your residency rules. The step is done when a decision record names the target, its license, its location and the approver.

  3. Map the data model to the target

    Translate each record type into the target's model: vector field and dimension, payload or metadata keys, record IDs and the filter syntax. Graph traversals and relational joins often have no direct equivalent in a vector index, so decide whether each one moves into application logic, a second store or a lookup table. Keep the mapping as one row per record type, with a note on every feature that will not carry over. The step is done when the application team signs off each row, including the dropped features.

  4. Export and load a test environment

    Export records from the source and load them into a non-production instance of the target. When Pinecone is the source, the documented route is to list record IDs, which is supported only on serverless indexes at up to 100 IDs per page with a pagination token, then fetch records by ID, since Pinecone does not describe a dedicated export operation. Pinecone's list record IDs guide sets out the calls. When SurrealDB is the source, confirm the export method for your exact version before planning the exit, because a SurrealDB exit depends on it. The step is done when record counts match and a sample of records is identical between source and test target.

  5. Run both systems and compare results

    Send the same production queries to the old store and the target, and compare top results, filtered counts and returned metadata. Decide how writes are handled during this period, either dual writes or a short write freeze, and record the choice, since drift between stores will skew comparisons. Expect similarity scores to differ between engines, so set acceptance criteria on top-result overlap and filter correctness. The step is done when the criteria are met on the agreed query sample and every difference is logged and explained.

  6. Cut over and decommission the old store

    Move application traffic to the target, keep the old store read-only through the retention period your policy sets, then remove it. Confirm that backups and exports of the old data follow your retention and deletion rules, that the source data, including any Pinecone indexes or SurrealDB namespaces, is deleted on the source side, and that service credentials are revoked. The step is done when the old store is gone, deletion evidence is filed, and the change record shows the cutover date and approver.

When a self-hosted vector store fits better than either product

Neither product is the right answer when license terms, hosted-only operation or exit constraints conflict with your data control requirements. SurrealDB's repository is licensed under the Business Source License 1.1, which its LICENSE file says is not an Open Source license, and its Additional Use Grant excludes use as a Database Service, so a team planning customer-facing database services needs legal review first. Pinecone's Standard and Enterprise plans run on AWS, Azure or GCP, and its documented way to read vectors back is listing record IDs on serverless indexes and then fetching records by ID, with no dedicated export operation. If one of these constraints is a hard requirement, evaluate a self-hosted vector store under a permissive license. Confirm which constraint applies before you compare features.

Four open-source options fit this case, each for a different reason. Qdrant and Milvus are both Apache-2.0 licensed dedicated vector databases. Qdrant's Apache-2.0 migration tool moves vectors from Pinecone serverless indexes and supports resumable transfers, which matters for large collections where an interrupted copy should not start over. pgvector uses the PostgreSQL License and fits where PostgreSQL already runs the platform, so existing backup, access control and on-call routines can cover it. Weaviate is BSD-3-Clause outside its enterprise-licensed directory, so check the license file and confirm which directories and modules your build includes before assuming a permissive license covers the whole deployment. For each option, confirm that filtering, hybrid retrieval and tenant isolation meet your actual queries.

Running any of these yourself moves the work a hosted service handles into your team's queue, and DeployOpen implements and runs the chosen option inside your own cloud account, data center or air-gapped network. Plan for compute sized to your index, storage with a tested restore path, and separate backups of the vectors and the metadata that gives them meaning. Upgrades need a dated change process, a staging copy and a rollback plan. Monitoring should cover query latency, ingestion errors, disk and memory pressure and backup job results. Access control means integrating authentication with your identity provider, limiting who can create collections or read stored payloads, and logging administrative actions. Security testing of the API, admin interfaces and network exposure should happen before production and again after each upgrade.

SurrealDB vs Pinecone questions buyers ask before a migration

Is SurrealDB cheaper than Pinecone for vector search workloads?

It depends on your usage and on SurrealDB commercial terms that you must request in writing. Pinecone's pricing page lists a free Starter plan, a Builder plan at a flat $20 a month, a Standard plan with a $50 monthly minimum and usage charges of $0.33 per GB-month of storage, and an Enterprise plan with a $500 monthly minimum and a BYOC option in your own cloud account. Pinecone costs move with stored vectors, write and read volume, cloud and region. A self-hosted SurrealDB cost has different parts: compute and storage for the nodes, backups, monitoring, and staff hours for upgrades and on-call support. Ask SurrealDB for written terms that cover your deployment and support level, then model both sides using your own vector count, dimensions and query rate.

Can SurrealDB replace Pinecone for vector search on our data?

It may, but you should confirm this with your own data before you commit. The SurrealDB README lists vector, full-text and hybrid retrieval, along with live queries and row-level permissions, so the feature categories overlap with what Pinecone users typically need. Test three things on a copy of your data: index behavior at your expected vector count and dimensions, retrieval quality against queries your users actually run, and metadata filtering combined with vector search, since filter behavior is often where results differ. Record latency and result quality at production-level volumes. Also confirm how SurrealDB handles upserts, deletes and the way your application separates indexes or namespaces, because your code depends on those behaviors.

How hard is it to get vectors out of Pinecone?

The effort depends on your index type, size and metadata, because Pinecone does not document a dedicated bulk export operation. Pinecone's documentation describes listing record IDs, which is supported only on serverless indexes, at up to 100 IDs per page with a pagination token, and then fetching records by ID. Confirm your index type first. Effort drivers include vector count, dimensions, metadata size, and whether your application can reproduce the IDs it wrote. A typical approach is a script that pages through IDs, fetches records in batches, respects rate limits, writes to a staging store, and checks counts and sample vectors against the source. If Qdrant is a fallback target, its Apache-2.0 migration tool can move vectors from Pinecone serverless indexes, which may reduce the scripting work.

Does the Business Source License stop internal self-hosting of SurrealDB?

The license does not automatically block internal self-hosting, but you need a legal review of the Additional Use Grant before you commit. SurrealDB's LICENSE file is Business Source License 1.1 for SurrealDB 3.0, names SurrealDB Ltd. as Licensor, and states that it is not an Open Source license. The Additional Use Grant permits use provided the software is not used as a Database Service, so counsel must decide whether your planned deployment, including any internal platform offered to other business units or customers, fits that wording. The Change Date is 2030-01-01, when the Change License becomes Apache License 2.0. The README says certain core components are Apache License 2.0 and libraries and SDKs are Apache License 2.0 or MIT, so confirm which components your deployment uses. Obtain the written review before any production commitment.

What does a SurrealDB migration need from our team?

Your team needs four inputs: access, data owners, test queries and an operations owner. Access means read rights to the Pinecone indexes and metadata, plus a sandbox where SurrealDB can run with your SSO, secrets management and network rules. Data owners decide which indexes, namespaces and fields can move, and they approve retention and deletion. Test queries are the input teams most often skip: collect queries your users actually run, with expected results, so you can compare retrieval quality before cutover. An operations owner is a named person or team that handles upgrades, backups, monitoring and on-call support once SurrealDB is in production. Effort rises with the number of indexes, the number of applications that call Pinecone, and the number of approvers needed for data movement. Document these roles before the first test.

Can our team move from Pinecone to SurrealDB without outside help?

A platform team with self-hosted database experience can run the move alone, but it needs time for testing, a clear owner and a rollback plan. The main parts are the export script, the SurrealDB deployment and hardening, retrieval and filter tests, application changes from Pinecone client calls to SurrealDB queries, and a cutover with a fallback path. Whether to do it internally depends on your team's experience, the number of indexes and applications involved, and whether staff can cover the test and cutover window. If you want outside help, DeployOpen plans, implements, hardens and documents self-hosted platforms inside your own infrastructure, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask any provider for a written scope that lists each part above before you commit.

How DeployOpen works on this

DeployOpen starts with the workload behind SurrealDB vs Pinecone: what you search, how much data sits in each store, who can read it, and where it must live. We compare the options on those points, then build the chosen one in your own cloud account, data center or air-gapped network. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Written scope covers the SurrealDB and Pinecone capabilities that your workload actually uses.
  • Confirmation of SurrealDB's Business Source License 1.1 terms with your counsel, including the Database Service limit.
  • Pinecone exit path documented, including the index types where record IDs can be listed for export.

How we build

  • Self-hosted SurrealDB set up as a single node or cluster, on Docker or Kubernetes, in your infrastructure.
  • Side-by-side test of hybrid retrieval, vector search and row-level permissions against your own data.
  • Export tooling for serverless Pinecone indexes: list record IDs in pages of up to 100, then fetch each record.

How we hand over

  • Written configuration record covering deployment topology, storage, backups, authentication and access rules.
  • Side-by-side comparison report with capability gaps, licensing terms and data location findings for your review.
  • Runbooks for operating SurrealDB, including upgrade steps and the exit procedure to another store.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retesting of the deployment after fixes, so findings are closed before go-live.
  • Scheduled review of SurrealDB's license position, including the 2030-01-01 change date to Apache License 2.0.

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.