1.  [](/)
2.  [Models](/models)
3.  OpenAI CLIP ViT-B/32

Runs as a custom pluginEmbeddingVerified 2026-11-05

# OpenAI CLIP ViT-B/32

openai/clip-vit-base-patch32

OpenAI CLIP ViT-B/32 is a image and text embedding model (MIT). Not runnable on Mixpeek today.

Mixpeek does not run it today. It can run as a custom plugin: the weights load without remote code.

[Record as JSON](/models/clip-vit-base-patch32.json)

No demo for OpenAI CLIP ViT-B/32 yet

A video, image, slideshow or playground goes here once we record one on our own data.

## What it is good and bad at

Best at

General zero-shot labels and text-to-image search; the reference baseline most papers report against.

Worst at

English only; weaker than SigLIP and LAION OpenCLIP at equal size on retrieval; reads text in images poorly.

Task

Embedding

Input

Image, Text

Output

Vector

Use cases

Visual search, Product search

## Templates that use it

No template uses this model yet. [Browse templates](/templates).

## Input and output

### Input

Image

Resolution

224x224

Color

RGB

Normalize

CLIP mean (0.4815, 0.4578, 0.4082), std (0.2686, 0.2613, 0.2758)

Text

Max tokens

77

Prompts

'a photo of a {label}.'; BPE tokenizer, 77 tokens max

### Output

Vector

Dims

512

Distance

cosine

Type

dense

Note

image and text vectors share one space; L2-normalize before cosine

## How Mixpeek wires it

Extractors

None today

Feature URIs

None today

Vector indexes

None

Retriever stages

feature\_search, mmr

Combines with

*   video frames (VideoFrameExpander) -> image vectors -> feature\_search with a text query
*   detector boxes (RT-DETR, D-FINE) -> crops -> image vectors per object
*   image vectors + E5 text vectors on captions -> feature\_search fusion (dbsf)

## How it runs

Status

Runs as a custom plugin Runs as a registry-backed extractor: ref mixpeek://system/clip\_vit\_b\_32 (or the hf:// ref below) imports the safetensors conversion (Hugging Face SFconvertbot, refs/pr/66; main is pickle only) and serves it under image\_extractor@v1 with the transformers framework (CLIPModel get\_image\_features / get\_text\_features), min 0 replicas. Verified on the local standalone image 2026-11-05.

Serve apps

None

Runtime

transformers CLIPModel + CLIPProcessor

Weights

safetensors, no remote code

Parameters

151 M

Size on disk

605 MB

Preprocessing

Resize shortest side and center-crop to 224x224, normalize with CLIP mean/std; text to 77 tokens.

Postprocessing

L2-normalize image and text embeddings; logits = 100 \* cosine for zero-shot.

Serving

both, batch 32

Hardware

Runs on CPU (slower without a GPU)

### Scale to zero

Minimum replicas

0

Maximum replicas

1

Idle timeout

600 s

Memory

2 GB

CPUs

1

GPUs

0

Cold start, node warm

13 s

Cold start, new node

Not recorded

## Measured cost

Unmeasured

No committed measurement; plan row 3 measures it in the standalone image.

## Our evaluations

Unmeasured

We have not evaluated this model on our own data yet. Publisher results are in the sources below.

## Questions

What is OpenAI CLIP ViT-B/32 best at?

General zero-shot labels and text-to-image search; the reference baseline most papers report against.

What are the limits of OpenAI CLIP ViT-B/32?

English only; weaker than SigLIP and LAION OpenCLIP at equal size on retrieval; reads text in images poorly.

Can OpenAI CLIP ViT-B/32 be used commercially?

Yes. MIT license on code and weights; the OpenAI model card says deployed use cases are out of scope and calls the release research-oriented, so treat production use as a judgment call.

How does OpenAI CLIP ViT-B/32 run on Mixpeek?

Weights on the hub are pickle only (pytorch\_model.bin, TF, Flax); a plugin needs a one-time conversion to safetensors hosted in our bucket. Otherwise runs like the L/14 record (transformers CLIPModel).

What does OpenAI CLIP ViT-B/32 output?

A 512-dimensional dense vector, compared by cosine similarity.

## Identity

Catalog id

`clip-vit-base-patch32`

Family

clip

Hub id

`openai/clip-vit-base-patch32`

License

MIT

Commercial use

AllowedMIT license on code and weights; the OpenAI model card says deployed use cases are out of scope and calls the release research-oriented, so treat production use as a judgment call.

Released

2021-01

Last verified

Verified 2026-11-05

Paper

[arxiv.org/abs/2103.00020](https://arxiv.org/abs/2103.00020)

Code

[github.com/openai/CLIP](https://github.com/openai/CLIP)

## References and formats

*   `hf://openai/clip-vit-base-patch32@c237dc49a33fc61debc9276459120b7eac67e7ef`
*   `hf://openai/clip-vit-base-patch32@3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268`
*   `mixpeek://system/clip_vit_b_32@1.0.0`

Format

File

Loads today

safetensors

model.safetensors

Yes

PyTorch .bin

pytorch\_model.bin

No

JAX

flax\_model.msgpack

No

TensorFlow

tf\_model.h5

No

## Related models

*   [OpenAI CLIP ViT-B/16](/models/clip-vit-base-patch16)Embedding
*   [OpenAI CLIP ViT-L/14](/models/clip-vit-large-patch14)Embedding
*   [OpenAI CLIP ViT-L/14 336](/models/clip-vit-large-patch14-336)Embedding
*   [Multilingual E5 Large Instruct](/models/multilingual-e5-large-instruct)Embedding
*   [Gemini Embedding 2](/models/gemini-embedding-2)Embedding
*   [all-MiniLM-L6-v2](/models/all-minilm-l6-v2)Embedding

## Sources

*   [huggingface.co/openai/clip-vit-base-patch32](https://huggingface.co/openai/clip-vit-base-patch32)
*   [arxiv.org/abs/2103.00020](https://arxiv.org/abs/2103.00020)
*   [github.com/openai/CLIP/blob/main/LICENSE](https://github.com/openai/CLIP/blob/main/LICENSE)
*   [github.com/openai/CLIP/blob/main/model-card.md](https://github.com/openai/CLIP/blob/main/model-card.md)