Haimaker.ai Logo
xAI logo

Grok 4 Fast:Free

x-ai/grok-4-fast:free
Chat
xAI|
Function CallingReasoning
Context Window
2M
tokens
Max Output
30K
tokens
Input Price
Free
/1M tokens
Output Price
Free
/1M tokens

Overview

xAI's Grok, a large language model with real-time knowledge, reasoning, and function calling capabilities.

Features & Capabilities

Modechat
Context Window2M tokens
Max Output30K tokens
Function CallingSupported
Vision-
ReasoningSupported
Web Search-
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="x-ai/grok-4-fast:free",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

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

Use Grok 4 Fast:Free with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from xAI