# Grok (https://inference.net/docs/integrations/grok)

`fast grok on` registers every Inference.net model as an `inference-<id>`
table in `~/.grok/config.toml`, backed by the gateway's chat-completions
endpoint, and points `[models].default` at the model you picked.

## Connect Grok

<ConnectAgent integration="grok" />

## Choose a model

Grok uses `kimi-k3-fast` unless you pick another ID from the
[model catalog](/models/):

```bash
fast grok on --model kimi-k3-fast
```

Run `on` again to change models. Restart Grok afterward.

## Check status

```bash
fast grok status
```

Shows the connection, model, and config path.

## Disconnect

```bash
fast grok off
```

Restores `config.toml` and `user-settings.json` from the backup taken by `on`,
so edits made after connecting are lost. If you had your own `apiKey` in
`user-settings.json` before connecting, it is restored; if the file only ever
held the Inference key, it is removed. Restart Grok afterward.

## Troubleshooting

- **Inference models are not listed in Grok** — restart Grok and check that
  `~/.grok/config.toml` has `inference-` model tables.
- **The reply still says it is Grok** — expected. Grok always prepends
  `You are Grok released by xAI`, but that does not mean requests go to xAI.
  After `fast grok on`, traffic uses the Fast model in `[models].default`;
  confirm the request in [Usage](/dashboard/usage/).
- **Requests return 401** — run `fast status`, then `fast grok on`.
- **Model rejected** — pick an ID from the [model catalog](/models/).