Skip to content
New Year BoostTop up
Apixo
Blog
news· 3 min read· via Towards AI

Mistral Releases Clipstral: Running Local Multimodal Search on Standard CPUs

Mistral's open-weight Clipstral embeds photos, video clips, and text into a shared vector space, achieving sub-second local search on standard CPUs with ChromaDB.

Mistral Releases Clipstral: Running Local Multimodal Search on Standard CPUs

Mistral has introduced Clipstral, an open-weight 1.24-billion-parameter multimodal embedding model released under the Apache 2.0 license. Documented under the repository name mistralai/mistral-multimodal-embed-1B and detailed in research paper arXiv:2611.40240, the system maps images, text descriptions, and short video clips into a single unified 1,024-dimensional vector space. Recent independent testing demonstrates that developers can run the entire model and an associated search pipeline on standard desktop CPU hardware without relying on cloud accelerators or specialized GPUs.

Architecture and multimodal design

Clipstral operates as a dual encoder rather than a generative chat model. Its parameter budget is divided across specialized sub-networks: a 409-million-parameter vision tower, an auxiliary 50-million-parameter video encoder, and a 783-million-parameter text encoder. Regardless of whether the input is a single image, a text phrase, or a video file, the model outputs an L2-normalized 1,024-element vector, allowing similarity comparisons via straightforward dot products to calculate cosine similarity.

The model handles input media through distinct processing pipelines. By default, images retain their native aspect ratio, with the longest edge resized to 448 pixels and rounded to multiples of 28 to preserve patch alignment. Evaluation data shows stable representations across image dimensions ranging from 224 to 1,036 pixels. For video, Clipstral samples 16 frames resized to 224 pixels rather than ingesting entire full-length files. Training focused on clips approximately one minute long, positioning the architecture specifically as a short-clip embedder. For queries combining both text and images, developers embed each modality separately and average the resulting vectors.

Local CPU benchmarks and deployment realities

In practical local deployment tests conducted on an 8-core CPU system equipped with 16 GB of RAM, Clipstral demonstrated low resource requirements when configured properly. The model weights require 2.48 GB of disk space in the model.safetensors format. While the official CPU baseline relies on float32—which can drive memory consumption toward 8 GB—casting the model and incoming pixel tensors to torch.bfloat16 lowered peak system memory usage to 2,625.7 MB.

Serving the pipeline locally using FastAPI, ChromaDB, and OpenCV revealed rapid processing metrics. After an initial warmup period of 0.59 seconds, still images indexed in 0.20 to 0.33 seconds, averaging roughly 0.29 seconds per file. A 22-second WebM video consisting of 550 frames at 25 frames per second took 1.52 seconds to process into 16 sampled frames and embed. Once loaded into memory—which took 1.28 seconds for cached weights—an entire test set of eight photos and one video ingested into ChromaDB in 4.16 seconds, generating a database footprint of just 0.63 MB.

Retrieval benchmarks proved accurate across eight distinct semantic queries, matching natural language descriptions directly to target images and the video file. Text embedding latency averaged around 0.03 seconds, while vector lookups inside ChromaDB took roughly 0.001 seconds. For example, the query "a bee visiting a flower" matched the video clip with a cosine score of 0.291, outranking an image of sunflowers that scored 0.110. Implementation required pinning FastAPI to version 0.115.8 and Starlette to 0.41.3 to avoid internal server errors caused by logging issues in newer framework releases.

What it means for developers

Clipstral offers developers an accessible path toward private, offline media indexing without dedicated GPU clusters. Because the model is open-weight and lightweight enough to run entirely in CPU memory under bfloat16, teams can build local desktop tools, privacy-conscious photo managers, or asset retrieval systems using open libraries like Hugging Face Transformers, OpenCV, and ChromaDB.

However, teams must design around Clipstral's structural boundaries. Because it samples only 16 frames per video, it cannot index hour-long footage without prior chunking, nor does it generate captions or transcriptions. Mistral designed the model for natural images and short media clips; dense text documents, heavy OCR workloads, and source code fall outside its target scope.

For applications that require multimodal vector search combined with larger generative language models, developers can try top AI models cheaply through one API at https://apixoai.online to complement local embedding pipelines with scalable cloud reasoning. Clipstral demonstrates that specialized multimodal vector search can now execute efficiently at the edge on commodity consumer hardware.


Source: Build a Local Image and Video Search API with Clipstral, FastAPI and ChromaDB — Towards AI. Written by the Apixo team from that report.

#ai-news#clipstral#mistral#machine-learning#embeddings#fastapi
Try it with your own tools

One key for Claude, GPT, GLM, DeepSeek and more. Pay per token with crypto.

Get your API key

Keep reading