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-Large-v2
intfloat/e5-large-v2Try Intfloat: E5-Large-v2 now
Runs on your balance at the prices above. New accounts start with free usage.
Results will appear here.
Settings
Intfloat: E5-Large-v2 at a glance
- Input price is 50% lower than the median of 34 Embeddings models.
About Intfloat: E5-Large-v2
Intfloat: E5-Large-v2 is an embeddings model from Intfloat. It belongs to the embeddings category, which means its job is to turn text into vectors rather than to generate chat responses. The provider describes it as mapping English sentences, paragraphs, and documents into a 1024-dimensional dense vector space, with the aim of high-accuracy semantic embeddings. If your application needs a representation of text that captures meaning rather than a written answer, this is the kind of model you would reach for.
The model accepts text as its only input modality and produces embeddings as its only output modality. Its context length is 512 tokens, so each request is limited to a fairly short span of text, and the maximum output is 460. There is no image, audio, or other non-text input, and there is no generated prose on the output side. Everything the model returns is a vector, which you then store, compare, or feed into another stage of your pipeline.
Those characteristics point to a specific set of uses. Retrieval is the clearest one: embed your documents once, embed the query at request time, and compare vectors to find the closest passages. Semantic search works the same way, matching on meaning rather than exact keywords. The provider also lists reranking and similarity scoring, so you can use the vectors to reorder candidate results or to measure how close two pieces of text are. Because the vectors are 1024-dimensional and dense, they are well suited to storage in a vector index and to cosine or dot-product comparison.
You call the model through api14's OpenAI-compatible API using the model id "intfloat/e5-large-v2". Because the endpoint follows the OpenAI format, you can point an existing OpenAI client at api14 and send your text in the usual way, then read the embedding out of the response. The model supports no additional request parameters, so there is nothing beyond the standard request fields to configure. Keep each input within the 512-token context length, and expect the output to be the embedding itself.
The main constraint to plan around is that 512-token window. Long documents will need to be split into chunks before embedding, and you will have to decide how to combine or store those chunk vectors. The model is also English-focused per the provider description, so text in other languages may not embed as reliably. If your task is text generation, conversation, or anything that requires a written response, an embeddings model is the wrong tool and a generative model would fit better.
How to call the Intfloat: E5-Large-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-large-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-large-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-Large-v2: frequently asked questions
- How much does the Intfloat: E5-Large-v2 API cost?
- Intfloat: E5-Large-v2 costs Input $0.04 / 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-Large-v2?
- Intfloat: E5-Large-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-Large-v2 do?
- Intfloat: E5-Large-v2 accepts text and returns embeddings.
- How do I call Intfloat: E5-Large-v2 from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "intfloat/e5-large-v2". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Intfloat: E5-Large-v2?
- Comparable Embeddings models at a similar price: Thenlper: GTE-Large, Intfloat: Multilingual-E5-Large, BAAI: bge-large-en-v1.5. Each runs through the same API key, so switching is one string.
Intfloat: E5-Large-v2 community
New topicThis community has no topics yet. Open the first one about Intfloat: E5-Large-v2.