x-ai/grok-4.3

SpaceXAI: Grok 4.3

Context length
1000K
Input / 1M tokens
$1.25
Output / 1M tokens
$2.50
Released
2026-04-30
Modality
text+image+file->text

About SpaceXAI: Grok 4.3

Grok 4.3 is a reasoning model from SpaceXAI. It accepts text and image inputs with text output, and is suited for agentic workflows, instruction-following tasks, and applications requiring high factual...

Call SpaceXAI: Grok 4.3

Via OpenRouter: one base URL for every provider.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-4.3",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Direct on xAI (Grok):

curl https://api.x.ai/v1/chat/completions \
  -H "Authorization: Bearer $XAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.3",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

xAI (Grok) keys

OpenRouter keys

OpenRouter keys work for x-ai/grok-4.3 regardless of the upstream provider.