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.

Perplexity: Embed V1 4B

perplexity/pplx-embed-v1-4b
EmbeddingsInput: text32KAdded Mar 16, 2026

Try Perplexity: Embed V1 4B now

Runs on your balance at the prices above. New accounts start with free usage.

Sign in to use thisCreate free account

Results will appear here.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign inSession cost $0.00

Perplexity: Embed V1 4B at a glance

  • Input price is 50% higher than the median of 34 Embeddings models.
  • Context window of 32,000 tokens, enough for long documents and multi-turn conversations.

About Perplexity: Embed V1 4B

Perplexity: Embed V1 4B is a text embedding model from Perplexity, released by the provider on 16 March 2026. It belongs to the embeddings category rather than the chat category, which means it does not generate conversational answers. Instead it turns text into vector representations that you store and search against. The 4B in the name refers to the parameter count of this variant, and Perplexity positions the pplx-embed-v1 family as state of the art for real world, web scale retrieval, with the 4B model maximizing retrieval quality within that family.

The model accepts text as its only input modality and returns embeddings as its only output modality. It supports a context length of 32000 tokens, so a single request can cover a long document rather than a short snippet. The reported maximum output is 28800. Because the output is a vector rather than prose, there is no text generation step and no sampling behaviour to tune. You send text in, you get numeric representations back, and those representations are what carry the semantic meaning of the input.

The practical uses follow directly from dense retrieval. You can embed a corpus of documents or web pages and store the vectors in a vector database, then embed a user query and search for the nearest neighbours. That pattern covers semantic search, retrieval augmented generation pipelines where a language model needs relevant passages before it answers, deduplication and near duplicate detection, clustering and topic grouping, classification by comparing vectors against labelled examples, and recommendation or similarity features. The 32000 token context is useful when the units you want to index are long: full articles, documentation pages, or long support threads rather than single sentences.

Calling the model through api14 works the same way as any other model on the gateway, because api14 exposes an OpenAI-compatible API. You set the model id to perplexity/pplx-embed-v1-4b in your request and send your text as input. Because the endpoint is OpenAI-compatible, existing OpenAI client libraries and code paths generally work with only the base URL, key and model id changed. The model reports no supported parameters, so there are no extra knobs such as temperature or top_p to configure; the request is essentially text in and embeddings out.

One thing to plan for is the absence of supported parameters. If your workflow depends on tuning generation behaviour, this is not the right model, since it produces embeddings and nothing else. It is also a single modality model, so it cannot handle images or audio. If your task is generation, summarisation, or dialogue rather than retrieval, a chat or completion model is the appropriate choice, and this embedding model fits best as the retrieval layer alongside one.

How to call the Perplexity: Embed V1 4B API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "perplexity/pplx-embed-v1-4b".
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": "perplexity/pplx-embed-v1-4b",
  "input": [
    "The quick brown fox",
    "Lorem ipsum"
  ]
});
console.log(result.data.map((d) => d.embedding.length));

Specifications

Context length
32,000
Max output
28,800
Input
text
Output
embeddings

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

Perplexity: Embed V1 4B: frequently asked questions

How much does the Perplexity: Embed V1 4B API cost?
Perplexity: Embed V1 4B costs Input $0.11 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of Perplexity: Embed V1 4B?
Perplexity: Embed V1 4B reads up to 32,000 tokens per request: prompt, history and documents together. It writes up to 28,800 output tokens per response.
What can Perplexity: Embed V1 4B do?
Perplexity: Embed V1 4B accepts text and returns embeddings.
How do I call Perplexity: Embed V1 4B from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "perplexity/pplx-embed-v1-4b". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Perplexity: Embed V1 4B?
Comparable Embeddings models at a similar price: VoyageAI by MongoDB: voyage-4-lite, OpenAI: Text Embedding 3 Small, Qwen: Qwen3 Embedding 4B. Each runs through the same API key, so switching is one string.

Perplexity: Embed V1 4B community

New topic

This community has no topics yet. Open the first one about Perplexity: Embed V1 4B.