You can follow their documentation here: https://novita.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 Novita AI account

Log into Novita 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 NOVITA_API_KEY as environment variable

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

Modify the base URL and add Auth headers

Replace the following Novita AI URL with the Helicone Gateway URL:

https://api.novita.ai -> https://novita.helicone.ai

and then add the following authentication headers:

Authorization: Bearer <your API key>

Now you can access all the models on Novita AI with a simple fetch call:

Example

curl \
  --header 'Authorization: Bearer <NOVITA_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "deepseek/deepseek-r1",
    "messages": [
      {
        "role": "user",
        "content": "What is the capital of France?"
      }
    ]
}' \
  --url https://novita.helicone.ai/v3/chat/completions

Referral Program

Novita AI offers a referral program that provides $20 in credits for both you and your referrals when using the DeepSeek R1 & V3 APIs. Share your referral link with others to earn credits and help them get started with Novita. Learn more about the program at Novita’s blog.

For more information on how to use headers, see Helicone Headers docs. And for more information on how to use Novita AI, see Novita AI Docs.