Creates a model response for the given chat conversation.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Model ID
grok-4-1-fast-reasoning "grok-4-1-fast-reasoning"
A list of messages comprising the conversation so far.
1[{ "role": "user", "content": "Hello!" }]
The maximum number of tokens to generate.
x >= 1Sampling temperature.
0 <= x <= 21
Nucleus sampling threshold.
0 <= x <= 1If true, stream partial message deltas using SSE.