Pay-per-call Mistral text embeddings via MPP on Tempo L2
What it does
This endpoint provides access to Mistral AI's text embedding models through the Locus MPP (Micropayment Protocol) gateway. It accepts text input (single string or array of strings) and returns vector embeddings using models such as "mistral-embed" and "codestral-embed". Output can be returned in float (default) or base64 encoding format.
Payment is settled per-call via the Tempo L2 method using pathUSD. The advertised amount is 8,000 base units of pathUSD (6 decimals), which works out to $0.008 per request. The endpoint is a POST-only route — HEAD and GET probes return 404, which is expected behavior for a POST-based API. The OpenAPI spec confirms the endpoint exists and documents its schema, though the probe did not capture a live 402 challenge on HEAD/GET.
The endpoint is part of a broader Mistral AI service on Locus MPP that also offers chat completions, content moderation, and model listing at sibling paths. Documentation is referenced at docs.mistral.ai for the upstream Mistral API and at beta.paywithlocus.com/mpp/mistral.md for the MPP-specific integration. No response schema is documented in the OpenAPI spec, so consumers should expect a standard Mistral embeddings response (an object with embedding vectors and usage metadata).
Capabilities
Use cases
- —Generating text embeddings for semantic search indexes
- —Computing similarity scores between documents or queries
- —Building retrieval-augmented generation (RAG) pipelines with Mistral vectors
- —Clustering or classifying text based on embedding representations
- —Pay-per-use embedding generation without API key management
Fit
Best for
- —Agents needing on-demand text embeddings with crypto micropayments
- —RAG pipelines that want Mistral-quality embeddings without a subscription
- —Developers who prefer per-call billing over monthly API keys
Not for
- —High-volume batch embedding jobs where per-call pricing is expensive
- —Use cases requiring non-text modalities (image, audio embeddings)
- —Users who need fiat/credit-card payment (this endpoint uses Tempo/pathUSD)
Quick start
curl -X POST https://mistral.mpp.paywithlocus.com/mistral/embed \
-H "Content-Type: application/json" \
-d '{
"model": "mistral-embed",
"input": "The quick brown fox jumps over the lazy dog."
}'Example
Request
{
"input": "The quick brown fox jumps over the lazy dog.",
"model": "mistral-embed",
"encoding_format": "float"
}Endpoint
Quality
The OpenAPI spec provides a clear request schema, pricing info, and model names, but no response schema is documented. The probe did not capture a live 402 challenge because HEAD/GET return 404 on this POST-only endpoint, so liveness is inferred from the OpenAPI spec rather than directly confirmed. Crawled pages returned no useful documentation content.
Warnings
- —Probe returned 404 on HEAD/GET; endpoint is POST-only so liveness not directly confirmed via probe
- —No response schema documented in OpenAPI spec
- —No crawled documentation pages returned useful content; all returned 'not found' JSON
- —pathUSD currency address (0x20c0…b9537d11c60e8b50) could not be independently verified; price of $0.008 assumes 6 decimals
Citations
- —Endpoint accepts model, input, and encoding_format fields with model and input requiredhttps://mistral.mpp.paywithlocus.com
- —Payment amount is 8000 base units via Tempo method with pathUSD currencyhttps://mistral.mpp.paywithlocus.com
- —Supported models include mistral-embed and codestral-embedhttps://mistral.mpp.paywithlocus.com
- —Upstream API reference at docs.mistral.ai and MPP docs at beta.paywithlocus.com/mpp/mistral.mdhttps://mistral.mpp.paywithlocus.com