1
2
Modify the API base and add the `Helicone-Auth` header
3
Verify your requests in Helicone
With the above setup, any calls to the Llama API will automatically be logged and monitored by Helicone. Review them in your Helicone dashboard.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use cURL to integrate Llama with Helicone to log your Llama LLM usage.
Modify the API base and add the `Helicone-Auth` header
curl -X POST https://llama.helicone.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LLAMA_API_KEY" \
-H "Helicone-Auth: Bearer $HELICONE_API_KEY" \
-d '{
"model": "Llama-4-Maverick-17B-128E-Instruct-FP8",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
],
"max_completion_tokens": 1024,
"temperature": 0.7
}'
Verify your requests in Helicone
Was this page helpful?