We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Intfloat: E5-Base-v2
intfloat/e5-base-v2Try Intfloat: E5-Base-v2 now
Runs on your balance at the prices above. New accounts start with free usage.
Results will appear here.
Settings
Intfloat: E5-Base-v2 at a glance
- Input price is 75% lower than the median of 34 Embeddings models.
About Intfloat: E5-Base-v2
Intfloat: E5-Base-v2 is an embedding model from Intfloat, listed on api14 under the model id intfloat/e5-base-v2. It sits in the embeddings category, which means it is not a chat or text generation model. Instead of producing replies, it turns text into vectors that you can store, compare and search over. The provider release date recorded for it is 2025-11-18.
The model takes text as its only input and returns embeddings as its only output. It encodes English sentences and paragraphs into a 768-dimensional dense vector space, and the provider describes the result as efficient, high-quality semantic embeddings. The context window is 512 tokens, so each request should contain a single passage or query that fits within that budget. The maximum output is 460, which in practice bounds the size of the text unit you send in one call. There are no additional supported parameters beyond the core request fields, so you cannot tune behaviour with sampling style options the way you would with a generative model.
Those characteristics point to a fairly specific set of uses. Semantic search is the obvious one: embed your documents once, embed the user query at request time, then rank by vector similarity. The same mechanism covers similarity scoring between two pieces of text, deduplication of near-identical records, clustering of sentences or paragraphs, and retrieval steps in a RAG pipeline where you need a compact English embedding to fetch candidate passages before handing them to a generation model. Because the vectors are dense and 768-dimensional, they work with standard vector stores and cosine similarity tooling without special handling.
You call it through api14's OpenAI-compatible API using the model id intfloat/e5-base-v2. Because the interface follows the OpenAI embeddings shape, you send your text in the input field and read the vector back from the response, so existing OpenAI client libraries and embedding pipelines generally need only a base URL and model id change. The model supports no extra parameters, so keep requests to the essentials and avoid passing tuning options that have no effect here.
The main constraint to plan around is the 512-token context. Long documents will need chunking before embedding, and anything beyond English is outside what the provider description covers. If your task is generating text rather than representing it, a chat or completion model is the right choice; E5-Base-v2 is best treated as the retrieval and similarity component of a larger system.
How to call the Intfloat: E5-Base-v2 API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "intfloat/e5-base-v2".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.embeddings.create({
"model": "intfloat/e5-base-v2",
"input": [
"The quick brown fox",
"Lorem ipsum"
]
});
console.log(result.data.map((d) => d.embedding.length));
Specifications
- Context length
- 512
- Max output
- 460
- Input
- text
- Output
- embeddings
Requests on api14 · last 7 days
Intfloat: E5-Base-v2: frequently asked questions
- How much does the Intfloat: E5-Base-v2 API cost?
- Intfloat: E5-Base-v2 costs Input $0.02 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Intfloat: E5-Base-v2?
- Intfloat: E5-Base-v2 reads up to 512 tokens per request: prompt, history and documents together. It writes up to 460 output tokens per response.
- What can Intfloat: E5-Base-v2 do?
- Intfloat: E5-Base-v2 accepts text and returns embeddings.
- How do I call Intfloat: E5-Base-v2 from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "intfloat/e5-base-v2". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Intfloat: E5-Base-v2?
- Comparable Embeddings models at a similar price: Thenlper: GTE-Base, Sentence Transformers: paraphrase-MiniLM-L6-v2, Sentence Transformers: all-MiniLM-L12-v2. Each runs through the same API key, so switching is one string.
Intfloat: E5-Base-v2 community
New topicThis community has no topics yet. Open the first one about Intfloat: E5-Base-v2.