# Text Embeddings API (BGE-M3, 1024-dimension vectors)

> Text Embeddings API (BGE-M3, 1024-dimension vectors) is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-04).

Converts text (up to 4,000 characters, 100+ languages) into a 1,024-dimension semantic embedding vector using BAAI BGE-M3 model

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/ai/embeddings?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-04
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-text-embeddings-api-bge-m3-ce63557a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PCQpm1w7xgi5FoXKRPKZA

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 agent-data-tools-revmesh2074-workers-dev-text-embeddings-api-bge-m3-ce63557a
```

Example prompt: Embed this text into a 1,024-dimension BGE-M3 vector so I can store it in my vector database for semantic search: 'Retrieval-augmented generation combines dense retrieval with language model generation.'

## When to prefer this

Choose this endpoint when you need multilingual text embeddings (100+ languages) with a 1,024-dimension output compatible with BGE-M3, especially if you want pay-per-call pricing with no account setup. It's also OpenAI-compatible at /v1/embeddings, making it a drop-in replacement. Prefer it over OpenAI's embedding endpoint when you want cost control via USDC micropayments or when BGE-M3's multilingual capabilities outweigh OpenAI's ada-002 for your language mix.

## Known failure modes

- Text exceeds 4,000 characters — API may truncate or return an error
- Empty text input — likely returns an error or zero vector
- Payment failure (402) if free call quota exhausted and no USDC balance — call not charged
- Model inference timeout on very dense or complex text
- Network/worker timeout on Cloudflare edge

## How this service works

Text embeddings API: a 1,024-dimension vector for up to 4,000 characters of text in 100+ languages (BAAI BGE-M3), also OpenAI-compatible at /v1/embeddings. Use for semantic search, RAG retrieval, clustering, deduplication and similarity scoring.

## Output

Returns a JSON object containing the model name (string), a 1,024-element array of float values representing the semantic embedding of the input text, and the dimensions count (1024). The vector can be directly used for cosine similarity, dot product scoring, or insertion into a vector database.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to embed, up to 4,000 characters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string"
  },
  "embedding": {
   "type": "array",
   "items": {
    "type": "number"
   }
  },
  "dimensions": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-text-embeddings-api-bge-m3-ce63557a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
