embeddings
embeddingsOpenAI-compatible embeddings endpoint (bge-m3, 1024 dimensions, 100+ languages): same request and response shape as OpenAI /v1/embeddings, including encoding_format base64. Up to 100 inputs per call, flat price, no API key: point any OpenAI SDK at https://agentrxi.com/v1 and pay per request with x402. Priced by size and model: $0.003 + 3x the model token cost (bge-m3 is cheapest). Costs $0.143 USDC per call (x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text to embed (POST also accepts an array of up to 100 strings) | |
| model | No | Ignored; always bge-m3 | |
| encoding_format | No | float (default) | base64 |