Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.enconvo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Overview

xAI, founded by Elon Musk, develops the Grok family of language models. Grok models are designed to be maximally helpful with real-time knowledge and a distinctive conversational style.

Supported Models

ModelDescriptionBest For
Grok-2Flagship model, strong reasoningComplex tasks, analysis
Grok-2-miniFaster, lightweight variantQuick responses, chat

Setup

1

Get API Key

  1. Go to xAI Console
  2. Sign in or create an account
  3. Navigate to API Keys
  4. Create a new API key
2

Configure in EnConvo

  1. Open SettingsAI Provider
  2. Select xAI
  3. Go to Credentials module
  4. Enter your API key
3

Select Model

Choose your preferred Grok model from the dropdown

Configuration

SettingDescriptionDefault
CredentialsAPI key configurationRequired
Model NameModel to useGrok-2
TemperatureCreativity (0-2)Medium (1)

Validate and Use

1

Validate credentials

Click Validate in the xAI credential settings. If validation fails, confirm the API key is active and your xAI account has billing or credits available.
2

Choose model size

Use the flagship Grok model for complex work and the mini model for quick responses or cost-sensitive chat.
3

Run a quick prompt

Test with a short prompt before using Grok inside agents or longer workflows.

Pricing

Check xAI Pricing for current rates.
ModelInputOutput
Grok-2$2/1M$10/1M
Grok-2-mini$0.30/1M$0.50/1M
xAI offers free API credits for new accounts, so you can try Grok models at no cost.

Best Practices

  • Grok-2: Use for complex reasoning, writing, and analysis tasks
  • Grok-2-mini: Use for quick chat, simple Q&A, and cost-sensitive workloads
Grok models are known for their direct, unfiltered communication style and strong performance on reasoning benchmarks. They are a solid choice for brainstorming and creative tasks.

Troubleshooting

  • Verify the key is copied correctly from console.x.ai
  • Check if the key has expired or been revoked
  • Ensure billing is set up on your xAI account
  • Free tier credits have usage limits
  • Upgrade your plan for higher throughput
  • Switch to Grok-2-mini for lighter tasks
  • Check your network connection
  • Verify the xAI API service is available
  • Try again after a few minutes