Integrate Helicone with OpenRouter, a unified API for accessing multiple LLM providers. Monitor and analyze AI interactions across various models through a single, streamlined interface.
Create an OpenRouter account
Set HELICONE_API_KEY and OPENROUTER_API_KEY as environment variable
Modify the base URL and add Auth headers
https://openrouter.ai/api/v1/chat/completions
-> https://openrouter.helicone.ai/api/v1/chat/completions
and then add the following authentication headers.