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

# Quickstart

> Get started with VoidAI in under 5 minutes

## Step 1: Get Your API Key

Sign up at [voidai.app](https://voidai.app) and create an API key from your dashboard. Your API key will look like this:

```
sk-voidai-xxxxxxxxxxxxxxxxxxxx
```

<Warning>
  Keep your API key secure and never share it publicly. If your key is compromised, regenerate it immediately from your dashboard.
</Warning>

## Step 2: Install the SDK

VoidAI is fully compatible with the OpenAI SDK. Install it for your preferred language:

<CodeGroup>
  ```bash Python theme={null}
  pip install openai
  ```

  ```bash Node.js theme={null}
  npm install openai
  ```

  ```bash Bun theme={null}
  bun add openai
  ```
</CodeGroup>

## Step 3: Make Your First Request

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

  # Initialize the client with VoidAI
  client = OpenAI(
      api_key="sk-voidai-your_key_here",
      base_url="https://api.voidai.app/v1"
  )

  # Create a chat completion
  response = client.chat.completions.create(
      model="gpt-5.1",
      messages=[
          {"role": "system", "content": "You are a helpful assistant."},
          {"role": "user", "content": "What is the capital of France?"}
      ]
  )

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

  ```typescript TypeScript theme={null}
  import OpenAI from 'openai';

  // Initialize the client with VoidAI
  const client = new OpenAI({
    apiKey: 'sk-voidai-your_key_here',
    baseURL: 'https://api.voidai.app/v1'
  });

  // Create a chat completion
  const response = await client.chat.completions.create({
    model: 'gpt-5.1',
    messages: [
      { role: 'system', content: 'You are a helpful assistant.' },
      { role: 'user', content: 'What is the capital of France?' }
    ]
  });

  console.log(response.choices[0].message.content);
  ```

  ```bash cURL theme={null}
  curl https://api.voidai.app/v1/chat/completions \
    -H "Authorization: Bearer sk-voidai-your_key_here" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "gpt-5.1",
      "messages": [
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "What is the capital of France?"}
      ]
    }'
  ```
</CodeGroup>

## Step 4: Try Different Models

VoidAI gives you access to models from multiple providers. Simply change the model name:

```python theme={null}
# OpenAI models
response = client.chat.completions.create(model="gpt-5.1", messages=[...])

# Anthropic models
response = client.chat.completions.create(model="claude-sonnet-4-5-20250929", messages=[...])

# Google models
response = client.chat.completions.create(model="gemini-3-pro-preview", messages=[...])

# VoidAI/Lumina models
response = client.chat.completions.create(model="lumina", messages=[...])
```

<Info>
  Use the [Models endpoint](/api-reference/models/list) to see all available models and their capabilities.
</Info>

## Next Steps

<CardGroup cols={2}>
  <Card title="Authentication" icon="key" href="/authentication">
    Learn more about API key management and security.
  </Card>

  <Card title="Using OpenAI SDK" icon="plug" href="/guides/openai-sdk">
    Full guide on using VoidAI with OpenAI SDKs.
  </Card>

  <Card title="Chat Completions" icon="message" href="/api-reference/chat/completions">
    Explore all chat completion features.
  </Card>

  <Card title="Error Handling" icon="triangle-exclamation" href="/guides/errors">
    Handle errors gracefully in your application.
  </Card>
</CardGroup>
