SumoRouter Customer API
string · requiredintegerstring
Vector embeddings for search, clustering and RAG.
Create embeddings
POST
https://ai.brandkamu.id
/v1/embeddings
OpenAI Embeddings compatible. Only models whose mode is embedding work here (others return
400 pointing at the right endpoint). Streaming is not supported. The non-streamed response gets
usage.cost (USD) added.
Create embeddings › Request Body
modelAn embedding model (mode embedding).
required
One text or a list of texts. Must not be empty.
dimensionsShorter vectors, where the model supports it.
encoding_formatCreate embeddings › Responses
OpenAI embedding list.
Provider-compatible JSON object passed through from the upstream (with `model` set to the catalog slug and `usage.cost` added in USD).