x.ai Grok Configuration

Required Fields
API Key *
The API Key is required to authenticate your requests to x.ai services. How to obtain an API Key:- Log in to the x.ai Console
- Navigate to the API Keys section
- Click on “Create new key” or use an existing key
- Copy the generated API key
Model Name *
The Model Name field defines which x.ai Grok model you want to use with PipesHub. Available x.ai Grok models:grok-4-1-fast-reasoning- Grok 4.1 Fast (Reasoning): A frontier multimodal model optimized specifically for high-performance agentic tool calling with advanced reasoning capabilities.grok-4-1-fast-non-reasoning- Grok 4.1 Fast (Non-Reasoning): A frontier multimodal model optimized specifically for high-performance agentic tool calling without reasoning overhead.
- For tasks requiring complex reasoning and logical inference, select
grok-4-1-fast-reasoning - For faster responses and efficient tool calling without reasoning overhead, select
grok-4-1-fast-non-reasoning - Check x.ai’s model documentation for the most up-to-date options
Optional Fields
Context Length
Specify the maximum context window for your model. x.ai Grok models typically support large context windows for handling extensive conversations and documents. Context length examples:- Grok 4.1 Fast models: Check x.ai documentation for specific context window limits
Multimodal Support
x.ai Grok models support multimodal capabilities, enabling both text and image processing. Enable this option if you want to use image understanding features in your application.Reasoning
Enable this option if you’re using thegrok-4-1-fast-reasoning model. This allows for advanced reasoning capabilities and complex problem-solving. Note that the non-reasoning variant is optimized for speed without this overhead.
Configuration Steps
As shown in the image above:- Select “x.ai” as your Provider from the dropdown
- Enter your x.ai API Key in the designated field (marked with *)
- Specify your desired Model Name (marked with *)
- (Optional) Configure the Context Length for your use case
- (Optional) Enable Multimodal support if needed
- (Optional) Enable Reasoning if using the reasoning model variant
- Click “Add Model” to complete setup
Both the API Key and Model Name are required fields to successfully configure x.ai Grok integration. You must complete these fields to proceed with the setup.
Usage Considerations
- API usage will count against your x.ai API quota and billing
- Different models have different pricing - check x.ai’s pricing page for details
- Model capabilities vary - reasoning models provide deeper analysis but may have higher latency
- x.ai Grok provides:
- High-performance agentic tool calling capabilities
- Advanced reasoning for complex problem-solving (reasoning variant)
- Multimodal understanding (text and images)
- Optimized for fast responses and efficient workflows
- Frontier-class model performance
Troubleshooting
- If you encounter authentication errors, verify your API key is correct and has not expired
- Ensure your x.ai account has billing set up if you’re using paid service tiers
- Check that the model name is spelled correctly and available
- Verify that your API key has access to the specific model you’ve selected
- If you’re experiencing rate limits, check your API usage in the x.ai Console dashboard
- For multimodal features, ensure your model supports image inputs
- If using reasoning features, ensure you’ve selected the
grok-4-1-fast-reasoningmodel














