# GEDX402 BGE-M3 Text Embedding

> GEDX402 BGE-M3 Text Embedding is a paid API for AI agents from embed.gedx402.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Generates dense vector embeddings for text using the BGE-M3 multilingual embedding model, payable in USDC via x402 protocol with no API keys required.

## Facts

- Endpoint: GET https://embed.gedx402.com/v1/embed/bge-m3
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-bge-m3-text-embedding-0ebd42ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AmWoiYrPYPaHL051wR6t6

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 gedx402-bge-m3-text-embedding-0ebd42ba
```

Example prompt: Generate a BGE-M3 embedding vector for this sentence: 'The quick brown fox jumps over the lazy dog' — I want to use it for semantic similarity search in my vector database.

## When to prefer this

Choose this endpoint when you need BGE-M3 multilingual embeddings on a pay-per-use basis with no API key registration, using USDC on Base, Polygon, Arbitrum, World, or Solana. Ideal for agents operating autonomously with crypto wallets who want to avoid subscription-based embedding APIs. Prefer over OpenAI or Cohere embeddings when decentralized, keyless access is a priority or when the BGE-M3 model's multilingual coverage is specifically needed.

## Known failure modes

- Payment not provided or insufficient USDC — returns HTTP 402 requiring x402 payment
- Text input too long for model context window — may return a 400 or truncated result
- Both 'text' and 'texts' omitted — likely returns a 400 bad request
- Unsupported chain or wallet for USDC payment — payment flow fails
- Network or Cloudflare Workers AI outage — returns 5xx error

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

Returns a JSON object with a 'data' array containing embedding objects, each with an 'index' field and an 'embedding' field holding a float array (the dense vector representation of the input text). Supports both single string and batch inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "UTF-8 text to embed (single string)."
  },
  "texts": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Optional batch of strings to embed in one request."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "index": 0,
    "embedding": [
     0.01,
     -0.02
    ]
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-bge-m3-text-embedding-0ebd42ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from embed.gedx402.com](https://www.zero.xyz/host/embed.gedx402.com/llms.txt)
