API Endpoint
Base URL and authentication for all LLMZone API requests
Base URL
All API requests use the following base URL:
https://api.llmzone.net/v1Authentication
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYReplace YOUR_API_KEY with your actual API key from the Console.
OpenAI Compatible
LLMZone is fully OpenAI-compatible. Any tool, library, or SDK that supports OpenAI's API format will work seamlessly — just point it to our base URL.
| Setting | Value |
|---|---|
| Base URL | https://api.llmzone.net/v1 |
| API Key | sk-llmzone-... |
| Format | OpenAI Chat Completions |
Quick Example
curl "https://api.llmzone.net/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-6",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'