You can follow their documentation here: https://api.studio.nebius.ai/docs

Gateway Integration

1

Create a Helicone account

Log into helicone or create an account. Once you have an account, you can generate an API key.
2

Create a Nebius AI account

Log into Nebius AI or create an account. Once you have an account, you can generate an API key from your dashboard.
3

Set HELICONE_API_KEY and NEBIUS_API_KEY as environment variable

HELICONE_API_KEY=<your API key>
NEBIUS_API_KEY=<your API key>
4

Modify the base URL and add Auth headers

Replace the following Nebius AI URL with the Helicone Gateway URL:https://api.studio.nebius.ai -> https://nebius.helicone.aiand then add the following authentication headers:
Authorization: Bearer <your API key>
Now you can access all the models on Nebius AI with a simple fetch call:

Example

curl \
  --header "Authorization: Bearer $NEBIUS_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "stable-diffusion-xl",
    "prompt": "A beautiful sunset over a mountain landscape"
}' \
  --url https://nebius.helicone.ai/v1/images/generations
For more information on how to use headers, see Helicone Headers docs. And for more information on how to use Nebius AI, see Nebius AI Docs.