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

# Grok

> Use xAI's Grok models.

# Grok

Use xAI's Grok models.

## Setup

1. Get an API key at [console.x.ai](https://console.x.ai/)
2. In Pawz → **Settings → Providers** → **Add Provider** → **Grok**
3. Paste your API key

## Configuration

| Setting       | Default               |
| ------------- | --------------------- |
| Base URL      | `https://api.x.ai/v1` |
| API key       | Required              |
| Default model | —                     |

## Models

| Model         | Context | Best for                            |
| ------------- | ------- | ----------------------------------- |
| `grok-3`      | 131K    | Complex reasoning, analysis, coding |
| `grok-3-mini` | 131K    | Fast, affordable general use        |

## Prefix routing

Model names starting with `grok*` auto-route to the Grok provider.

## Tips

:::tip

* **Real-time knowledge** — Grok models have access to more recent training data. Useful for current events and trending topics.
* **Use `grok-3-mini` as a `worker_model`** — solid quality at lower cost for sub-agent tasks.
* Grok uses an OpenAI-compatible API, so it works through the standard `OpenAiProvider`.
  :::
