Skip to main content
Docs
Quickstart

Quickstart

Get started with Elyxir in 5 minutes. Create an account, generate an API key, and make your first request.

This guide gets you from zero to your first AI response in under 5 minutes.

Step 1: Create Your Account

  1. Go to studio.elyxir.ai
  2. Click Sign Up
  3. Enter your email address and create a password, or sign in with Google
  4. Verify your email address
  5. Complete the onboarding flow to set up your organization

Step 2: Generate an API Key

  1. From the Studio dashboard, navigate to Settings > API Keys
  2. Click Create API Key
  3. Give your key a descriptive name (e.g., "Development" or "Production")
  4. Copy your API key immediately - it's only shown once

Your API key looks like this: elyxir_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Step 3: Make Your First Request

Choose your preferred method:

curl -X POST https://api.elyxir.ai/v1/chat/completions \
  -H "Authorization: Bearer elyxir_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [
      {"role": "user", "content": "Hello! What can you help me with?"}
    ]
  }'

Step 4: Explore the Studio

Now that you've made your first API request, try the Studio chat interface:

  1. Go to your organization dashboard in Studio
  2. Click Studio in the navigation
  3. Type a message and press Enter
  4. Watch as Alvin automatically routes your request to the optimal model

Using OpenAI SDKs

Elyxir is OpenAI-compatible, so you can use the official OpenAI SDKs with minimal changes:

from openai import OpenAI
 
client = OpenAI(
    api_key="elyxir_your_api_key",
    base_url="https://api.elyxir.ai/v1"
)
 
response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
 
print(response.choices[0].message.content)

What's Next?

Quickstart | elyxir