Skip to main content

Embeddings model

Pplx Embed V1 4B

perplexity/pplx-embed-v1-4b

perplexity/pplx-embed-v1-4b is a text embedding model from Perplexity you can call on the OceanToken API, with a 32K-token context window.

Price card, similar models and questions answered: Pplx Embed V1 4B on oceantoken.ai.

At a glance

Model IDperplexity/pplx-embed-v1-4b
TypeEmbeddings
PublisherPerplexity
Context window32,000 tokens
PriceOn oceantoken.ai
Endpoint/v1/embeddings
API shapeOpenAI-compatible
In the catalog since2026-03-16

API

POST /v1/embeddings. Base URL https://api.oceantoken.ai, your OceanToken key as the bearer token. The OpenAI SDKs work unchanged; see the Quickstart.

Download this spec (JSON) · llms.txt for AI assistants

Basic

curl https://api.oceantoken.ai/v1/embeddings \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "perplexity/pplx-embed-v1-4b",
"input": "The quick brown fox"
}'

Request parameters

Only what this model takes. Anything else in the request is left out before it reaches the model.

ParameterTypeDescription
model
required
stringThis model's ID.
input
required
string or arrayA string, or a list of strings to embed in one request.
encoding_formatstring
float, base64
default "float"
How the vectors come back.

Response

FieldTypeDescription
data[].embeddingarrayThe vector.
usage.prompt_tokensintegerInput tokens.
Example response
{
"object": "list",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
0.0123,
-0.0456
]
}
],
"usage": {
"prompt_tokens": 5,
"total_tokens": 5
}
}

More examples and how errors and billing work: Embeddings and rerank.

Compared with similar models

Embeddings models on OceanToken in the same price range as perplexity/pplx-embed-v1-4b. Compare their prices on oceantoken.ai.

ModelPublisherContext
Pplx Embed V1 4B
perplexity/pplx-embed-v1-4b
Perplexity32,000
Titan Embed Text V2
amazon/titan-embed-text-v2
Amazon8K
Text Embedding 3 Small
openai/text-embedding-3-small
OpenAI8K
Qwen3 Embedding 4B
qwen/qwen3-embedding-4b
Qwen33K

More from Perplexity

All Perplexity models on OceanToken

Use it

Create an account Price on oceantoken.ai

The facts on this page were read from the live OceanToken catalog on 2026-12-02 (UTC), when the documentation was built. Prices are published on oceantoken.ai.