{"uid":"cap_LyChPY4XTm5Zp6a9wXCwS","slug":"mistral-ai-embed-ffdfb237","name":"Mistral Embed","description":"Generate text or code embeddings. Returns 1024-dimensional vectors for retrieval, clustering, and classification.","url":"https://mistral.mpp.paywithlocus.com/mistral/embed?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["model","input"],"properties":{"input":{"anyOf":[{"type":"string"},{"type":"array","items":{}}],"description":"Text(s) to embed (string or array of strings)"},"model":{"type":"string","description":"Embedding model (e.g. \"mistral-embed\", \"codestral-embed\")"},"encoding_format":{"type":"string","description":"Output format: \"float\" (default) or \"base64\""}},"additionalProperties":true},"responseSchema":null,"example":{"request":{"input":"artificial intelligence and machine learning","model":"mistral-embed","encoding_format":"float"},"response":{"_truncated":true,"_originalSize":19749}},"exampleRequest":{"input":"artificial intelligence and machine learning","model":"mistral-embed","encoding_format":"float"},"tags":["llm","chat","embeddings","code","reasoning","ai"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.008/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ua9izORXrvmVOVLUUmUQ8","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Mistral AI","brandSlug":"mistral-ai","brandBaseUrl":"https://mistral.ai","brandDocsUrl":"https://docs.mistral.ai","whatItDoes":"Generates vector embeddings for text using Mistral's embedding models (mistral-embed, codestral-embed)","exampleAgentPrompt":"Use Mistral's mistral-embed model to generate a float vector embedding for this text: 'artificial intelligence and machine learning'.","exampleUseCases":null,"resultDescription":"Returns a high-dimensional float (or base64) vector embedding representing the semantic content of the input text, suitable for similarity search, clustering, or use in a vector database.","failureModes":["Invalid or unsupported model name returns 400 error","Empty or missing input field returns 422 validation error","Input text exceeds model's token limit returns 400 or truncation error","Invalid encoding_format value returns 400 error","Authentication or payment failure returns 402 or 401 error","Service unavailable or timeout returns 503 error"],"whenToPreferThis":"Choose this endpoint when you need high-quality semantic text embeddings from Mistral's models (mistral-embed for general text, codestral-embed for code), especially when already using Mistral's LLM ecosystem or when integrating into a RAG pipeline, semantic search, or vector database workflow that benefits from consistent embedding quality.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:35:47.032Z","isFirstParty":false,"canonicalSlug":"mistral-ai-embed-ffdfb237"}