Title: Documenta%C3%A7%C3%A3o API LLM: endpoints e limites %E2%80%94 LLM EU Canonical: https://llmeu.com/pt/docs/ Markdown mirror: https://llmeu.com/pt/docs.md Machine-readable: https://llmeu.com/llms.txt (index) - https://llmeu.com/llms-full.txt (full catalogue) - https://llmeu.com/llms-catalogue.json Come%C3%A7ar - [In%C3%ADcio r%C3%A1pido](/pt/docs/quickstart/) - [Consola](/pt/docs/console/) - [Migra%C3%A7%C3%A3o](/pt/docs/migration/) - [Refer%C3%AAncia da API](/pt/docs/api/) Refer%C3%AAncia - [Autentica%C3%A7%C3%A3o](/pt/docs/authentication/) - [Endpoints](/pt/docs/endpoints/) - [Erros](/pt/docs/errors/) - [Limites de taxa](/pt/docs/rate-limits/) - [Streaming](/pt/docs/streaming/) - [Pol%C3%ADticas](/pt/docs/policies/) - [Encaminhamento e pol%C3%ADtica](/pt/docs/routing/) - [Resid%C3%AAncia e regi%C3%B5es](/pt/docs/residency/) - [Evid%C3%AAncia e verifica%C3%A7%C3%A3o](/pt/docs/evidence/) - [Compatibilidade com OpenAI](/pt/docs/openai-compat/) Operar - [Alojamento pr%C3%B3prio](/pt/docs/self-hosting/) # Documenta%C3%A7%C3%A3o Como chamar a API, o que o router faz com uma pol%C3%ADtica, que classes de resid%C3%AAncia existem, o que um trace regista %E2%80%94 e todos os c%C3%B3digos de erro, endpoints e limites, gerados a partir do c%C3%B3digo que os aplica. ## Come%C3%A7ar ### [In%C3%ADcio r%C3%A1pido](/pt/docs/quickstart/) 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](/pt/docs/console/) 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%C3%A7%C3%A3o](/pt/docs/migration/) 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%C3%AAncia da API](/pt/docs/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%C3%AAncia ### [Autentica%C3%A7%C3%A3o](/pt/docs/authentication/) 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](/pt/docs/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](/pt/docs/errors/) 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](/pt/docs/rate-limits/) 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](/pt/docs/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%C3%ADticas](/pt/docs/policies/) 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%C3%ADtica](/pt/docs/routing/) 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%C3%AAncia e regi%C3%B5es](/pt/docs/residency/) 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%C3%AAncia e verifica%C3%A7%C3%A3o](/pt/docs/evidence/) 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 OpenAI](/pt/docs/openai-compat/) The exact OpenAI compatibility contract: accepted request fields, the response shape, SSE streaming frames, and what is intentionally not supported. ## Operar ### [Alojamento pr%C3%B3prio](/pt/docs/self-hosting/) Running the stack yourself: Node 22, zero dependencies, SQLite, the operator CLI, the environment, backups and the mail transport.