Skip to main content

Overview

Support for xAI’s API, which offers access to X.com’s Grok model. Mode compatibility:
  • OutputMode::Tools (supported)
  • OutputMode::Json (supported)
  • OutputMode::JsonSchema (supported)
  • OutputMode::MdJson (fallback)

Example