Setup
Basic Usage
Parameters
Live Search
xAI Grok models can search the web for real-time information:Streaming
Async Usage
xAI uses an OpenAI-compatible API with extensions for live search. Citations are returned in the response when search is enabled.