Skip to main content
Grok 4.3 is available through AnyFast at POST /v1/chat/completions. Use model ID grok-4.3.
The upstream xAI specification lists a 1,000,000-token context window, text and image input, and text output.

When to use Grok 4.3

  • Fast instruction following and tool-calling workflows
  • Long-document analysis with a large context window
  • Text and image understanding

Quick example

Image input

Send image URLs through the OpenAI-compatible multimodal message format:

Reasoning behavior

Set the top-level reasoning_effort field:

Core request fields

Response and streaming

For non-streaming requests, read the final answer from choices[0].message.content. For streaming requests, concatenate the text deltas received from the SSE stream. When reasoning is enabled, usage.completion_tokens_details.reasoning_tokens reports the reasoning-token count. These tokens are included in usage.total_tokens; the final answer remains in choices[0].message.content.
This page documents the core AnyFast Chat Completions interface. xAI-native Responses API features such as server-side web search, X search, code execution, conversation storage, and encrypted reasoning are not implied by this endpoint.

API Reference

View the Grok 4.3 request and response schema.
See the official Grok 4.3 model page for the upstream model specification.