Grok 4.3 API

Call Grok 4.3 from xAI through Deftrouter's OpenAI-compatible endpoint: one key, the OpenAI SDK you already use, and usage tracked per key. Access is by request.

xAI's Grok for chat, coding, agentic tools, and lower hallucination risk.

Specifications

Provider xAI
Model ID grok-4.3
Context window 1,000,000 tokens
Maximum output 30,000 tokens
Input types text, image, PDF
Reasoning Yes
Tool calling Yes
Structured output Yes
Open weights No
Released April 17, 2026

Grok 4.3 API pricing

These are xAI's list prices as of November 30, 2026, in US dollars per 1 million tokens. Deftrouter confirms its own price by email when you request access.

Input
$1.25
per 1M tokens
Output
$2.50
per 1M tokens
Cached input
$0.20
per 1M tokens

For example, a request with 10,000 input tokens and 1,000 output tokens costs about $0.015 at list price.

Call Grok 4.3 with the OpenAI SDK

Point the OpenAI SDK at Deftrouter and set the model ID. The rest of your code stays the same.

quickstart.py
from openai import OpenAI

client = OpenAI(
    base_url="https://api.deftrouter.com/v1",
    api_key="YOUR_DEFTROUTER_KEY",
)

# Your Deftrouter key, sent to one endpoint for every model.
reply = client.chat.completions.create(
    model="grok-4.3",
    messages=[{"role": "user", "content": "Hello"}],
)

Request Grok 4.3 API access

Access is by request for now. Leave your email and the models you need, and we will email you when your key is ready.

Model names, or the kind of work: coding, reasoning, long documents.

We use these details only to set up your access and to contact you about it. See the privacy page.

Grok 4.3 API questions

How do I get Grok 4.3 API access?

Request it through Deftrouter: send the form on this page with your email, and we will email you when your key is ready. You then call Grok 4.3 with the OpenAI SDK by changing the base URL and the model ID.

How much does the Grok 4.3 API cost?

xAI lists Grok 4.3 at $1.25 per 1 million input tokens and $2.50 per 1 million output tokens as of November 30, 2026. Deftrouter confirms its own price by email when you request access.

What is the context window of Grok 4.3?

Grok 4.3 accepts up to 1,000,000 tokens of context and can return up to 30,000 tokens in a single response.

Does Grok 4.3 support tool calling and image input?

Grok 4.3 supports tool calling. It accepts images as input.

List price per 1 million tokens, in US dollars
Model Context window Input Output
Grok 4.7 500,000 $2.00 $6.00
Grok 4.6 500,000 $2.00 $6.00
Grok 4.5 500,000 $2.00 $6.00
Grok 4.20 (Non-Reasoning) 1,000,000 $1.25 $2.50
Grok 4.20 (Reasoning) 1,000,000 $1.25 $2.50
Grok 4.20 Multi-Agent 1,000,000 $1.25 $2.50

All xAI models · All models

Model data from models.dev, retrieved November 30, 2026. Limits and prices are set by the provider and can change. models.dev · xAI