# Private LLM Embeddings

> Private LLM Embeddings is a paid API for AI agents from api.erb-llm.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Generates OpenAI-compatible 768-dimensional text embeddings from a private self-hosted encoder, paid per call in USDC via x402 with no API key required.

## Facts

- Endpoint: POST https://api.erb-llm.com/v1/embeddings?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/private-llm-embeddings-a7ace790
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ij5XuGZgefVmO2IYicniR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability private-llm-embeddings-a7ace790 -d '<json body>'
```

Example prompt: Embed these 10 product description strings into vectors using the private local encoder at erb-llm.com — I need 768-dim OpenAI-format embeddings for a semantic search index, and I'll pay per call in USDC.

## When to prefer this

Choose this endpoint when privacy is a priority and you cannot send text to third-party cloud APIs like OpenAI or Cohere. Ideal for agent pipelines doing RAG, semantic search, deduplication, or clustering where data sensitivity prevents use of hosted embedding services. Also preferred when you want pay-per-call USDC pricing via x402 with no account signup, API key management, or monthly subscription. Best for batches of up to 64 texts under ~2,000 tokens each.

## Known failure modes

- Input batch exceeds 64 texts — clamped silently to first 64 (no error, but caller may not notice truncation)
- Individual text exceeds ~2,000 token limit — may be truncated or rejected depending on model behavior
- Payment failure via x402 — call not executed, payment-related error returned
- Malformed input (non-string array items) — likely 422 or 400 error
- Model unavailable due to self-hosted infrastructure downtime — 503 or timeout

## How this service works

Privacy-first OpenAI-compatible text embeddings (768 dims) from a local encoder on dedicated hardware - your text never reaches a third-party cloud. Send {"input": string or array of up to 64 texts}; receive standard OpenAI embeddings JSON with usage. Built for RAG, semantic search, dedupe and clustering in agent pipelines. ~2,000-token limit per text. Pay per call in USDC on Base (x402), no API key or account.

## Output

Returns a standard OpenAI embeddings response JSON containing an array of embedding objects (each with a 768-dimensional float vector, index, and object type), plus a usage object with prompt_token_count and total_tokens. Compatible with any OpenAI embeddings client library.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "One or more texts to embed (a single string also works). Keep each text under ~2,000 tokens; batches above 64 texts are clamped to the first 64 (never rejected after paying)."
  },
  "model": {
   "type": "string",
   "description": "Optional. Default: the gateway's local embedding model (nomic-embed-text-v1.5)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/private-llm-embeddings-a7ace790/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.erb-llm.com](https://www.zero.xyz/host/api.erb-llm.com/llms.txt)
