---
title: "OpenAI-Compatible Embeddings ($0.002/call)"
method: POST
path: "/v1/embeddings"
tags: ["embeddings", "openai-compatible", "vectors", "rag", "semantic-search", "llm", "gateway", "no-account", "ai"]
---

# OpenAI-Compatible Embeddings ($0.002/call)

`POST /v1/embeddings`

## Request

- Base URL: `https://x402.shizu.me`
- URL: `https://x402.shizu.me/v1/embeddings`
- Auth: none declared

Drop-in OpenAI embeddings endpoint — same base_url as /v1/chat/completions, pay per call in USDC, no account or key. POST {input: string|array (max 16 items, 8KB total), model?, dimensions?}. Returns the standard {data:[{embedding:[...]}], usage} shape. Flat price per call. The bulk-loop primitive for RAG ingestion, semantic search, dedup, clustering — point your OpenAI SDK here and embed.

Paid endpoint: $0.002 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.

## Response `200`

Paid result (JSON)

## Other responses

- `402`: Payment required — x402 requirements in the PAYMENT-REQUIRED response header

---

[API](https://skmtc.dev/shizu/apis/scrape402.md) · [All operations](https://skmtc.dev/shizu/apis/scrape402/llms.txt) · [OpenAPI document](https://skmtc.dev/shizu/apis/scrape402/revisions/0852d74798b8?raw)
