Keys / Helicone
HELICONE_API_KEY
The Helicone API key your app sends LLM requests through the AI Gateway with, and logs them. Keys can be write-only or read and write.
- Expires
- the docs don't say
- API
- create, list, rename and delete
Get it
Create one on us.helicone.ai/settings/api-keys. The steps aren't recorded yet.
Set it
HELICONE_API_KEY=...
The helicone_async Python logger and the Helicone MCP server read it from this variable. With the OpenAI SDK, your app passes it in. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- On the API Keys page, create a new key with the same permissions: write-only, or read and write. EU keys come from the EU region.
- Deploy it everywhere that reads
HELICONE_API_KEY. - Check that requests are logged with the new key, then delete the old one.
Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.