OpenAI
OpenAI with Async Logging
Use Async Logging to integrate OpenAI with Helicone to log your OpenAI usage without using the Helicone Proxy.
This does not use the Helicone Proxy. For more information on Async Logging, see the Proxy vs Async page.
1
2
Set HELICONE_API_KEY as an environment variable
export HELICONE_API_KEY=<your API key>
3
Install Helicone
npm install @helicone/helicone
4
Replace the imports and add Helicone authorizations