Haimaker.ai Logo

Grok 4 1 Fast Reasoning

xai/grok-4-1-fast-reasoning
Chat
Xai|
Function CallingVisionReasoningWeb Search
Context Window
2M
tokens
Max Output
2M
tokens
Input Price
$0.20
/1M tokens
Output Price
$0.50
/1M tokens

Overview

Grok 4 1 Fast Reasoning is a chat model by Xai. It supports a 2M token context window. Supports function calling, vision, reasoning, web search.

Features & Capabilities

Modechat
Context Window2M tokens
Max Output2M tokens
Function CallingSupported
VisionSupported
ReasoningSupported
Web SearchSupported
Url Context-

API Usage

from openai import OpenAI

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

response = client.chat.completions.create(
    model="xai/grok-4-1-fast-reasoning",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

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

Use Grok 4 1 Fast Reasoning with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Xai