LLM xAI
LLM xAI by FlowHunt lets you integrate xAI’s text generation models like Grok-beta into your chatbots and AI tools, with flexible settings for tokens, temperature, and model selection.

Component description
How the LLM xAI component works
What is the LLM xAI component?
The LLM xAI component connects the Grok model to your flow. While the Generators and Agents are where the actual magic happens, LLM components allow you to control the model used. All components come with ChatGPT-4 by default. You can connect this component if you wish to change the model or gain more control over it.

Remember that connecting an LLM Component is optional. All components that use an LLM come with ChatGPT-4o as the default. The LLM components allow you to change the model and control model settings.
LLM xAI Component Settings
Max Tokens
Tokens represent the individual units of text the model processes and generates. Token usage varies with models, and a single token can be anything from words or subwords to a single character. Models are usually priced in millions of tokens.
The max tokens setting limits the total number of tokens that can be processed in a single interaction or request, ensuring the responses are generated within reasonable bounds. The default limit is 4,000 tokens, which is the optimal size for summarizing documents and several sources to generate an answer.
Temperature
Temperature controls the variability of answers, ranging from 0 to 1.
A temperature of 0.1 will make the responses very to the point but potentially repetitive and deficient.
A high temperature of 1 allows for maximum creativity in answers but creates the risk of irrelevant or even hallucinatory responses.
For example, the recommended temperature for a customer service bot is between 0.2 and 0.5. This level should keep the answers relevant and to the script while allowing for a natural response variation.
Model
This is the model picker. Here, you’ll find all the supported models from the xAI provider. xAI’s flagship text model is called Grok. Currently, we only support the grok-beta model, as it is the only one that has been released for public API use.
Want to learn more about Grok-beta and see how it compares to other models? Check out this article.
How To Add The LLM xAI To Your Flow
You’ll notice that all LLM components only have an output handle. Input doesn’t pass through the component, as it only represents the model, while the actual generation happens in AI Agents and Generators.
The LLM handle is always purple. The LLM input handle is found on any component that uses AI to generate text or process data. You can see the options by clicking the handle:

This allows you to create all sorts of tools. Let’s see the component in action. Here’s a simple AI Agent chatbot Flow that’s using xAI’s grok-beta to generate responses. You can think of it as a basic xAI chatbot.
This simple Chatbot Flow includes:
- Chat input: Represents the message a user sends in chat.
- Chat history: Ensures the chatbot can remember and factor in past responses.
- Chat output: Represent the chatbot’s final response.
- AI Agent: An autonomous AI agent that generates responses.
- LLM xAI: The connection to xAI’s text generation models.

There are no examples of flow templates available at the moment using this component.
Frequently asked questions
- What is LLM xAI in FlowHunt?
LLM xAI is a FlowHunt component that allows you to connect and control xAI providers’ text generation models like Grok-beta within your AI flows and chatbots.
- Which xAI models does FlowHunt support?
Currently, FlowHunt supports the grok-beta model from xAI, with more models to be added as they become available for public API use.
- What settings can I control with the LLM xAI component?
You can adjust max tokens, temperature (response variability), and select from available xAI models to tailor your chatbot or AI tool’s behavior.
- Is connecting the LLM xAI component required for every chatbot?
No, it is optional. By default, components use ChatGPT-4o, but you can connect LLM xAI to switch to xAI models or gain more control.
- How do I add the LLM xAI component to my FlowHunt project?
Simply add the LLM component to your flow; it acts as the model selector. The actual text generation happens in AI agents and Generators connected to it.
Try FlowHunt’s LLM xAI Today
Start building smarter AI chatbots and tools with FlowHunt. Connect to top xAI models like Grok-beta in a flexible, no-code dashboard.