Skip to main contentWebsite: https://x.ai/
Getting an API Key
- Go to xAI Console and sign in
- Navigate to API Keys section
- Create a new API key and name it (e.g., “CodinIT”)
- Copy the key immediately - you won’t see it again
Configuration
- Click the settings icon (⚙️) in CodinIT
- Select “xAI” as the API Provider
- Paste your API key
- Choose your model
Supported Models
Grok-3 Series (131K context):
grok-3-beta (Default)
grok-3-fast-beta
grok-3-mini-beta (Reasoning enabled)
grok-3-mini-fast-beta (Reasoning enabled)
Grok-2 Series (131K context):
grok-2-latest
grok-2
grok-2-1212
Vision Models:
grok-2-vision-latest (32K context)
grok-2-vision (32K context)
grok-vision-beta (8K context)
Reasoning Capabilities
Available on grok-3-mini-beta and grok-3-mini-fast-beta:
- Step-by-step problem solving: Methodical thinking process
- Reasoning effort control: Set
low for quick responses or high for complex problems
- Reasoning trace access: View the model’s thinking process
Notes
- Context window: Up to 131K tokens for most models
- Vision support: Available on select models
- Pricing: Varies by model, see xAI documentation