FutureWay AI

Inference API

Create embeddings

Computes vector embeddings for text, e.g. for your own search or RAG.

POSThttps://api.futureway.ai/v1/embeddings

Authentication

Header
Authorization: Bearer $FUTUREWAY_API_KEY
Scope
inferenceInference API: chat completions, embeddings, model list.
Key kinds
personal · service
Format
OpenAI-compatible

Details on keys and scopes under Authentication.

Parameters

NameTypeRequiredDescription
modelstringyesEmbedding alias, e.g. futureway-embed.
inputstringyesThe text to embed.

Example request

curl https://api.futureway.ai/v1/embeddings \
  -H "Authorization: Bearer $FUTUREWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "futureway-embed",
  "input": "Dein Text hier."
}'

Response

200

{
  "object": "list",
  "data": [
    {
      "object": "embedding",
      "index": 0,
      "embedding": [
        0.0123,
        -0.0456,
        "…"
      ]
    }
  ],
  "model": "futureway-embed",
  "usage": {
    "prompt_tokens": 4,
    "total_tokens": 4
  }
}

Errors

StatusCodeDescription
401unauthorizedNo, invalid or revoked API key.
400invalid_request_errorInvalid request (missing required fields, unknown parameter, body too large).
404model_not_foundUnknown model id, or a model this key may not address.
429rate_limit_errorToo many requests in the window; retry-after names the wait.
429budget_exceededThe organisation's usage quota is exhausted — no retry helps until the window resets.
503service_unavailableThe model is temporarily unreachable — retry with backoff.

Formats and handling under Errors.

This website uses no cookies and builds no user profiles — which is why there is no cookie banner. Our anonymous reach measurement runs on our own servers in Germany, with no analytics service involved.

Learn more
POST /v1/embeddings — Create embeddings | FutureWay AI