This integration method is maintained but no longer actively developed. For the best experience and latest features, use our new AI Gateway with unified API access to 100+ models.
1
2
Copy
Ask AI
curl --request POST \
--url https://oai.helicone.ai/v1/chat/completions \
--header "Authorization: Bearer $OPENAI_API_KEY" \
--header "Content-Type: application/json" \
--header "Helicone-Auth: Bearer $HELICONE_API_KEY" \
--data '{
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "Say Hello!"
}
],
"temperature": 1,
"max_tokens": 30
}'
3