Skip to main content
POST
Grok 4.6
grok-4.6 is xAI’s Grok 4.6 reasoning model. Send it OpenAI-compatible chat requests through SnapGen with one API key.

Price per 1M tokens

Confirm live rates on the models page before production rollout.
string
required
Set to grok-4.6.
array
required
Ordered system, user, and assistant messages.
boolean
default:"false"
Set to true to receive server-sent events. The final event carries token usage.
integer
Caps generated tokens.

Request (curl)

Streaming example:
Responses API example:
Read generated text from choices[0].message.content. See Chat Completions protocol for streaming and response fields.

Supported protocols

SnapGen forwards each protocol only to routes that serve it natively; it does not translate between protocols. Billing uses the input, output, and cached token counts the provider reports.