Skip to main content
Helicone OSS LLM Observability

Nvidia NIM Python SDK

Use the OpenAI Python SDK to integrate with Nvidia NIM via Helicone to log your Nvidia usage.
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.

This integration is used to log usage with the Nvidia NIM API. For other Nvidia inference providers that are OpenAI-compatible, such as Dynamo, see here.

How to Integrate#

Create an account and generate an API key

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

Set up your Helicone API key in your .env file

Modify the base URL path

OpenAI SDK

Verify your requests in Helicone

With the above setup, any calls to Nvidia will automatically be logged and monitored by Helicone. Review them in your Helicone dashboard.

Related Guides#