Softwr

Databases · head to head

Milvus vs Thanos

Milvus logo

Milvus

Databases

Open-source vector database for scalable similarity search

From
Free
Free plan
Yes
Thanos logo

Thanos

Cloud

Highly available Prometheus with long-term object storage

From
Free
Free plan
Yes

The short version

  • Milvus is an open-source vector database.
  • Both are free.
  • Only Milvus lists billion-scale vectors; only Thanos lists global query.
  • Where Milvus falls short: vector dimensions are capped at 32,768.
  • Where Thanos falls short: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes.

How do Milvus and Thanos differ?

Milvus and Thanos differ on pricing model, platforms and category (Databases against Cloud). Only the attributes on which Milvus and Thanos actually diverge.

Attributes where Milvus and Thanos differ
AttributeMilvusThanos
Pricing modelFreemiumOpen source, no licence fee
PlatformsLinux, macOS, Windows, WebSelf-hosted, Linux
CategoryDatabasesCloud

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Thanos.

Which features does each one have?

They share no listed features; 14 appear only for Milvus and 4 only for Thanos. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Milvus

  • Billion-scale vectors
  • Multiple index types
  • GPU acceleration
  • Hybrid search
  • Data partitioning
  • PyTorch
  • TensorFlow
  • Hugging Face

Only in Thanos

  • Global query
  • Object storage retention
  • Deduplication
  • Downsampling

What is each one used for?

Milvus is most often brought in for self hosting a vector database for semantic search; Thanos for querying metrics across many clusters or regions from one place. The jobs each tool is most often brought in to do.

Milvus

  • Self hosting a vector database for semantic searchnot Thanos
  • Storing and querying embeddings for retrieval augmented generationnot Thanos
  • Similarity search over images, audio or text at scalenot Thanos

Thanos

  • Querying metrics across many clusters or regions from one placenot Milvus
  • Retaining metrics for years without local disk growthnot Milvus
  • Removing the gap that appears when a single Prometheus instance restartsnot Milvus

Where do Milvus and Thanos fall short?

Milvus's most cited limit: vector dimensions are capped at 32,768. Thanos's: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Milvus

  • Vector dimensions are capped at 32,768
  • A collection is limited to 64 fields, 1,024 partitions and 16 shards
  • Only 1 index is allowed per field
  • Search returns at most 16,384 vectors as top-k, and nq is capped at 16,384
  • Input and output per RPC is capped at 64 MB for insert, search and query
  • VARCHAR values are limited to 65,535 characters
  • Data loaded into query nodes cannot exceed 90% of available memory
  • An instance supports at most 65,536 collections

Thanos

  • Several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes
  • The compactor is a common source of operational trouble and must not run twice against the same bucket
  • Query latency over object storage is meaningfully higher than local Prometheus
  • Object storage costs and API request charges become real at high volume

How much do Milvus and Thanos cost?

Milvus is free to use; Thanos is free to use. Plan by plan below, from each vendor's own pricing page.

Milvus

Free
  • Open SourceFree
    • Full features
    • Self-hosted
    • Community support
  • Zilliz CloudFree
    • Managed service
    • Free tier available

Thanos

Free
  • ThanosFree
    • Full functionality
    • No usage limits
    • Community support

Which should you pick?

Choose Milvus if

  • You need billion-scale vectors.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Web.
  • You also want multiple index types.

Choose Thanos if

  • You need global query.
  • You want to start without paying.
  • You work on Self-hosted, Linux.
  • You also want object storage retention.

Questions people ask

Is Milvus or Thanos better?
It depends on the job. Milvus fits self hosting a vector database for semantic search; Thanos fits querying metrics across many clusters or regions from one place. Milvus starts at Free and Thanos at Free.
Which is cheaper, Milvus or Thanos?
Milvus starts at Free and Thanos at Free.
Does Milvus or Thanos run on more platforms?
Milvus runs on Linux, macOS, Windows, Web. Thanos runs on Self-hosted, Linux.
Can I use Milvus for free?
Both have a free tier, so you can try either at no cost before committing.
What is Milvus best used for?
Milvus is most often used for self hosting a vector database for semantic search, storing and querying embeddings for retrieval augmented generation, similarity search over images, audio or text at scale. Of those, self hosting a vector database for semantic search and storing and querying embeddings for retrieval augmented generation are not what Thanos is typically brought in for.
What can Milvus do that Thanos cannot?
Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search. Thanos covers Global query, Object storage retention, Deduplication, Downsampling.

Answered from the vendors’ own pages

Milvus: How much does Milvus cost?

Milvus is open-source and free to use and modify. The self-hosted version has no licensing cost. Zilliz Cloud (the managed SaaS version) does not publish pricing on the website.

Source
Thanos: Is Thanos free?

Yes, open source and CNCF-incubating. Costs are the object storage it uses.

Milvus: Is there a free or open-source version of Milvus?

Yes, Milvus is fully open-source and available for free. Milvus Lite is a lightweight option for learning and prototyping that can be installed via pip.

Source
Thanos: Does Thanos replace Prometheus?

No. It runs alongside existing Prometheus servers, adding global query, deduplication and long-term storage.

Milvus: Does Milvus offer a managed cloud service?

Yes, Zilliz Cloud is a fully managed Milvus cloud offering with serverless and dedicated cluster options. Pricing must be requested from the company as it is not listed on the public website.

Source
Thanos: Thanos or VictoriaMetrics?

Thanos layers onto Prometheus using object storage and is the more established multi-cluster answer. VictoriaMetrics is a separate store aiming at lower resource use and fewer moving parts.

Share

Related pages

Other head to heads