Skip to main content

Overview

Support for xAI’s API, which offers access to X.com’s Grok model. Inference feature compatibility:
  • tool calling (supported)
  • native JSON object response_format (supported)
  • native JSON schema response_format (supported)
  • Instructor markdown-JSON fallback (fallback)

Example