Create account
For businesses and self-employed professionals only

Menu

Vectors in the OpenAI format.

POST /v1/embeddings takes one text or a list and returns the vectors in the same order. Your call with the OpenAI library stays the same; only the base URL and the model name change.

Up to 2,048 inputs per request, 8,192 characters per input.

Both limits are enforced by rejecting, not by truncating. A silently truncated batch would be billed in full and return fewer vectors than you expect.

Which dimensions a model supports is up to the model itself. dimensions takes values from 1 to 8,192. For the EU-hosted models we check the value up front: bge-m3 always returns 1,024, Qwen3-VL-Embedding-8B 1 to 4,096.

Embeddings run without an end-user reference: they count toward your key, not toward a person.

Available models.

The list comes from the catalog. Only models released for embeddings appear: from OpenAI and, hosted in the EU, from IONOS.

ModelInput€ per 1M tokens
ionos/BAAI/bge-m3IONOS 0.0228
ionos/Qwen/Qwen3-VL-Embedding-8BIONOS 0.1253
openai/text-embedding-3-largeOpenAI 0.1481
openai/text-embedding-3-smallOpenAI 0.0228

List of numbers or Base64.

With encoding_format you choose between float and base64. Base64 is the compact form: the vectors as little-endian float32, the way the OpenAI libraries expect them.

Request
curl https://api.flowmodels.one/v1/embeddings \
  -H "Authorization: Bearer $FLOWMODELS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ionos/BAAI/bge-m3",
    "input": ["Oak dining table", "Chair with armrests"],
    "encoding_format": "float",
    "dimensions": 256
  }'
float base64
Response, shortened
{
  "object": "list",
  "data": [
    { "object": "embedding", "embedding": [0.0123, -0.0456, 0.0789], "index": 0 },
    { "object": "embedding", "embedding": [-0.0312, 0.0654, 0.0098], "index": 1 }
  ],
  "model": "ionos/BAAI/bge-m3",
  "usage": {
    "prompt_tokens": 14,
    "total_tokens": 14,
    "cost": "<euros>",
    "currency": "EUR"
  }
}
Response, shortened
{
  "object": "list",
  "data": [
    { "object": "embedding", "embedding": "qUXJPGe8O73DZ6E8", "index": 0 },
    { "object": "embedding", "embedding": "ZMj/vKfohT2sVyE8", "index": 1 }
  ],
  "model": "ionos/BAAI/bge-m3",
  "usage": {
    "prompt_tokens": 14,
    "total_tokens": 14,
    "cost": "<euros>",
    "currency": "EUR"
  }
}

Create a key, name a model, start building.

FlowModels is aimed exclusively at businesses and self-employed professionals.