How To Add Grok-2 as Custom Provider

Just thought I'd share the Custom Provider settings I used to successfully make calls to the x.ai Grok-2 API. It's fairly straight forward, except for the model name part. it displays as a dropdown, but you actually have to type the name (copy+paste won't work, you have to type it) and press enter.... same as adding an Additional Scope variable:

3 Likes

Thanks for sharing how you solved this (and posting on the annoucement as well) :slightly_smiling_face:

For folks following along, we are tracking requests for a Grok Integration, but custom providers can solve for this in the meantime

1 Like