Skip to content

Getting started

The Norlen API is OpenAI-compatible: any SDK or tool that talks to OpenAI works by swapping the base URL and the key. In three steps you go from zero to your first response.

  1. Create your account

    Go to the dashboard at app.norlen.io and sign up with Google, GitHub, or email and password. New accounts start on the Free plan (Gemma 4 12B model, 5 requests/min).

  2. Generate your API key

    In the dashboard, open Dashboard and copy your API key. It authenticates every call — treat it like a password and never expose it in the browser or in public repositories.

    Terminal window
    # Store the key in an environment variable
    export NORLEN_API_KEY="sk-..."
  3. Make your first call

    Point your client at https://api.norlen.io/v1 and use your key as a Bearer token.

    Terminal window
    curl https://api.norlen.io/v1/chat/completions \
    -H "Authorization: Bearer $NORLEN_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
    "model": "qwen3.6-35b",
    "messages": [{"role": "user", "content": "Explain embeddings in one sentence."}]
    }'

The response follows the OpenAI format:

{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "qwen3.6-35b",
"choices": [
{
"index": 0,
"message": { "role": "assistant", "content": "Embeddings são..." },
"finish_reason": "stop"
}
],
"usage": { "prompt_tokens": 18, "completion_tokens": 24, "total_tokens": 42 }
}

API reference

Chat, embeddings, and image generation — endpoints and parameters. See the API →