LLM Gateway requests use your APIXO API key. The header name follows the compatible provider API so existing SDKs and tools can keep their normal request format.
Create a key in the APIXO dashboard, then store it as APIXO_API_KEY.
export APIXO_API_KEY="your_apixo_api_key"
| Compatible API | Header |
|---|
| Claude API | x-api-key: $APIXO_API_KEY |
| OpenAI Responses API | Authorization: Bearer $APIXO_API_KEY |
| Gemini API | x-goog-api-key: $APIXO_API_KEY |
Claude-compatible requests also require the Anthropic protocol version header. Most Claude SDKs add this automatically.
anthropic-version: 2023-06-01
Example
curl -X POST "https://llm.apixo.ai/v1/messages" \
-H "x-api-key: $APIXO_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 128,
"messages": [{"role": "user", "content": "Say hello."}]
}'
Do not expose APIXO keys in browser-side code. Make LLM Gateway calls from your backend, serverless function, or trusted runtime.