{"uid":"cap_Q3Yz_VqVHhdeRWcrQZTWE","slug":"agentutility-embedding-similarity-ff17bc15","name":"AgentUtility Embedding Similarity","description":"Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.","url":"https://x402.agentutility.ai/embedding-similarity","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["text_a","text_b"],"properties":{"model":{"type":"string","description":"Venice embedding model. Default 'text-embedding-bge-m3'."},"text_a":{"type":"string","description":"First text. Up to 30,000 chars."},"text_b":{"type":"string","description":"Second text. Up to 30,000 chars."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"model":{"type":"string"},"source":{"type":"string"},"text_a":{"type":"string"},"text_b":{"type":"string"},"dimensions":{"type":"integer"},"similarity":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"model":"text-embedding-bge-m3","source":"venice","text_a":"AI agent payments","text_b":"Autonomous transactions","dimensions":1024,"similarity":0.7842}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_V73nG5DouDs9JSo9OJPIX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes cosine similarity between two text strings using BGE-M3 embeddings via Venice AI","exampleAgentPrompt":"How semantically similar are the phrases 'AI agent payments' and 'autonomous transactions'? Use BGE-M3 embeddings with 1024 dimensions and give me the similarity score.","exampleUseCases":null,"resultDescription":"A JSON object with the similarity score (float between 0 and 1), the model used (e.g. text-embedding-bge-m3), the source provider (venice), the two input texts, and the embedding dimensions used.","failureModes":["Missing text_a or text_b returns 400 Bad Request","Invalid model name returns error or falls back to default","Payment not included or insufficient USDC triggers x402 payment required response","Text inputs too long for model context window may be truncated or rejected","Network timeout if Venice AI backend is unavailable"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.005 USDC), pay-per-call semantic similarity score between two text strings without hosting your own embedding infrastructure. Prefer it over general LLM comparisons when you want a deterministic numerical similarity score from a specific embedding model (BGE-M3). Ideal for ranking, deduplication, clustering, or relevance scoring tasks within agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:12:43.371Z","isFirstParty":false}