{"uid":"cap_jp9nVi05ASaNRNV5qLWpH","slug":"agent-toolbox-bge-m3-text-embeddings-6b2ab0cc","name":"Agent Toolbox BGE-M3 Text Embeddings","description":"Text embeddings with BGE-M3 (multilingual, 1024 dimensions) for search, clustering and RAG: up to 100 texts of up to 8,000 characters per call.","url":"https://agent-toolbox.zafermemon87.workers.dev/v1/embed?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"texts":{"type":"array","items":{"type":"string"},"maxItems":100,"description":"Texts to embed"}}},"responseSchema":{"type":"json","example":{"count":2,"model":"bge-m3","plain":"2 embeddings of 1024 dimensions.","dimensions":1024,"embeddings":[[-0.002920150756835938,0.0237579345703125,-0.083740234375,-0.001770973205566406,"...1020 more"],[-0.0377197265625,0.019805908203125,-0.0533447265625,-0.0042572021484375,"...1020 more"]]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_85kfl6tMCShoA3Vb1u8lM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates multilingual 1024-dimensional text embeddings using BGE-M3 for up to 100 texts per call, enabling semantic search, clustering, and RAG pipelines.","exampleAgentPrompt":"Embed these 3 product descriptions using BGE-M3 so I can store them in my vector database for semantic search: 'Wireless noise-cancelling headphones', 'Bluetooth over-ear audio headset', 'Premium wired studio monitor headphones'.","exampleUseCases":[{"title":"RAG pipeline document indexing","prompt":"I need to vectorize these 50 support articles so I can store them in Pinecone for retrieval-augmented generation — can you embed all of them with BGE-M3 in one call?"},{"title":"Multilingual semantic search","prompt":"I have customer reviews in English, French, and Spanish — embed all of them with BGE-M3 so I can run a similarity search across languages to find reviews about shipping delays."},{"title":"Text clustering for topic analysis","prompt":"Embed these 80 news headlines with BGE-M3 so I can run k-means clustering on the 1024-dimensional vectors to group them by topic."}],"resultDescription":"Returns a JSON object containing the number of embeddings generated, the model name ('bge-m3'), the number of dimensions (1024), a plain-language summary, and an array of float arrays — one 1024-dimensional vector per input text — ready for use in vector databases or similarity computations.","failureModes":["Input array exceeds 100 texts — request rejected","Individual text exceeds 8,000 characters — may be truncated or rejected","Empty texts array — likely returns zero embeddings or error","Payment not included or insufficient (x402) — 402 Payment Required response","Malformed JSON body — 400 Bad Request","Service unavailable on Cloudflare Workers edge — 503 or timeout"],"whenToPreferThis":"Choose this endpoint when you need high-quality multilingual embeddings (BGE-M3 supports 100+ languages) at batch scale (up to 100 texts per call) with a simple pay-per-call pricing model ($0.002 USDC). Prefer it over OpenAI embeddings when multilingual coverage or cost predictability is a priority, and over self-hosted BGE-M3 when you want zero infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T18:30:35.198Z","isFirstParty":false,"canonicalSlug":"agent-toolbox-bge-m3-text-embeddings-6b2ab0cc"}