Embeddings

The OpenAPI 3.1 document is the full description, including schemas:

https://router.inference.ai.exchange/v1/openapi.json

POST /v1/embeddings

Buy embeddings at auction, in the OpenAI embeddings format.

Send model and input, one text or an array of texts. Only a deployment registered to embed can win.

The charge is the input tokens that the provider reports, never above the cap. The cap is the estimated prompt at the offer input rate. It is in the x-liquid-cap-usd header. The exchange block of the response shows the charge.

Send input_type to say what the vectors are for. A request holds up to 2,048 texts of up to 32,768 characters each, and up to 1,200,000 characters in all. There is no streaming form.