Get started / Quickstart
Quickstart
EU-HOSTED · NLSend your first request to Appelon in under five minutes. Every call runs and stays in Dutch data centers. No data leaves the EU, ever.
i
Appelon's API is OpenAI-compatible. If you already have an OpenAI client, change the base URL to
router.appelon.ai/v1 and you're done.1
Create an API key
Open the Console → API keys and create a live key. Keys are scoped to a project and can be revoked at any time. Store it as an environment variable. Never commit it.
terminal
export APPELON_API_KEY="sk-appelon-7Fq2••••29x"2
Make your first request
Call the chat completions endpoint. The example below uses an open-source model running in Amsterdam.
curl https://router.appelon.ai/v1/chat/completions \
-H "Authorization: Bearer $APPELON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-35b",
"messages": [{"role": "user", "content": "Hallo!"}]
}'# → 200 OK · 42 tokens · 0.31s
3
Read the response
Responses follow the standard completion schema. The x-appelon-region header confirms where the request was processed.
Request parameters
Parameter Type Description
model string Model ID. See the Models reference for the full catalog. required
messages array Conversation history as role/content objects. required
stream boolean Stream partial tokens as server-sent events. Defaults to false.
temperature number Sampling temperature between 0 and 2. Defaults to 1.
Response status
200 Success: completion returned.429 Rate limited: retry after the Retry-After header.401 Unauthorized: missing or revoked API key.Next steps
guide →
Migrate from OpenAI
Point your existing SDK at Appelon in one line.
reference →
Chat completions
Text generation with streaming, system prompts, and multi-turn.
Using an AI coding assistant? Get the full API docs in one file: appelon.ai/llms.txt