Skip to main content
Helicone OSS LLM Observability

Nebius Token Factory Integration

Connect Helicone with Nebius Token Factory, a platform that provides powerful AI models including text and multimodal models, embeddings and guardrails, and text-to-image models.
1 min read
Warning

This integration method is maintained but no longer actively developed. For the best experience and latest features, use our new AI Gateway with unified API access to 100+ models.

You can follow their documentation here: https://docs.tokenfactory.nebius.com/

Gateway Integration#

Create a Helicone account

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

Create a Nebius Token Factory account

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

Set HELICONE_API_KEY and NEBIUS_API_KEY as environment variable

Modify the base URL and add Auth headers

Replace the following Nebius Token Factory URL with the Helicone Gateway URL:

https://api.tokenfactory.nebius.com -> https://nebius.helicone.ai

and then add the following authentication headers:

Now you can access all the models on Nebius Token Factory with a simple fetch call:

Example - Text Completion#

Example - Image Generation#

For more information on how to use headers, see Helicone Headers docs. And for more information on how to use Nebius Token Factory, see Nebius Token Factory Docs.