For the following example to work, save your API key to the NEBIUS_API_KEY environment variable. Request:
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.studio.nebius.com/v1/",
    api_key=os.environ.get("NEBIUS_API_KEY"),
)

client.embeddings.create(
    model="BAAI/bge-en-icl",
    input="Wake up, Neo...",
    encoding_format="float"
)
For detailed field descriptions, see the API reference.