Make your first request
Find your API key, discover your models and send a chat message.
Get an API key
Sign in to the Site6 dashboard with your Site6 account and copy its API key. Store the key in SITE6_API_KEY in the terminal or service that runs your requests.
Bash
export SITE6_API_KEY='paste-your-site6-key-here'PowerShell
$env:SITE6_API_KEY = 'paste-your-site6-key-here'Send it in Authorization: Bearer <key>. Anthropic-compatible requests can use x-api-key. Set the base URL to https://site6.eokgg.win/v1 for OpenAI-compatible SDKs.
The dashboard lets you reset your key once every 24 hours. A reset revokes the previous key, so update the applications that use it.
Discover your models
curl --fail-with-body -sS https://site6.eokgg.win/v1/models \
-H "Authorization: Bearer $SITE6_API_KEY"The data[].id values are the model IDs you can send. These examples use deepseek-v4.1-flash-1017. Substitute any text model available to your key.
Send a message
curl --fail-with-body -sS https://site6.eokgg.win/v1/chat/completions \
-H "Authorization: Bearer $SITE6_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "deepseek-v4.1-flash-1017",
"messages": [{"role": "user", "content": "Explain a hash table in two sentences."}],
"max_tokens": 256
}'Read choices[0].message.content for the reply and usage for reported token counts. Keep API keys on your server or in your local environment when building a browser frontend.
Next steps
Stream replies, send your AGENTS.md, or copy a full example for your language.