Documentação

Como chamar a API, o que o router faz com uma política, que classes de residência existem, o que um trace regista — e todos os códigos de erro, endpoint e limite, gerados a partir do código que os aplica.

Começar

Início rápido

Point any OpenAI-compatible client at the LLM EU base URL and call llmeu-auto. Copy-paste snippets for cURL, Python and JavaScript, with the llmeu response block explained.

Consola

What each page of the signed-in console does, the five roles and what they may change, and what a person can change about their own account.

Migração

Moving an existing OpenAI integration onto LLM EU: the base URL change, the fields that carry over, the endpoints that do not exist, and how to take your data out again.

Referência da API

The LLM EU API reference: chat completions, models, embeddings, the platform API, and every error code with the HTTP status that carries it.

Referência

Autenticação

API keys, the three scopes, why a signed-in browser cannot call the API, and how revocation works. Rendered from the scopes the API enforces.

Endpoints

Every route this API mounts with the credential it needs, plus the OpenAI endpoints that are deliberately absent and what they answer instead.

Erros

Every error code the API can answer with, the HTTP status and type that carry it, and what to do about each. Checked against the source by a test.

Limites de taxa

The limits this deployment applies per key, per organization and per IP address, rendered from the table the limiter reads, and what a 429 actually contains.

Streaming

The SSE wire format for streamed completions, the frames, the routing block on the last frame, and what happens to the trace when a client disconnects.

Políticas

The policy object field by field: residency classes, allow and deny lists, daily budget, retention, data classes and partner endpoints, with their defaults.

Encaminhamento e política

How the LLM EU router chooses an endpoint: the filter order, the scoring weights, why residency is a filter and never a preference, and how failover stays inside the policy.

Residência e regiões

The four residency classes defined in plain language, which regions exist, and how a policy constrains where a request may be processed. No silent fallback.

Evidência e verificação

What is recorded for every call, what is deliberately not, and how to export an audit bundle a data protection officer can read without asking you.

Compatibilidade com a OpenAI

The exact OpenAI compatibility contract: accepted request fields, the response shape, SSE streaming frames, and what is intentionally not supported.

Operar

Auto-hospedagem

Running the stack yourself: Node 22, zero dependencies, SQLite, the operator CLI, the environment, backups and the mail transport.