{"uid":"cap_QGu_dEVqKjtYqe7-ICZZd","slug":"openai-text-embedding-3-small-via-mm-family-x402-c4c966d1","name":"OpenAI text-embedding-3-small (via mm.family x402)","description":"text-embedding-3-small: OpenAI Text Embedding 3 Small embeddings, paid per call in USDC. OpenAI list $0.02 per 1M input tokens, plus $0.0005 (Base) or $0.0005 (Solana) per call; minimum $0.001 per call; up to 8192 tokens per input. Standard OpenAI body. Rates: https://openai.mm.family/x402/pricing","url":"https://openai.mm.family/x402/v1/models/text-embedding-3-small/embeddings?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":["string","array"]},"model":{"enum":["text-embedding-3-small"],"type":"string"},"dimensions":{"type":"integer"},"encoding_format":{"enum":["float","base64"],"type":"string"}}},"responseSchema":{"type":"json","example":{"data":[{"index":0,"object":"embedding","embedding":[0.01,-0.02]}],"model":"text-embedding-3-small","usage":{"total_tokens":1,"prompt_tokens":1},"object":"list"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dg4h9q8dzm5iaOUbpfnqa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates text embeddings using OpenAI's text-embedding-3-small model, billed per call in USDC via the x402 payment protocol","exampleAgentPrompt":"Embed this text using text-embedding-3-small and give me the float vector: 'Renewable energy is transforming the global power grid.'","exampleUseCases":[{"title":"Semantic search index builder","prompt":"Take these 50 product descriptions and embed each one using text-embedding-3-small as float vectors so I can index them in my vector database for semantic search."},{"title":"RAG query vectorization","prompt":"I need to embed this user query as a float vector with text-embedding-3-small so I can run a nearest-neighbor search against my document store: 'What are the side effects of ibuprofen?'"},{"title":"Sentence similarity scoring","prompt":"Generate text-embedding-3-small embeddings for these two sentences so I can compute their cosine similarity: 'The cat sat on the mat' and 'A feline rested on a rug.'"}],"resultDescription":"Returns a JSON object containing a list of embedding objects, each with an index, object type ('embedding'), and the embedding array (floats or base64-encoded), plus model name and token usage stats (prompt_tokens, total_tokens).","failureModes":["Input exceeds 8192 token limit — request rejected","Insufficient USDC balance for x402 payment — 402 Payment Required response","Invalid model value (must be 'text-embedding-3-small') — 400 validation error","Malformed input array (unsupported types) — 422 unprocessable entity","Rate limiting or upstream OpenAI outage — 503 or 429 error"],"whenToPreferThis":"Choose this endpoint when you need cost-efficient, high-quality text embeddings via OpenAI's text-embedding-3-small model and want to pay per call in USDC without managing an OpenAI API key. Prefer over text-embedding-3-large when speed and cost matter more than maximum embedding quality, and prefer over ada-002 for better performance at similar cost. Ideal for agents operating in crypto-native or x402-compatible payment environments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:20.948Z","isFirstParty":false,"canonicalSlug":"openai-text-embedding-3-small-via-mm-family-x402-c4c966d1"}