402utils Text Embedding via Cloudflare Workers AI is a paid API for AI agents from 402utils.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-13, last successful call 2026-07-17).
Converts one or a batch of text strings into float vector embeddings using Cloudflare Workers AI BAAI models, for use in semantic search, RAG pipelines, and similarity comparisons.
Text → vector embeddings via Cloudflare Workers AI. Send {text} or {texts[]} (≤20, each ≤4000 chars); returns one float vector per input. Default model @cf/baai/bge-m3 (1024-dim, multilingual). The model is named in the response — embeddings only compare within the same model. Completes the RAG chain: readability → chunk → embed, no OpenAI account. Cosine-compare the vectors yourself. Unavailable model/binding → 503, not billed.
Returns one float vector per input text (1024 dimensions for the default bge-m3 model, fewer for smaller models), along with the model name used. Multiple texts in a batch return a corresponding array of vectors. If the model or Cloudflare binding is unavailable, returns 503 and the call is not billed.
POSThttps://402utils.com/v1/embedUse this endpoint when you need text embeddings without an OpenAI account, want multilingual support via bge-m3, are building a RAG pipeline on Cloudflare infrastructure, or need to batch-embed up to 20 chunks in a single paid call at $0.004 USDC. Prefer over OpenAI embeddings when you want a self-contained x402-payment flow or specifically need the BAAI bge model family.
| Field | Type | Description |
|---|---|---|
| text | string | A single text to embed (≤ 4000 chars). |
| model | string | Embedding model. Default @cf/baai/bge-m3. en-v1.5 models are English-only, 512-token max. |
| texts | array | Up to 20 texts to embed in one call (each ≤ 4000 chars). |
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"