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

Runs as a custom pluginEmbeddingVerified 2026-11-08

# OpenAI CLIP ViT-B/16

openai/clip-vit-base-patch16

OpenAI CLIP ViT-B/16 is a image and text embedding model (MIT). Can run on Mixpeek as an imported organization model.

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-patch16.json)

No demo for OpenAI CLIP ViT-B/16 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 Not served. Imports as an organization model from the Hub at revision d815394a, the safetensors conversion by SFconvertbot (the main branch still holds pickle only), and runs as transformers CLIPModel with trust\_remote\_code false.

Serve apps

None

Runtime

transformers CLIPModel + CLIPProcessor

Weights

safetensors, no remote code

Parameters

150 M

Size on disk

599 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

Not recorded

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/16 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/16?

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

Can OpenAI CLIP ViT-B/16 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/16 run on Mixpeek?

Not served. Imports as an organization model from the Hub at revision d815394a, the safetensors conversion by SFconvertbot (the main branch still holds pickle only), and runs as transformers CLIPModel with trust\_remote\_code false.

What does OpenAI CLIP ViT-B/16 output?

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

## Identity

Catalog id

`clip-vit-base-patch16`

Family

clip

Hub id

`openai/clip-vit-base-patch16`

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-08

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-patch16@d815394a77ca2fa40f758cdda91e237c710bacfe`

Format

File

Loads today

safetensors

model.safetensors

Yes

PyTorch .bin

pytorch\_model.bin

No

JAX

flax\_model.msgpack

No

## Related models

*   [OpenAI CLIP ViT-B/32](/models/clip-vit-base-patch32)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-patch16](https://huggingface.co/openai/clip-vit-base-patch16)
*   [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)