---
title: "SPTAG vs cherche"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/microsoft-sptag-vs-raphaelsty-cherche"
tools: ["microsoft-sptag", "raphaelsty-cherche"]
---

# SPTAG vs cherche

*GraphCanon updated Aug 23, 2026*

## Verdict

Pick SPTAG if sPTAG is optimal for developers and enterprises handling large-scale vector searches who need high-quality indexing with efficient serving mechanisms; pick cherche if cherche is a Python library for implementing neural search capabilities.

[SPTAG](https://github.com/microsoft/SPTAG) reports 5.0k GitHub stars, 620 forks, and 143 open issues, last pushed Aug 21, 2026. [cherche](https://github.com/raphaelsty/cherche) has 332 stars, 14 forks, and 4 open issues, last pushed Jun 1, 2024. Figures are from public GitHub metadata via [SPTAG's repository](https://github.com/microsoft/SPTAG) and [cherche's repository](https://github.com/raphaelsty/cherche).

| | [SPTAG](/tools/microsoft-sptag.md) | [cherche](/tools/raphaelsty-cherche.md) |
| --- | --- | --- |
| Tagline | Distributed ANN library for large-scale vector search | Neural Search |
| Stars | 5,012 | 332 |
| Forks | 620 | 14 |
| Open issues | 143 | 4 |
| Language | C++ | Python |
| Adopt for | SPTAG is optimal for developers and enterprises handling large-scale vector searches who need high-quality indexing with efficient serving mechanisms. | Cherche is a Python library for implementing neural search capabilities. |
| Persona | - | - |
| Runtime | - | - |
| License | MIT | MIT |
| Categories | Inference & Serving, Vector Databases | Data & Retrieval, Evaluation & Observability, Vector Databases |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [SPTAG](/tools/microsoft-sptag.md) | [cherche](/tools/raphaelsty-cherche.md) |
| --- | --- | --- |
| Maintenance | Very active (96%) | Dormant (18%) |
| Days since push | 1d | 812d |
| Open issues (now) | 143 | 4 |
| Stars delta | +5 (30d) | 0 (30d) |
| Owner type | Organization | User |
| Full report | [trust report](/tools/microsoft-sptag/trust.md) | [trust report](/tools/raphaelsty-cherche/trust.md) |

## Decision facts: SPTAG

- **Pricing:** freemium - SPTAG is open source and free to use under the MIT license. Advanced support or integrations may bear extra costs depending on commercial context.
- **Requirements:** Requires proficiency in C++ for optimal customization, though general usage can be managed with provided toolkits.; High infrastructure demands due to its distributed nature make efficient resource management a priority.
- **Adopt for:** SPTAG is optimal for developers and enterprises handling large-scale vector searches who need high-quality indexing with efficient serving mechanisms.

## Decision facts: cherche

- **Adopt for:** Cherche is a Python library for implementing neural search capabilities.

## Choose when

### Choose SPTAG if…

- SPTAG is primarily C++; cherche is Python.
- Pricing: SPTAG is open source and free to use under the MIT license. Advanced support or integrations may bear extra costs depending on commercial context..
- Requirements: Requires proficiency in C++ for optimal customization, though general usage can be managed with provided toolkits.; High infrastructure demands due to its distributed nature make efficient resource management a priority..
- Tags unique to SPTAG: approximate-nearest-neighbor-search, distributed-serving, fresh-update, neighborhood-graph.
- Also covers Inference & Serving.
- SPTAG ships Docker support for self-hosted deployment.
- If you are working on applications that require quick access to nearest neighborhood data in massive datasets, such as recommendation engines or image search systems.

### Choose cherche if…

- cherche is primarily Python; SPTAG is C++.
- Tags unique to cherche: bm25, flashtext, information-retrieval, machine-learning.
- Also covers Data & Retrieval, Evaluation & Observability.
- Cherche is a Python library for implementing neural search capabilities.

## When NOT to use SPTAG

- Avoid using SPTAG if your application does not benefit from distributed infrastructure and prefers simpler, single-machine deployments with less operational complexity.
- If the primary requirement of your project is a high level of exactness over speed in nearest neighbor detection, as SPTAG compromises on precision for faster query performance.

## When NOT to use cherche

- Last GitHub push was 815 days ago (dormant maintenance, Jun 1, 2024). Validate activity before betting a new project on cherche.
- Data & Retrieval: Skip a heavy ingestion framework when your corpus is small and static; a script plus the embedding API is enough.
- Evaluation & Observability: Defer heavyweight eval infra only until you have real traffic - never skip it once users depend on answers.
- Vector Databases: Don't reach for a dedicated vector DB under ~100k vectors; pgvector on your existing Postgres is simpler to operate.

## Common questions

### What is the difference between SPTAG and cherche?

SPTAG: Distributed ANN library for large-scale vector search. cherche: Neural Search. See the comparison table for live GitHub stats and shared categories.

### When should I choose SPTAG over cherche?

Choose SPTAG over cherche when SPTAG is primarily C++; cherche is Python; Pricing: SPTAG is open source and free to use under the MIT license. Advanced support or integrations may bear extra costs depending on commercial context.; Requirements: Requires proficiency in C++ for optimal customization, though general usage can be managed with provided toolkits.; High infrastructure demands due to its distributed nature make efficient resource management a priority.; Tags unique to SPTAG: approximate-nearest-neighbor-search, distributed-serving, fresh-update, neighborhood-graph; Also covers Inference & Serving; SPTAG ships Docker support for self-hosted deployment; If you are working on applications that require quick access to nearest neighborhood data in massive datasets, such as recommendation engines or image search systems.

### When should I choose cherche over SPTAG?

Choose cherche over SPTAG when cherche is primarily Python; SPTAG is C++; Tags unique to cherche: bm25, flashtext, information-retrieval, machine-learning; Also covers Data & Retrieval, Evaluation & Observability; Cherche is a Python library for implementing neural search capabilities.

### When should I avoid SPTAG?

Avoid using SPTAG if your application does not benefit from distributed infrastructure and prefers simpler, single-machine deployments with less operational complexity. If the primary requirement of your project is a high level of exactness over speed in nearest neighbor detection, as SPTAG compromises on precision for faster query performance.

### When should I avoid cherche?

Last GitHub push was 815 days ago (dormant maintenance, Jun 1, 2024). Validate activity before betting a new project on cherche. Data & Retrieval: Skip a heavy ingestion framework when your corpus is small and static; a script plus the embedding API is enough. Evaluation & Observability: Defer heavyweight eval infra only until you have real traffic - never skip it once users depend on answers. Vector Databases: Don't reach for a dedicated vector DB under ~100k vectors; pgvector on your existing Postgres is simpler to operate.

### Is SPTAG or cherche more popular on GitHub?

SPTAG has more GitHub stars (5,012 vs 332). Stars measure visibility, not whether either tool fits your constraints.

### Are SPTAG and cherche open source?

Yes - both are open-source projects on GitHub (SPTAG: MIT, cherche: MIT).

### Where can I find alternatives to SPTAG or cherche?

GraphCanon lists graph-backed alternatives at [SPTAG alternatives](/tools/microsoft-sptag/alternatives) and [cherche alternatives](/tools/raphaelsty-cherche/alternatives) ([SPTAG markdown twin](/tools/microsoft-sptag/alternatives.md), [cherche markdown twin](/tools/raphaelsty-cherche/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/microsoft-sptag-vs-raphaelsty-cherche.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, SPTAG or cherche?

SPTAG: Very active. cherche: Dormant. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for SPTAG and cherche?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [SPTAG trust report](/tools/microsoft-sptag/trust); [cherche trust report](/tools/raphaelsty-cherche/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=microsoft-sptag`](/api/graphcanon/graph?tool=microsoft-sptag)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
