Mistral Multimodal Embed 1B (Clipstral): 1024-D Image, Video & Text RAG

Mistral Multimodal Embed 1B (codename Clipstral, mistralai/Mistral-Multimodal-Embed-1B) is a 1.24B-parameter Apache 2.0 dual encoder that embeds native-resolution images, 16-frame videos, and multilingual text into one L2-normalized 1,024-dimensional space, scoring 80.2 image retrieval R@1 across 37 benchmarks.
Mistral Multimodal Embed 1B (Clipstral): 1024-D Image, Video & Text RAG: Mistral Multimodal Embed 1B (codename Clipstral, mistralai/Mistral-Multimodal-Embed-1B) is a 1.24B-parameter Apache 2.0 dual encoder that embeds native-resolution images, 16-frame videos, and multilingual text into one L2-normalized 1,024-dimensional space, scoring 80.2 image retrieval R@1 across 37 benchmarks. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- Unified 1,024-D L2-Normalized Space: Direct cosine similarity across text, native-resolution images, and 16-frame video clips.
- #1 Retrieval Under 4B Parameters: Scores 80.2% image retrieval R@1 and 64.0% video retrieval R@1 across 37 zero-shot benchmarks.
- Resolution-Invariant Vision Tower: Maintains <1 point variance (62.9–63.8 R@1) on video retrieval from 224 px to 1,036 px via keep_ratio + 2D RoPE.
- Lightweight Video Path: Adds only a 50M-parameter 4-layer 3D-RoPE temporal encoder on top of the 409M ViT for single-H100 media indexing.
import { createAgent } from '@smoke-monkey/harness';const mediaRagAgent = createAgent({agentId: 'clipstral-multimodal-retriever',provider: 'anthropic',model: 'claude-sonnet-4-5',workspacePath: process.cwd(),permissions: {read_file: 'allow',write_file: 'allow',run_command: 'ask',},mcpServers: {clipstral: {command: 'uv',args: ['run', 'python', '-m', 'clipstral_qdrant_mcp', '--model', 'mistralai/Mistral-Multimodal-Embed-1B', '--dtype', 'bfloat16'],},},});async function searchVideoArchive(query: string) {const result = await mediaRagAgent.run(`Embed "${query}" with Clipstral text tower (1024-D L2-normalized), query Qdrant for matching 16-frame video clips and 448px keep_ratio stills, and return top timestamped evidence.`);console.log('Multimodal Retrieval Result:', result.summary);}searchVideoArchive('autonomous drone landing on wet asphalt').catch(console.error);
Watch: Related Video Guides
Clipstral from Mistral: Search Images and Videos Locally in 10 Languages
How to Use Multimodal RAG to Extract Text, Images, & Tables (with Demos)
What Is Mistral Multimodal Embed 1B (Clipstral)? Dual-Encoder Design
Mistral Multimodal Embed 1B (Clipstral, mistralai/Mistral-Multimodal-Embed-1B) is a 1.24B-parameter Apache 2.0 contrastive encoder that projects natural images, short videos, and multilingual text into a single L2-normalized 1,024-dimensional embedding space. Because every vector lies on the unit hypersphere, dot products compute exact cross-modal cosine similarity without re-ranking.
Instead of forcing square crops that distort tall or wide scenes, Clipstral defaults to a keep_ratio transform at 448 px on the longer side, rounding each dimension to a multiple of 28 (patch_size=14 multiplied by 2x2 patch merging) using OpenCV INTER_AREA. Its 24-layer ViT (409M params, hidden 1,024, 2D RoPE) pools image tokens with global max (amax), while a compact 4-layer temporal encoder (50M params, 3D RoPE) attends jointly across 16-frame video clips.
| Tower / Subsystem | Architecture Details | Parameters |
|---|---|---|
| Vision Transformer | 24 layers, hidden 1,024, patch 14, 2D RoPE, 2x2 merge, global amax pool | 409M |
| Spatio-Temporal Video | 4-layer temporal encoder, 3D RoPE over 16 frames + global amax pool | 50M |
| Text Tower | 14 layers, hidden 1,792, causal RoPE, 131K multilingual vocab, EOS pool | 783M |
| Shared Output Space | 1,024-D float32 L2-normalized vectors | 1.24B total |
Zero-Shot Retrieval & Classification Benchmarks (37 Datasets)
Evaluated across 37 benchmarks (6 image retrieval, 18 image classification, 5 video retrieval, 8 video classification) across 224, 336, 672, and 1,036 px resolutions, Clipstral ranks #1 among all open-weight encoders up to 4B parameters on both image and video retrieval.
| Model | Params | Image Retrieval R@1 | Image Cls Top-1 | Video Retrieval R@1 | Video Cls Top-1 |
|---|---|---|---|---|---|
| Clipstral (Mistral 1B) | 1.24B | 80.2% | 79.2% | 64.0% | 57.0% |
| Qwen3-VL-Embedding-2B | 2.13B | 77.5% | 69.5% | 61.9% | 57.8% |
| EmbeddingGemma 2 | 0.44B | 75.8% | 69.0% | 61.0% | 49.9% |
| MetaCLIP 2-bigG | 3.63B | 75.5% | 79.1% | 46.6% | 49.7% |
| C-RADIOv4-H | 1.37B | 75.6% | 77.3% | 47.5% | 47.6% |
| PE-Core-G | 2.42B | 71.0% | 81.6% | 60.9% | 55.1% |
| SigLIP2-g | 1.87B | 73.4% | 78.4% | 47.4% | 50.0% |
| *Qwen3-VL-Embedding-8B (ref)* | *8.14B* | *82.7%* | *72.9%* | *66.2%* | *61.7%* |
On long-caption retrieval (DOCCI, ActivityNet Captions, PVD, DiDeMo), Clipstral reaches 71.2 R@1 (vs 69.8 for Qwen3-VL-Embedding-2B). On XM3600 across 36 languages, it hits 59.7 R@1 overall. Crucially, its video retrieval R@1 varies by less than 1 point (62.9 to 63.8) between 224 px and 1,036 px, whereas PE-Core-L drops 17 points at 1,036 px and TIPSv2-g drops 16 points at 224 px.
Scope Boundary: Natural Imagery vs OCR/Code
Mistral notes that Clipstral targets natural images and short videos (~1 minute / 16 frames). Documents, OCR-heavy pages, and source code are out of scope — pair it with Granite Docling V2 for PDFs.
Running Clipstral Inference in Python with Keep-Ratio & 16-Frame Video
Clipstral requires trust_remote_code=True and runs in bfloat16 on NVIDIA GPUs (tested with Python 3.13 and Transformers 4.57–5.23) or float32 on CPU. Because keep_ratio preserves variable aspect ratios, processor(images) returns a list of tensors rather than a single stacked batch.
uv sync # auto-selects CUDA 13.0 on Linux or CPU on macOS/Windowsimport torch
from PIL import Image
from transformers import AutoImageProcessor, AutoModel, AutoTokenizer
repo_id = "mistralai/mistral-multimodal-embed-1B"
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.bfloat16 if device == "cuda" else torch.float32
model = AutoModel.from_pretrained(repo_id, trust_remote_code=True, dtype=dtype).eval().to(device)
tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
processor = AutoImageProcessor.from_pretrained(repo_id, trust_remote_code=True)
tok = tokenizer(["gothic cathedral", "robot arm welding"], padding=True, return_tensors="pt")
with torch.inference_mode():
text_vec = model.get_text_features(tok.input_ids.to(device), tok.attention_mask.to(device))
pix = [p.to(device=device, dtype=dtype) for p in processor([Image.open("frame.jpg").convert("RGB")])["pixel_values"]]
img_vec = model.get_image_features(pix)
scores = img_vec @ text_vec.T # L2-normalized cosine similarityTo embed a composite image-plus-text query (late fusion), embed each modality separately and average the normalized vectors before indexing.
Building a Sovereign Multimodal Media Index with Smoke Monkey
Exposing Clipstral's get_text_features, get_image_features, and get_video_features endpoints as an MCP tool server lets Smoke Monkey Harness agents deduplicate datasets, filter mismatched image-text pairs, and retrieve timestamped video clips inside air-gapped environments. Combining Clipstral for natural visual assets with Granite Docling V2 for structured documents covers every retrieval modality without proprietary embedding APIs.
Frequently Asked Questions
Q:How many parameters and embedding dimensions does Mistral Multimodal Embed 1B use?
Clipstral has 1.24B total parameters (409M vision tower, 50M spatio-temporal video encoder, 783M text tower) and outputs 1,024-dimensional L2-normalized float32 embeddings across all three modalities.
Q:Should I use Clipstral to embed scanned PDFs, tables, or code repositories?
No. Mistral explicitly scopes Clipstral to natural images, short videos, and multilingual text; OCR-heavy documents and code are out of scope. Use Granite Docling V2 2B for document parsing.
Q:How does Clipstral handle videos longer than 16 frames?
Its spatio-temporal encoder is trained on 16 evenly spaced frames per clip (up to ~1 minute). For longer footage, sample segment windows and aggregate per-segment 1,024-D vectors or index each segment independently.
Q:Why does the image processor return a list of tensors instead of a single tensor?
With the default `keep_ratio` transform at 448 px, each image keeps its native aspect ratio rounded to multiples of 28, producing distinct tensor shapes. Pass `squash` or `center_crop` if your pipeline requires uniform stacked tensors.
Related Alternatives & Comparisons
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.