RUNLOCALAIv38
->Will it run?Best GPUCompareTroubleshootStartLearnPulseModelsHardwareToolsBench
Run check
RUNLOCALAI

Independently operated catalog for local-AI hardware and software. Hand-written verdicts. Source-cited claims. Reproducible commands when we have them.

OP·Fredoline Eruo
DIR
  • Models
  • Hardware
  • Tools
  • Benchmarks
TOOLS
  • Will it run?
  • Compare hardware
  • Cost vs cloud
  • Choose my GPU
  • Prompting kits
  • Quick answers
REF
  • All buyer guides
  • Learn local AI
  • Methodology
  • Glossary
  • Errors KB
  • Trust
EDITOR
  • About
  • Author
  • How we make money
  • Editorial policy
  • Contact
LEGAL
  • Privacy
  • Terms
  • Sitemap
MAIL · MONTHLY DIGEST
Get monthly local AI changes
Monthly recap. No spam.
DISCLOSURE

Some links on this site are affiliate links (Amazon Associates and other first-class retailers). When you buy through them, we earn a small commission at no extra cost to you. Affiliate links do not influence our verdicts — there are cards we rate highly that we don't have affiliate relationships with, and cards that sell well that we refuse to recommend. Read more →

© 2026 runlocalai.coIndependently operated
RUNLOCALAI · v38
Glossary / Large language models / Embedding (Vector Embedding)
Large language models

Embedding (Vector Embedding)

An embedding is a fixed-length vector representation of text, image, or other input — typically 384-3072 dimensions — where semantic similarity corresponds to vector distance. "Cat" and "kitten" land closer in embedding space than "cat" and "airplane".

Embeddings are the backbone of semantic search and RAG. To find documents relevant to a query, you embed both the query and your document chunks, then retrieve the chunks with the smallest cosine distance. This works because the embedding model has been trained to put similar meanings close together.

For local-only RAG: BGE-large (1024-dim), E5-large (1024-dim), or nomic-embed-text-v1.5 (768-dim) all work well, and all run on a 4GB GPU. You don't need a frontier embedding model — the gap between BGE and OpenAI's text-embedding-3 is much smaller than the gap between an 8B and a frontier LLM.

Related terms

Retrieval-Augmented Generation (RAG)Vector DatabaseSemantic Search
Buyer guides
  • Best GPU for local AI →
  • Best laptop for local AI →
  • Best Mac for local AI →
When it doesn't work
  • CUDA out of memory →
  • Ollama running slowly →
  • ROCm not detected →