[Models](/models)/[Vector Infrastructure](/models?category=infrastructure)/facebook/faiss

C++/PythonVector IndexingMIT

# faiss

by facebook

GPU-accelerated billion-scale vector similarity search and clustering

39.5K★dl/month

N/A (library)params

[Source](https://github.com/facebookresearch/faiss)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`facebook/faiss`

## Deploy faiss

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

FAISS is Meta's library for efficient similarity search and clustering of dense vectors. It supports multiple index types (IVF, PQ, HNSW, flat), product quantization for compression, and optimized GPU kernels that handle billion-scale datasets.

On Mixpeek, FAISS powers the vector search infrastructure behind retriever stages, enabling sub-millisecond approximate nearest neighbor queries over large embedding collections.

## Architecture

C++ library with Python bindings. Supports flat (exact), IVF (inverted file), PQ (product quantization), HNSW (graph-based), and composite indexes. GPU batched search with CUDA kernels for billion-scale workloads.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so faiss runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace\_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
const res = await fetch(
  "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
  {
    method: "POST",
    headers: {
      Authorization: "Bearer API\_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      collection\_id: "col\_your\_collection",
      documents: \[
        {
          document\_id: "asset-00412",
          // The vector name has to match a vector index on the collection.
          vectors: { "image-embedding": yourVector },
          payload: { source\_key: "archive/2026/asset-00412" },
        },
      \],
    }),
  },
);

// Managed alternative, if this exact model is not the requirement:
// image\_extractor@v1 runs google/siglip-base-patch16-224
// (768-d) over a bucket, with no inference of your own.

## Capabilities

*   Billion-scale approximate nearest neighbor search
*   GPU-accelerated with CUDA kernels
*   Product quantization for 10-100x memory compression
*   Multiple index types: IVF, PQ, HNSW, flat
*   Clustering with k-means at scale

## Use Cases on Mixpeek

Embedding retrieval for visual and text search

Recommendation systems at scale

Deduplication across massive content libraries

Real-time similarity matching in production

## Benchmarks

Dataset

Metric

Score

Source

SIFT1M

Recall@1 (IVF4096,PQ64)

97.2%

Johnson et al., 2019: Table 2

Deep1B

Recall@1 (OPQ)

94.5%

Johnson et al., 2019: Table 4

## Performance

Input Sizeany dimension vector

GPU Latency~0.5ms / query (1M vectors, A100)

CPU Latency~2ms / query (1M vectors)

GPU Throughput~10,000 QPS (1M vectors, A100)

GPU Memoryvariable (depends on index type)

Library, not a model: GPU-accelerated similarity search

## Common Pipeline Companions

[

openai/clip-vit-large-patch14

Generate vectors for indexing

](/model/openai/clip-vit-large-patch14)[

BAAI/bge-large-en-v1.5

Text vectors for hybrid search

](/model/BAAI/bge-large-en-v1.5)

## Explore on Mixpeek

[

More Vector Infrastructure models

Compare alternatives in this category

](/models?category=infrastructure)[

Best Multimodal Embedding Models

Hand-picked tools & platforms compared

](/curated-lists/best-multimodal-embedding-models)[

How CLIP, SigLIP & CLAP Work

Deep-dive technical guide

](/guides/contrastive-learning-how-clip-siglip-and-clap-work)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

FrameworkC++/Python

Organizationfacebook

FeatureVector Indexing

Outputindex + results

Modalitiesvideo, image, audio, document

RetrieverVector Search

ParametersN/A (library)

LicenseMIT

Downloads/mo39.5K★

### Build a pipeline with faiss

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

### Alternative Models

[

google/scann

Vector Indexing

](/model/google/scann)