Haimaker.ai Logo
Xai logo

Grok 4.20 0309 Reasoning

xai/grok-4.20-0309-reasoning
Chat
Xai|
Function CallingVisionReasoningWeb Search

Grok 4.20 0309 Reasoning (xai/grok-4.20-0309-reasoning) is an AI model from Xai with a 2,000,000-token context window and 2,000,000 max output tokens, priced at $1.25/1M input and $2.50/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.

Context Window
2M
tokens
Max Output
2M
tokens
Input Price
$1.25
/1M tokens
Output Price
$2.50
/1M tokens

Overview

Grok 4.20 0309 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 Window2,000,000 tokens
Max Output2,000,000 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.20-0309-reasoning",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

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

Frequently Asked Questions

What is the context window of Grok 4.20 0309 Reasoning?

Grok 4.20 0309 Reasoning (xai/grok-4.20-0309-reasoning) has a 2,000,000-token context window and supports up to 2,000,000 output tokens per request.

How much does Grok 4.20 0309 Reasoning cost?

Grok 4.20 0309 Reasoning is priced at $1.25 per 1M input tokens and $2.50 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.

What features does Grok 4.20 0309 Reasoning support?

Grok 4.20 0309 Reasoning supports function calling, vision, reasoning, web search.

How do I use Grok 4.20 0309 Reasoning via API?

Send requests to https://api.haimaker.ai/v1/chat/completions with model "xai/grok-4.20-0309-reasoning" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.

Use Grok 4.20 0309 Reasoning with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Xai