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

# Grok 4.1 Fast Non-Reasoning

> Grok 4.1 Fast Non-Reasoning by xAI via Anyfast OpenAI-compatible API. Grok 4.1 without reasoning.

Grok 4.1 Fast Non-Reasoning is available through Anyfast via an OpenAI-compatible interface. Grok 4.1 without reasoning.

## Key capabilities

* **OpenAI-compatible** — Works as a drop-in replacement with the OpenAI SDK
* **Streaming** — Supports real-time token streaming via SSE
* **Strong reasoning** — Designed for complex, multi-step tasks

## Quick example

<CodeGroup>
  ```bash cURL theme={null}
  curl https://www.anyfast.ai/v1/chat/completions \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "grok-4-1-fast-non-reasoning",
      "messages": [
        { "role": "user", "content": "Explain quantum entanglement in simple terms." }
      ]
    }'
  ```

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

  client = OpenAI(
      api_key="YOUR_API_KEY",
      base_url="https://www.anyfast.ai/v1"
  )

  response = client.chat.completions.create(
      model="grok-4-1-fast-non-reasoning",
      messages=[
          {"role": "user", "content": "Explain quantum entanglement in simple terms."}
      ]
  )

  print(response.choices[0].message.content)
  ```
</CodeGroup>

## Parameters

| Parameter     | Type    | Required | Description                                |
| ------------- | ------- | -------- | ------------------------------------------ |
| `model`       | string  | Yes      | Must be `grok-4-1-fast-non-reasoning`      |
| `messages`    | array   | Yes      | List of `{ role, content }` objects        |
| `max_tokens`  | integer | No       | Maximum tokens to generate                 |
| `temperature` | float   | No       | `0`–`2`. Controls randomness. Default: `1` |
| `stream`      | boolean | No       | Enable SSE streaming. Default: `false`     |
| `top_p`       | float   | No       | Nucleus sampling threshold                 |

<Card title="API Reference" icon="code" href="/api-reference/model-api/xai/grok-4-1-fast-non-reasoning">
  View the interactive API playground for Grok 4.1 Fast Non-Reasoning.
</Card>

<script src="/feedback.js" />
