All models

grok-4 API

xAIChatReasoning
Get your API key

Quickstart

Try the API
API Key
Please obtain an API Key first