# Embedding Model

> A model that reads text and gives back a list of numbers.

**Field:** Artificial Intelligence  
**Category:** Retrieval & Search  
**Also known as:** Text Embedding Model, Encoder Model (Embeddings)

## Think of it like

Think of it like a machine. It reads a note and puts a pin on the map for it.

## Definition

An embedding model is a model that turns text, or other data, into an embedding. It reads the input and gives back one list of numbers of a fixed length. It does not write text, so it is much smaller and cheaper to run than a chat model. Most are built on the encoder part of a transformer. The same model must embed both the stored texts and the questions, or the numbers will not match.

## Example

Jack's app runs 20,000 product pages through an embedding model once. Each page comes back as a list of 768 numbers, ready to search.

## Why it matters

The choice of embedding model sets how well search finds the right text, and in which languages.

## Common mistake

Moving to a new embedding model but keeping the old vectors. Each stored text has to be run through the new model again.

## Three principles

- **Text in, numbers out.** A fixed-length list.
- **Small and cheap.** It does not write.
- **Same model both sides.** Stored text and questions.

## Related terms

- [Embedding (AI)](https://learn.benibix.com/term/ai/embedding)
- [Encoder (Transformer)](https://learn.benibix.com/term/ai/encoder)
- [Vector Database](https://learn.benibix.com/term/ai/vector-database)
- [Embedding Dimensions](https://learn.benibix.com/term/ai/embedding-dimensions)

![A sentence goes into an embedding model. Out comes one long list of numbers, often hundreds or a few thousand long.](https://learn.benibix.com/diagrams/rt-embedding-model.svg)

---

Source: https://learn.benibix.com/term/ai/embedding-model
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
