Back to models
BGE-Large-EN-V1.5
BAAI's 335M English dense text embedding model producing 1024-dimensional vectors with calibrated similarity distributions, widely deployed for low-latency semantic search, clustering, and English RAG pipelines.
What you can do
- English enterprise RAG vector recall
- Large-scale English document clustering
- Semantic deduplication and FAQ matching
Input & output
- Input
- English text queries and passages (up to 512 tokens)
- Output
- 1024-dimensional normalized dense text embedding vectors
Example input
Represent this sentence for searching relevant passages: How does speculative decoding reduce token generation latency in large language models?
Things to know
MIT licensed and requires <2GB VRAM, but restricted to English and a 512-token context window; use BGE-M3 for multilingual or long-document retrieval.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/embeddings- Model repo ID
BAAI/bge-large-en-v1.5
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
result = client.embeddings.create(
model="BAAI/bge-large-en-v1.5",
input=["Represent this sentence for searching relevant passages: How does speculative decoding reduce token generation latency in large language models?"],
)
print(len(result.data[0].embedding))Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide