Integrate any custom LLM with Helicone using cURL. Step-by-step guide for direct API integration to connect your proprietary or open-source models.
Name | Value |
---|---|
Authorization | Bearer {API_KEY} |
{API_KEY}
with your actual Helicone API Key.
Note: The timing
field is optional. If not provided, Helicone will automatically set the current time as both start and end time.
usage
object in your providerResponse.json
. Here are the supported formats:
meta
field:
meta
field:
meta
field:
Regional Support: Helicone supports both US and EU regions for caching. In development/preview environments, both regions use the same cache URL, while in production they use region-specific endpoints.Example in JavaScript:
requests
library:
textBody
field:
timeToFirstToken
is measured in milliseconds.