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

# Artificial Analysis

> Independent benchmark catalog of AI models.

Independent benchmark catalog of AI models. Returns LLM scores (Intelligence Index, MMLU Pro, GPQA, LiveCodeBench, AIME), pricing, and speed metrics, plus Elo rankings for text-to-image, image-editing, text-to-speech, text-to-video, and image-to-video models. Use when an agent needs to compare models on quality, cost, or latency before picking one for a task.

6 endpoints available through Lava's AI Gateway. See the [Artificial Analysis API docs](https://artificialanalysis.ai/api-reference) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

## Endpoints

### List benchmarked LLMs with Intelligence Index, coding/math scores, pricing, and speed metrics

**GET** `https://artificialanalysis.ai/api/v2/data/llms/models` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://artificialanalysis.ai/api/v2/data/llms/models', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fartificialanalysis.ai%2Fapi%2Fv2%2Fdata%2Fllms%2Fmodels" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Elo rankings for text-to-image generation models

**GET** `https://artificialanalysis.ai/api/v2/data/media/text-to-image` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://artificialanalysis.ai/api/v2/data/media/text-to-image', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fartificialanalysis.ai%2Fapi%2Fv2%2Fdata%2Fmedia%2Ftext-to-image" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Elo rankings for image-editing models

**GET** `https://artificialanalysis.ai/api/v2/data/media/image-editing` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://artificialanalysis.ai/api/v2/data/media/image-editing', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fartificialanalysis.ai%2Fapi%2Fv2%2Fdata%2Fmedia%2Fimage-editing" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Elo rankings for text-to-speech models

**GET** `https://artificialanalysis.ai/api/v2/data/media/text-to-speech` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://artificialanalysis.ai/api/v2/data/media/text-to-speech', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fartificialanalysis.ai%2Fapi%2Fv2%2Fdata%2Fmedia%2Ftext-to-speech" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Elo rankings for text-to-video models. Pass ?include\_categories=true for per-category breakdowns.

**GET** `https://artificialanalysis.ai/api/v2/data/media/text-to-video?include_categories=true` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://artificialanalysis.ai/api/v2/data/media/text-to-video?include_categories=true', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fartificialanalysis.ai%2Fapi%2Fv2%2Fdata%2Fmedia%2Ftext-to-video%3Finclude_categories%3Dtrue" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Elo rankings for image-to-video models. Pass ?include\_categories=true for per-category breakdowns.

**GET** `https://artificialanalysis.ai/api/v2/data/media/image-to-video?include_categories=true` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://artificialanalysis.ai/api/v2/data/media/image-to-video?include_categories=true', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fartificialanalysis.ai%2Fapi%2Fv2%2Fdata%2Fmedia%2Fimage-to-video%3Finclude_categories%3Dtrue" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
