Grok 4.3 API

Grok 4.3: xAI model with a 1M-token context window

x-ai/grok-4.3
xAIConversation

About this model

Grok 4.3 is an earlier generation of xAI’s Grok line, released in spring 2026. xAI’s model page lists a context window of 1,000,000 tokens, with text and image input and text output.

Its main draw in this catalog is the long context: it is the Grok model here with the largest window (1,000,000 tokens, against 256,000 for 4.5 to 4.7). Choose 4.3 for very long inputs; choose Grok 4.5, 4.6 or 4.7 for xAI’s later coding and agentic improvements.

Limit: image input is supported; output is text only.

Use cases

  • Long documents and large codebases
  • Analysis of many files in one request
  • General chat and drafting

Input and output

Input
Text, images
Output
Text
Developer
xAI
Type
Conversation
Context
1,000,000 tokens
Capabilities
Image input

Grok 4.3 request example

Use https://gatelum.com/v1 as the base URL and pass x-ai/grok-4.3 in the model field. You create the key in your account after signing up.

curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/chat/completions' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "x-ai/grok-4.3",
  "messages": [
    {
      "role": "user",
      "content": "Hi! Tell me about yourself in two sentences."
    }
  ]
}
JSON
Claude Code and Anthropic-protocol clients

For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.

macOS / Linux
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=x-ai/grok-4.3
claude

Where to use Grok 4.3

Guides with step-by-step instructions for the tools that support this model: