> ## Documentation Index
> Fetch the complete documentation index at: https://docs.euri.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Get up and running with the EURI API in under 5 minutes.

## 1. Get your API key

1. Go to [euron.one/euri](https://euron.one/euri) and sign in (or create an account).
2. Navigate to **Billing & API Keys**.
3. Click **Create API Key** and copy the key.

<Warning>Keep your API key secret. Do not expose it in client-side code or public repositories.</Warning>

## 2. Make your first request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST https://api.euron.one/api/v1/euri/chat/completions \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer YOUR_EURI_API_KEY" \
    -d '{
      "model": "gpt-4o-mini",
      "messages": [
        {"role": "user", "content": "Say hello in 3 languages."}
      ],
      "max_tokens": 150
    }'
  ```

  ```python Python theme={null}
  from euriai import EuriaiClient

  client = EuriaiClient(api_key="YOUR_EURI_API_KEY")

  response = client.chat.completions.create(
      model="gpt-4o-mini",
      messages=[{"role": "user", "content": "Say hello in 3 languages."}],
      max_tokens=150
  )

  print(response.choices[0].message.content)
  ```

  ```javascript JavaScript theme={null}
  import { EuriClient } from 'euri';

  const client = new EuriClient({ apiKey: 'YOUR_EURI_API_KEY' });

  const response = await client.chat.completions.create({
    model: 'gpt-4o-mini',
    messages: [{ role: 'user', content: 'Say hello in 3 languages.' }],
    max_tokens: 150,
  });

  console.log(response.choices[0].message.content);
  ```
</CodeGroup>

## 3. Use with the OpenAI SDK

EURI is fully OpenAI-compatible. Just change the base URL:

<CodeGroup>
  ```python Python (OpenAI SDK) theme={null}
  from openai import OpenAI

  client = OpenAI(
      api_key="YOUR_EURI_API_KEY",
      base_url="https://api.euron.one/api/v1/euri"
  )

  response = client.chat.completions.create(
      model="gemini-2.5-flash",
      messages=[{"role": "user", "content": "Explain quantum computing simply."}]
  )

  print(response.choices[0].message.content)
  ```

  ```javascript JavaScript (OpenAI SDK) theme={null}
  import OpenAI from 'openai';

  const client = new OpenAI({
    apiKey: 'YOUR_EURI_API_KEY',
    baseURL: 'https://api.euron.one/api/v1/euri',
  });

  const response = await client.chat.completions.create({
    model: 'gemini-2.5-flash',
    messages: [{ role: 'user', content: 'Explain quantum computing simply.' }],
  });

  console.log(response.choices[0].message.content);
  ```
</CodeGroup>

## Next steps

* [Authentication](/authentication) — Header format and key management.
* [Models](/models) — Browse all 40+ models.
* [Chat Completions](/api-reference/chat-completions) — Full parameter reference.
