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

# Quick Start

> Get set up in 5 minutes and start calling models through ePhone AI.

## Step 1: Create an Account

Sign up at the [ePhone AI Console](https://platform.ephone.ai).

Once registered, you'll need these two configuration values:

| Variable   | Value                                   |
| ---------- | --------------------------------------- |
| `BASE_URL` | `https://api.ephone.ai`                 |
| `API_KEY`  | The API token you create in the console |

## Step 2: Create an API Key

Go to **Dashboard → API Tokens**, click "Add Token", and copy the generated key. Store it somewhere safe for future use.

## Step 3: Make Your First Request

Replace `API_KEY` with the token you just created. The `BASE_URL` is `https://api.ephone.ai`.

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

  client = OpenAI(
      base_url="https://api.ephone.ai/v1",
      api_key="API_KEY",
  )

  response = client.chat.completions.create(
      model="gpt-4o",
      messages=[{"role": "user", "content": "Hello!"}]
  )

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

  ```javascript Node.js theme={null}
  import OpenAI from "openai";

  const client = new OpenAI({
    baseURL: "https://api.ephone.ai/v1",
    apiKey: "API_KEY",
  });

  const response = await client.chat.completions.create({
    model: "gpt-4o",
    messages: [{ role: "user", content: "Hello!" }],
  });

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

  ```bash cURL theme={null}
  curl https://api.ephone.ai/v1/chat/completions \
    -H "Authorization: Bearer API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "gpt-4o",
      "messages": [{"role": "user", "content": "Hello!"}]
    }'
  ```
</CodeGroup>

## Using the Anthropic Protocol

If you're using Claude Code, Cursor, or any Anthropic SDK-based tool, use the Anthropic-compatible endpoint:

<CodeGroup>
  ```python Python theme={null}
  import anthropic

  client = anthropic.Anthropic(
      base_url="https://api.ephone.ai/anthropic",
      api_key="API_KEY",
  )

  message = client.messages.create(
      model="claude-opus-4-5-20251101",
      max_tokens=1024,
      messages=[{"role": "user", "content": "Hello!"}]
  )

  print(message.content[0].text)
  ```

  ```bash cURL theme={null}
  curl https://api.ephone.ai/anthropic/v1/messages \
    -H "x-api-key: API_KEY" \
    -H "anthropic-version: 2023-06-01" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "claude-opus-4-5-20251101",
      "max_tokens": 1024,
      "messages": [{"role": "user", "content": "Hello!"}]
    }'
  ```
</CodeGroup>

## What's Next

<Columns cols={2}>
  <Card title="Providers & Routing" icon="route" href="/docs/en/guides/provider" cta="Learn more">
    Configure provider routing — prioritize official direct connections or lower-cost channels
  </Card>

  <Card title="Levels & Groups" icon="users" href="/docs/en/guides/level-group" cta="Learn more">
    Understand user levels, group permissions, and discount tiers
  </Card>

  <Card title="Pricing" icon="coins" href="/docs/en/guides/pricing" cta="Learn more">
    Understand billing methods and the pricing model
  </Card>

  <Card title="Use Cases" icon="book-open" href="/docs/en/usercases/claudecode" cta="View examples">
    Setup guides for Claude Code, Cursor, and other tools
  </Card>
</Columns>
