Use Vercel AI SDK to integrate with Helicone to log your OpenAI usage.
Create an account + Generate an API Key
Log into helicone or create an account. Once you have an account, you can generate an API key.
Set HELICONE_API_KEY as an environment variable
HELICONE_API_KEY=<your API key>
Modify the base URL and add a Helicone-Auth header
Was this page helpful?