Skip to main content
The xAI model provides access to xAI’s language models.

Parameters

grok-4-1-fast-non-reasoning-latest is retained here because it is the class default in the pinned source. xAI has retired this alias and redirects it to Grok 4.3. Use xAI(id="grok-4.3", reasoning_effort="none") for the equivalent current configuration.
xAI extends OpenAILike and accepts all of its parameters.