Title: LLM-API dokumentaatio: p%C3%A4%C3%A4tepisteet ja rajat %E2%80%94 LLM EU Canonical: https://llmeu.com/fi/docs/ Markdown mirror: https://llmeu.com/fi/docs.md Machine-readable: https://llmeu.com/llms.txt (index) - https://llmeu.com/llms-full.txt (full catalogue) - https://llmeu.com/llms-catalogue.json Aloita - [Pika-aloitus](/fi/docs/quickstart/) - [Konsoli](/fi/docs/console/) - [Migraatio](/fi/docs/migration/) - [API-referenssi](/fi/docs/api/) Viite - [Todennus](/fi/docs/authentication/) - [P%C3%A4%C3%A4tepisteet](/fi/docs/endpoints/) - [Virheet](/fi/docs/errors/) - [Nopeusrajoitukset](/fi/docs/rate-limits/) - [Striimaus](/fi/docs/streaming/) - [K%C3%A4yt%C3%A4nn%C3%B6t](/fi/docs/policies/) - [Reititys ja k%C3%A4yt%C3%A4nt%C3%B6](/fi/docs/routing/) - [Sijainti ja alueet](/fi/docs/residency/) - [Todisteet ja varmennus](/fi/docs/evidence/) - [OpenAI-yhteensopivuus](/fi/docs/openai-compat/) K%C3%A4ytt%C3%B6 - [Itseis%C3%A4nn%C3%B6inti](/fi/docs/self-hosting/) # Dokumentaatio Miten APIa kutsutaan, mit%C3%A4 reititin tekee k%C3%A4yt%C3%A4nn%C3%B6ll%C3%A4, mit%C3%A4 sijaintiluokkia on olemassa, mit%C3%A4 j%C3%A4ljitys tallentaa %E2%80%94 sek%C3%A4 jokainen virhekoodi, p%C3%A4%C3%A4tepiste ja rajoitus, tuotettuna koodista, joka ne toteuttaa. ## Aloita ### [Pika-aloitus](/fi/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. ### [Konsoli](/fi/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. ### [Migraatio](/fi/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. ### [API-referenssi](/fi/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. ## Viite ### [Todennus](/fi/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. ### [P%C3%A4%C3%A4tepisteet](/fi/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. ### [Virheet](/fi/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. ### [Nopeusrajoitukset](/fi/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. ### [Striimaus](/fi/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. ### [K%C3%A4yt%C3%A4nn%C3%B6t](/fi/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. ### [Reititys ja k%C3%A4yt%C3%A4nt%C3%B6](/fi/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. ### [Sijainti ja alueet](/fi/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. ### [Todisteet ja varmennus](/fi/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. ### [OpenAI-yhteensopivuus](/fi/docs/openai-compat/) The exact OpenAI compatibility contract: accepted request fields, the response shape, SSE streaming frames, and what is intentionally not supported. ## K%C3%A4ytt%C3%B6 ### [Itseis%C3%A4nn%C3%B6inti](/fi/docs/self-hosting/) Running the stack yourself: Node 22, zero dependencies, SQLite, the operator CLI, the environment, backups and the mail transport.