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.
Thenlper: GTE-Large
thenlper/gte-largeTry Thenlper: GTE-Large now
Runs on your balance at the prices above. New accounts start with free usage.
Results will appear here.
Settings
Thenlper: GTE-Large at a glance
- Input price is 50% lower than the median of 34 Embeddings models.
About Thenlper: GTE-Large
Thenlper: GTE-Large is an embedding model from Thenlper, listed on api14 under the model id thenlper/gte-large. It sits in the embeddings category, which means its job is not to generate chat replies but to turn text into vectors that you can store, compare and search over. If your application depends on semantic similarity rather than open-ended generation, this is the kind of model you would evaluate.
The model accepts text input and produces embeddings as output. According to the provider description, it converts English sentences, paragraphs and moderate-length documents into a 1024-dimensional dense vector space, with the stated goal of high-quality semantic embeddings optimized for information retrieval, semantic textual similarity and reranking. The context window is 512 tokens, and the maximum output is 460. Because the input modality is text only, there is no image or audio handling here, and the output is a vector rather than prose.
Those capabilities point to a fairly specific set of use cases. Information retrieval is the obvious one: embed your documents once, embed the user query at request time, and rank by vector similarity. Semantic textual similarity follows directly, useful for deduplication, clustering or matching paraphrases that share little vocabulary. Reranking is also named in the provider description, so you can use the model to rescore a shortlist of candidates produced by a cheaper first-stage retriever. The 512-token context suits sentences, paragraphs and moderate-length documents, so chunking longer material before embedding is the expected pattern.
You call it through api14's OpenAI-compatible API using the model id thenlper/gte-large. Because the API follows the OpenAI format, you point your existing client at api14's base URL and pass that id in the request. The supported parameters list for this model is empty, so there are no additional request parameters to set beyond what the endpoint requires; you send your text and read the embedding from the response. There is nothing to tune on the request side, which keeps integration simple if you already have an embeddings pipeline.
The main constraint to plan around is the 512-token context window. Long documents need to be split into chunks, and any retrieval design has to account for that. The model is described as working with English text, so other languages are outside what the provider description covers. And since it only produces embeddings, it cannot answer questions or write text on its own; if you need generation, you would pair this model with a separate language model rather than use it alone.
How to call the Thenlper: GTE-Large 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 "thenlper/gte-large".
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": "thenlper/gte-large",
"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
Thenlper: GTE-Large: frequently asked questions
- How much does the Thenlper: GTE-Large API cost?
- Thenlper: GTE-Large 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 Thenlper: GTE-Large?
- Thenlper: GTE-Large reads up to 512 tokens per request: prompt, history and documents together. It writes up to 460 output tokens per response.
- What can Thenlper: GTE-Large do?
- Thenlper: GTE-Large accepts text and returns embeddings.
- How do I call Thenlper: GTE-Large from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "thenlper/gte-large". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Thenlper: GTE-Large?
- Comparable Embeddings models at a similar price: Intfloat: E5-Large-v2, Intfloat: Multilingual-E5-Large, BAAI: bge-large-en-v1.5. Each runs through the same API key, so switching is one string.
Thenlper: GTE-Large community
New topicThis community has no topics yet. Open the first one about Thenlper: GTE-Large.