POST https://api.pre.dev/v1/embeddings takes the OpenAI-compatible embeddings request and returns the embeddings response. GET /v1/embeddings/models lists embedding models with credit prices; it is free and not rate-limited.
data[].embedding, model, and usage. Credits are computed from usage.cost and reported in x-predev-credits-charged.
Rerank
POST /v1/rerank ranks documents against a query. Send a model, a query, and documents; the response returns the documents ordered by relevance with a score for each.
RERANK_MODEL to a rerank-capable id from the catalog. Rerank calls are billed like any other inference call.
