@Emmanuel, @matjaz with the release of Xai (grok), I thought I would test it out.
The docs say the endpoint is compatible with the OpenAI API.
Early days of playing with it, but I get the occasional error (not supporting function calls), so I am not sure about the End Point I have defined. I am certain it is wrong, I played with some of the other end points.