Perplexity: pplx-embed-v1-4b
pplx-embed-v1-4b is one of Perplexity's state-of-the-art text embedding models built for real-world, web-scale retrieval. pplx-embed-v1 is optimized for standard dense text retrieval with the 4B parameter model maximizing retrieval quality.
Pricing
Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.
Statistics
Live performance and usage of this model, aggregated across all users.
API
Call this model from any OpenAI-compatible client using your API token.
https://apiex.cloud/api/v1/embeddings
<?php
$ch = curl_init( "https://apiex.cloud/api/v1/embeddings" );
curl_setopt_array( $ch, array(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer YOUR_API_KEY",
"Content-Type: application/json",
),
CURLOPT_POSTFIELDS => json_encode( array(
"model" => "perplexity/pplx-embed-v1-4b",
"input" => "Your text here",
) ),
) );
$response = json_decode( curl_exec( $ch ), true );
print_r( $response );
Authentication
Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — you can set its rate limit and IP restrictions.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
model |
string, required | This model's ID, exactly as shown above. |
input |
string or array, required | The text (or list of texts) to embed. |
Frequently asked questions
What is pplx-embed-v1-4b?
pplx-embed-v1-4b is one of Perplexity's state-of-the-art text embedding models built for real-world, web-scale retrieval. pplx-embed-v1 is optimized for standard dense text retrieval with the 4B parameter model maximizing retrieval quality.
How much does pplx-embed-v1-4b cost?
Input tokens are priced at $0,036 per 1,000,000 tokens and output tokens at $0,00 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.
What is the context length of pplx-embed-v1-4b?
pplx-embed-v1-4b supports a context window of up to 32,000 tokens.
Does pplx-embed-v1-4b support image input?
pplx-embed-v1-4b currently accepts text input only.
Which provider is pplx-embed-v1-4b from?
pplx-embed-v1-4b is developed by Perplexity and made available on this gateway through our routing infrastructure.
When was pplx-embed-v1-4b added to this gateway?
pplx-embed-v1-4b has been available on this gateway since October 28, 2026.
Is pplx-embed-v1-4b currently available?
Yes, pplx-embed-v1-4b is active and can be used right now through this gateway.
Explore more models
Keep exploring
Ready to build with one API?
Create an account, make a key and send your first request in a few minutes.