Embeddings

DONNA Chiodi

Produces numerical vector representations of text in 30+ languages.

Beta Preview

Model, API and behaviour may change without prior notice. Not yet recommended for production workloads.

Models

ModelUse case
donna-chiodi-v20260320Multilingual text embedding (30+ languages, Matryoshka 1024/512/256)

Pricing

per 1,000 input tokens

Rounded up to whole credits per request, minimum 1 credit.

1.4Credits
POST/v1/embeddings

Embedding endpoint. Produces one vector per text input. Authentication via Bearer token in the Authorization header.

Parameter

  • modelstring
    Yes

    Model id: 'donna-chiodi-v20260320'

  • inputstring | array<string>
    Yes

    Text as a string or an array of up to 64 strings for batch embedding. Maximum length: 512 tokens per text.

  • dimensions1024 | 512 | 256Optional

    Output dimension: 1024 (default), 512 or 256. Matryoshka truncation.

  • encoding_format'float' | 'base64'Optional

    Vector encoding in the response: 'float' (default) or 'base64'.

Request

curl -X POST "https://api.centra.dbpg.io/v1/embeddings" \
  -H "Authorization: Bearer sk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "donna-chiodi-v20260320",
    "input": [
      "Die schnelle braune Füchsin springt über den faulen Hund.",
      "The quick brown fox jumps over the lazy dog."
    ],
    "dimensions": 512
  }'

Response

{
  "object": "list",
  "data": [
    {
      "object": "embedding",
      "index": 0,
      "embedding": [0.0214, -0.0532, 0.0118, /* … 509 weitere Werte … */]
    },
    {
      "object": "embedding",
      "index": 1,
      "embedding": [0.0207, -0.0541, 0.0124, /* … 509 weitere Werte … */]
    }
  ],
  "model": "donna-chiodi-v20260320",
  "usage": {
    "prompt_tokens": 24,
    "total_tokens": 24
  }
}

Limits

Maximum inputs per request: 64. Maximum token length per input: 512.

Supported languages

Arabic, Bulgarian, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Irish, Italian, Latvian, Lithuanian, Maltese, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish, Turkish, Ukrainian and others.

Legal. Modelcard, terms, privacy and additional documentation for the DONNA model family at buehnenproduktionsgesellschaft.de/donna.