Grok xAI API? [GOT CREATED]

Has anyone got a node to work with the new xAI api? It’s supposed to be compatible with OpenAI/Anthropic - but am curious what is the easiest way to get this working.

إعجاب واحد (1)

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
إعجاب واحد (1)

Hey @Andrew_Krowczyk,

Welcome to the community :tada:

I am not sure if this is something our AI team has planned however I have moved this to feature requests so we can think about adding it in the future.

7 إعجابات

It would be amazing to get this connector. GROK has its unique strength to the other LLMs.

3 إعجابات

Grok is amazing! I hope the n8n team implements it soon.

3 إعجابات

I realized you can do it using the OpenAI Chat model since xAI provides a compatible interface. You just need to change the base url in the node configuration.

5 إعجابات

That is working, great!

إعجاب واحد (1)

Are you using the openAI node tool?
Version n8n 1.78 no longer has this option

إعجاب واحد (1)

it’s the n8n Open Chat Model node that you can attach to an agent, for example

إعجابَين (2)

Many thanks for the tip! it is indeed working fine via OpenAI Chat Model node. :sunglasses:

إعجابَين (2)

This has been added and is available from n8n@1.85.0

إعجاب واحد (1)