AI Rate Card

Embed v1 4b · vercel

pplx-embed-v1 is a state-of-the-art text embedding model optimized for real-world, web-scale retrieval tasks.

Base modelAll models on this baseAll models of the providerto the provider

Input, $/1M $0.03

Output, $/1M —

Context 32 000

Accepts text

Last checked 04.11.2026 12:00:14 UTC

Source provider's page

Price alerts

Sign in to follow the price

API

OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.

API base URL
https://ai-gateway.vercel.sh/v1
Endpoint
https://ai-gateway.vercel.sh/v1/embeddings
Model id
perplexity/pplx-embed-v1-4b
curl
curl https://ai-gateway.vercel.sh/v1/embeddings \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "perplexity/pplx-embed-v1-4b", "input": ["first text", "second text"]}'
Python
import requests

r = requests.post(
    "https://ai-gateway.vercel.sh/v1/embeddings",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
      "model": "perplexity/pplx-embed-v1-4b",
      "input": [
        "first text",
        "second text"
      ]
    },
)
print(r.json())
JavaScript
const r = await fetch("https://ai-gateway.vercel.sh/v1/embeddings", {
  method: "POST",
  headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
  body: JSON.stringify({
    "model": "perplexity/pplx-embed-v1-4b",
    "input": [
      "first text",
      "second text"
    ]
  }),
});
console.log(await r.json());
Request (JSON)
{
  "model": "perplexity/pplx-embed-v1-4b",
  "input": [
    "first text",
    "second text"
  ]
}
Response (JSON)
{
  "object": "list",
  "model": "perplexity/pplx-embed-v1-4b",
  "data": [
    {
      "object": "embedding",
      "index": 0,
      "embedding": [
        0.0123,
        -0.0456,
        "..."
      ]
    }
  ],
  "usage": {
    "prompt_tokens": 6,
    "total_tokens": 6
  }
}

The address is taken from the provider's model list; check it against the provider's documentation.

Provider's API documentation

Source: AI Rate Card, https://airatecard.com/en/c/offer%3Avercel%7Cperplexity/pplx-embed-v1-4b, prices checked 2026-11-04; seller's page: https://vercel.com/ai-gateway/models/pplx-embed-v1-4b

Technical details

ID: offer:vercel|perplexity/pplx-embed-v1-4b