Title: Rychl%C3%BD start LLM API: prvn%C3%AD vol%C3%A1n%C3%AD %E2%80%94 LLM EU Canonical: https://llmeu.com/cs/docs/quickstart/ Markdown mirror: https://llmeu.com/cs/docs/quickstart.md Machine-readable: https://llmeu.com/llms.txt (index) - https://llmeu.com/llms-full.txt (full catalogue) - https://llmeu.com/llms-catalogue.json Za%C4%8D%C3%ADn%C3%A1me - [Rychl%C3%BD start](/cs/docs/quickstart/) - [Konzole](/cs/docs/console/) - [Migrace](/cs/docs/migration/) - [API reference](/cs/docs/api/) Reference - [Autentizace](/cs/docs/authentication/) - [Endpointy](/cs/docs/endpoints/) - [Chyby](/cs/docs/errors/) - [Limity rychlosti](/cs/docs/rate-limits/) - [Streamov%C3%A1n%C3%AD](/cs/docs/streaming/) - [Politiky](/cs/docs/policies/) - [Sm%C4%9Brov%C3%A1n%C3%AD a politika](/cs/docs/routing/) - [Rezidence a oblasti](/cs/docs/residency/) - [D%C5%AFkazy a ov%C4%9B%C5%99ov%C3%A1n%C3%AD](/cs/docs/evidence/) - [Kompatibilita s OpenAI](/cs/docs/openai-compat/) Provoz - [Vlastn%C3%AD hostov%C3%A1n%C3%AD](/cs/docs/self-hosting/) # Rychl%C3%BD start - Create an account in the[console](https://app.llmeu.com/app/signup) and copy the API key %E2%80%94 it is shown once. - Point any OpenAI-compatible client at `https://api.llmeu.com/v1`. - Call `llmeu-auto` and read the `llmeu` block in the response. ## cURL ``` curl https://api.llmeu.com/v1/chat/completions \ -H "Authorization: Bearer $LLMEU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "llmeu-auto", "messages": [{"role": "user", "content": "Say hello from EU hosting."}], "llmeu": {"residency": "eu-hosted", "task": "general"} }' ``` ## Python ``` from openai import OpenAI client = OpenAI(base_url="https://api.llmeu.com/v1", api_key="llmeu_live_xxxxxxxx.your-secret") resp = client.chat.completions.create( model="llmeu-auto", messages=[{"role": "user", "content": "Say hello from EU hosting."}], ) print(resp.choices[0].message.content) print(resp.llmeu.inference_region, resp.llmeu.trace_id) ``` ## JavaScript ``` import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.llmeu.com/v1", apiKey: process.env.LLMEU_API_KEY }); const resp = await client.chat.completions.create({ model: "llmeu-auto", messages: [{ role: "user", content: "Say hello from EU hosting." }], }); console.log(resp.choices[0].message.content); console.log(resp.llmeu.inference_region); ``` ## API reference ## D%C5%AFkazy a ov%C4%9B%C5%99ov%C3%A1n%C3%AD Every response carries a `llmeu` block: `trace_id`, `model_used`, `inference_region`, `sovereignty_class`, `route_reason` and the retention that applied. Fetch the full row with `GET /platform/v1/traces/{id}`. Ceny se zaznamen%C3%A1vaj%C3%AD pro ka%C5%BEd%C3%BD endpoint a zobrazuj%C3%AD se za milion token%C5%AF. Model bez aktivn%C3%ADho endpointu je pouze v katalogu: nelze jej zde volat a nic se za n%C4%9Bj ne%C3%BA%C4%8Dtuje.